Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
200884c5
Commit
200884c5
authored
Apr 05, 2004
by
Tom Rini
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
16fe57cb
ec6527c4
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
75 additions
and
21 deletions
+75
-21
arch/ppc/Kconfig
arch/ppc/Kconfig
+6
-1
arch/ppc/boot/images/Makefile
arch/ppc/boot/images/Makefile
+1
-1
arch/ppc/boot/openfirmware/Makefile
arch/ppc/boot/openfirmware/Makefile
+1
-1
arch/ppc/boot/simple/misc-embedded.c
arch/ppc/boot/simple/misc-embedded.c
+0
-1
arch/ppc/boot/simple/misc.c
arch/ppc/boot/simple/misc.c
+0
-1
arch/ppc/kernel/cputable.c
arch/ppc/kernel/cputable.c
+44
-1
arch/ppc/kernel/process.c
arch/ppc/kernel/process.c
+12
-2
arch/ppc/mm/hashtable.S
arch/ppc/mm/hashtable.S
+2
-2
arch/ppc/mm/ppc_mmu.c
arch/ppc/mm/ppc_mmu.c
+3
-3
arch/ppc/syslib/Makefile
arch/ppc/syslib/Makefile
+5
-8
include/asm-ppc/cputable.h
include/asm-ppc/cputable.h
+1
-0
No files found.
arch/ppc/Kconfig
View file @
200884c5
...
...
@@ -627,9 +627,14 @@ config EPIC_SERIAL_MODE
depends on 6xx && (LOPEC || SANDPOINT)
default y
config MPC10X_BRIDGE
bool
depends on PCORE || POWERPMC250 || LOPEC || SANDPOINT
default y
config MPC10X_STORE_GATHERING
bool "Enable MPC10x store gathering"
depends on
FORCE || SANDPOINT
depends on
MPC10X_BRIDGE
config CPC710_DATA_GATHERING
bool "Enable CPC710 data gathering"
...
...
arch/ppc/boot/images/Makefile
View file @
200884c5
...
...
@@ -13,7 +13,7 @@ $(obj)/vmlinux.bin: vmlinux FORCE
$(obj)/vmlinux.gz
:
$(obj)/vmlinux.bin FORCE
$(
call
if_changed,gzip
)
qui
te_cmd_uimage
=
UIMAGE
$@
qui
et_cmd_uimage
=
UIMAGE
$@
cmd_uimage
=
$(CONFIG_SHELL)
$(MKIMAGE)
-A
ppc
-O
linux
-T
kernel
\
-C
gzip
-a
00000000
-e
00000000
-n
'Linux-
$(KERNELRELEASE)
'
\
-d
$<
$@
...
...
arch/ppc/boot/openfirmware/Makefile
View file @
200884c5
...
...
@@ -75,7 +75,7 @@ $(obj)/image.initrd.o: $(obj)/image.o $(images)/ramdisk.image.gz FORCE
$(
call
if_changed,genimage-initrd
)
# Create the note section for New-World PowerMacs.
qui
t_cmd_mknote
=
MKNOTE
$@
qui
et_cmd_mknote
=
MKNOTE
$@
cmd_mknote
=
$(utils)
/mknote
>
$@
targets
+=
note
$(obj)/note
:
$(utils)/mknote FORCE
...
...
arch/ppc/boot/simple/misc-embedded.c
View file @
200884c5
...
...
@@ -8,7 +8,6 @@
#include <linux/config.h>
#include <linux/types.h>
#include <linux/elf.h>
#include <linux/string.h>
#include <asm/bootinfo.h>
#include <asm/mmu.h>
...
...
arch/ppc/boot/simple/misc.c
View file @
200884c5
...
...
@@ -17,7 +17,6 @@
*/
#include <linux/types.h>
#include <linux/elf.h>
#include <linux/config.h>
#include <linux/string.h>
...
...
arch/ppc/kernel/cputable.c
View file @
200884c5
This diff is collapsed.
Click to expand it.
arch/ppc/kernel/process.c
View file @
200884c5
...
...
@@ -273,8 +273,8 @@ void show_regs(struct pt_regs * regs)
trap
=
TRAP
(
regs
);
if
(
trap
==
0x300
||
trap
==
0x600
)
printk
(
"DAR: %08lX, DSISR: %08lX
\n
"
,
regs
->
dar
,
regs
->
dsisr
);
printk
(
"TASK = %p[%d] '%s' "
,
current
,
current
->
pid
,
current
->
comm
);
printk
(
"TASK = %p[%d] '%s'
THREAD: %p
"
,
current
,
current
->
pid
,
current
->
comm
,
current
->
thread_info
);
printk
(
"Last syscall: %ld "
,
current
->
thread
.
last_syscall
);
#if defined(CONFIG_4xx) && defined(DCRN_PLB0_BEAR)
...
...
@@ -303,6 +303,16 @@ void show_regs(struct pt_regs * regs)
break
;
}
printk
(
"
\n
"
);
#ifdef CONFIG_KALLSYMS
/*
* Lookup NIP late so we have the best change of getting the
* above info out without failing
*/
printk
(
"NIP [%08lx] "
,
regs
->
nip
);
print_symbol
(
"%s
\n
"
,
regs
->
nip
);
printk
(
"LR [%08lx] "
,
regs
->
link
);
print_symbol
(
"%s
\n
"
,
regs
->
link
);
#endif
show_stack
(
current
,
(
unsigned
long
*
)
regs
->
gpr
[
1
]);
}
...
...
arch/ppc/mm/hashtable.S
View file @
200884c5
...
...
@@ -346,9 +346,9 @@ _GLOBAL(create_hpte)
rlwimi
r5
,
r5
,
32
-
2
,
31
,
31
/*
_PAGE_USER
->
PP
lsb
*/
ori
r8
,
r8
,
0xe14
/*
clear
out
reserved
bits
and
M
*/
andc
r8
,
r5
,
r8
/*
PP
=
user
?
(
rw
&d
irty
?
2
:
3
)
:
0
*/
#ifdef CONFIG_SMP
BEGIN_FTR_SECTION
ori
r8
,
r8
,
_PAGE_COHERENT
/*
set
M
(
coherence
required
)
*/
#endif
END_FTR_SECTION_IFSET
(
CPU_FTR_NEED_COHERENT
)
/
*
Construct
the
high
word
of
the
PPC
-
style
PTE
(
r5
)
*/
#ifndef CONFIG_PPC64BRIDGE
...
...
arch/ppc/mm/ppc_mmu.c
View file @
200884c5
...
...
@@ -137,10 +137,10 @@ void __init setbat(int index, unsigned long virt, unsigned long phys,
int
wimgxpp
;
union
ubat
*
bat
=
BATS
[
index
];
#ifdef CONFIG_SMP
if
((
flags
&
_PAGE_NO_CACHE
)
==
0
)
if
(((
flags
&
_PAGE_NO_CACHE
)
==
0
)
&&
(
cur_cpu_spec
[
0
]
->
cpu_features
&
CPU_FTR_NEED_COHERENT
)
)
flags
|=
_PAGE_COHERENT
;
#endif
bl
=
(
size
>>
17
)
-
1
;
if
(
PVR_VER
(
mfspr
(
PVR
))
!=
1
)
{
/* 603, 604, etc. */
...
...
arch/ppc/syslib/Makefile
View file @
200884c5
...
...
@@ -42,8 +42,7 @@ obj-$(CONFIG_EV64260) += gt64260_common.o gt64260_pic.o \
obj-$(CONFIG_GEMINI)
+=
open_pic.o i8259.o indirect_pci.o
obj-$(CONFIG_K2)
+=
i8259.o indirect_pci.o todc_time.o
\
pci_auto.o
obj-$(CONFIG_LOPEC)
+=
mpc10x_common.o indirect_pci.o pci_auto.o
\
open_pic.o i8259.o todc_time.o
obj-$(CONFIG_LOPEC)
+=
pci_auto.o open_pic.o i8259.o todc_time.o
obj-$(CONFIG_MCPN765)
+=
todc_time.o indirect_pci.o pci_auto.o
\
open_pic.o i8259.o hawk_common.o
obj-$(CONFIG_MENF1)
+=
todc_time.o i8259.o mpc10x_common.o
\
...
...
@@ -52,18 +51,15 @@ obj-$(CONFIG_MVME5100) += open_pic.o todc_time.o indirect_pci.o \
i8259.o pci_auto.o hawk_common.o
obj-$(CONFIG_OCOTEA)
+=
indirect_pci.o pci_auto.o todc_time.o
obj-$(CONFIG_PAL4)
+=
cpc700_pic.o
obj-$(CONFIG_PCORE)
+=
mpc10x_common.o todc_time.o i8259.o
\
indirect_pci.o pci_auto.o
obj-$(CONFIG_POWERPMC250)
+=
open_pic.o mpc10x_common.o
\
indirect_pci.o pci_auto.o
obj-$(CONFIG_PCORE)
+=
todc_time.o i8259.o pci_auto.o
obj-$(CONFIG_POWERPMC250)
+=
open_pic.o pci_auto.o
obj-$(CONFIG_PPLUS)
+=
hawk_common.o open_pic.o i8259.o
\
indirect_pci.o todc_time.o pci_auto.o
obj-$(CONFIG_PRPMC750)
+=
open_pic.o indirect_pci.o pci_auto.o
\
hawk_common.o
obj-$(CONFIG_PRPMC800)
+=
open_pic.o indirect_pci.o pci_auto.o
\
hawk_common.o harrier.o
obj-$(CONFIG_SANDPOINT)
+=
i8259.o open_pic.o mpc10x_common.o
\
pci_auto.o indirect_pci.o todc_time.o
obj-$(CONFIG_SANDPOINT)
+=
i8259.o open_pic.o pci_auto.o todc_time.o
obj-$(CONFIG_SPRUCE)
+=
cpc700_pic.o indirect_pci.o pci_auto.o
\
todc_time.o
obj-$(CONFIG_8260)
+=
m8260_setup.o ppc8260_pic.o
...
...
@@ -72,3 +68,4 @@ obj-$(CONFIG_KGDB) += gen550_kgdb.o gen550_dbg.o
obj-$(CONFIG_SERIAL_TEXT_DEBUG)
+=
gen550_dbg.o
endif
obj-$(CONFIG_BOOTX_TEXT)
+=
btext.o
obj-$(CONFIG_MPC10X_BRIDGE)
+=
mpc10x_common.o indirect_pci.o
include/asm-ppc/cputable.h
View file @
200884c5
...
...
@@ -75,6 +75,7 @@ extern struct cpu_spec *cur_cpu_spec[];
#define CPU_FTR_DUAL_PLL_750FX 0x00004000
#define CPU_FTR_NO_DPM 0x00008000
#define CPU_FTR_HAS_HIGH_BATS 0x00010000
#define CPU_FTR_NEED_COHERENT 0x00020000
#ifdef __ASSEMBLY__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment