Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
46b28357
Commit
46b28357
authored
Jul 26, 2007
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes-2.6.23' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into merge
parents
9d78592e
14170789
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
48 additions
and
11 deletions
+48
-11
arch/powerpc/Kconfig.debug
arch/powerpc/Kconfig.debug
+1
-1
arch/powerpc/boot/dts/mpc7448hpc2.dts
arch/powerpc/boot/dts/mpc7448hpc2.dts
+1
-1
arch/powerpc/boot/dts/mpc8544ds.dts
arch/powerpc/boot/dts/mpc8544ds.dts
+8
-0
arch/powerpc/boot/dts/mpc8568mds.dts
arch/powerpc/boot/dts/mpc8568mds.dts
+6
-0
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/irq.c
+4
-4
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/pci-common.c
+1
-1
arch/powerpc/kernel/pci_32.c
arch/powerpc/kernel/pci_32.c
+19
-1
arch/powerpc/kernel/process.c
arch/powerpc/kernel/process.c
+4
-0
arch/powerpc/kernel/udbg.c
arch/powerpc/kernel/udbg.c
+1
-1
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/fsl_pci.c
+2
-2
arch/powerpc/sysdev/indirect_pci.c
arch/powerpc/sysdev/indirect_pci.c
+1
-0
No files found.
arch/powerpc/Kconfig.debug
View file @
46b28357
...
...
@@ -134,7 +134,7 @@ config BDI_SWITCH
config BOOTX_TEXT
bool "Support for early boot text console (BootX or OpenFirmware only)"
depends PPC_OF
depends PPC_OF
&& PPC_MULTIPLATFORM
help
Say Y here to see progress messages from the boot firmware in text
mode. Requires either BootX or Open Firmware.
...
...
arch/powerpc/boot/dts/mpc7448hpc2.dts
View file @
46b28357
...
...
@@ -45,7 +45,7 @@
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
#
interrupt
-
cells
=
<
2
>;
device_type
=
"tsi
108
-bridge"
;
device_type
=
"tsi-bridge"
;
ranges
=
<
00000000
c0000000
00010000
>;
reg
=
<
c0000000
00010000
>;
bus
-
frequency
=
<
0
>;
...
...
arch/powerpc/boot/dts/mpc8544ds.dts
View file @
46b28357
...
...
@@ -104,6 +104,7 @@
interrupts
=
<
1
d
2
1
e
2
22
2
>;
interrupt
-
parent
=
<&
mpic
>;
phy
-
handle
=
<&
phy0
>;
phy
-
connection
-
type
=
"rgmii-id"
;
};
ethernet
@
26000
{
...
...
@@ -117,6 +118,7 @@
interrupts
=
<
1f
2
20
2
21
2
>;
interrupt
-
parent
=
<&
mpic
>;
phy
-
handle
=
<&
phy1
>;
phy
-
connection
-
type
=
"rgmii-id"
;
};
serial
@
4500
{
...
...
@@ -348,6 +350,12 @@
};
global
-
utilities
@
e0000
{
//
global
utilities
block
compatible
=
"fsl,mpc8548-guts"
;
reg
=
<
e0000
1000
>;
fsl
,
has
-
rstcr
;
};
mpic
:
pic
@
40000
{
clock
-
frequency
=
<
0
>;
interrupt
-
controller
;
...
...
arch/powerpc/boot/dts/mpc8568mds.dts
View file @
46b28357
...
...
@@ -170,6 +170,12 @@
interrupt
-
parent
=
<&
mpic
>;
};
global
-
utilities
@
e0000
{
//
global
utilities
block
compatible
=
"fsl,mpc8548-guts"
;
reg
=
<
e0000
1000
>;
fsl
,
has
-
rstcr
;
};
pci
@
8000
{
interrupt
-
map
-
mask
=
<
f800
0
0
7
>;
interrupt
-
map
=
<
...
...
arch/powerpc/kernel/irq.c
View file @
46b28357
...
...
@@ -418,7 +418,7 @@ irq_hw_number_t virq_to_hw(unsigned int virq)
}
EXPORT_SYMBOL_GPL
(
virq_to_hw
);
struct
irq_host
*
irq_alloc_host
(
unsigned
int
revmap_type
,
__init_refok
struct
irq_host
*
irq_alloc_host
(
unsigned
int
revmap_type
,
unsigned
int
revmap_arg
,
struct
irq_host_ops
*
ops
,
irq_hw_number_t
inval_irq
)
...
...
arch/powerpc/kernel/pci-common.c
View file @
46b28357
...
...
@@ -65,7 +65,7 @@ static void __devinit pci_setup_pci_controller(struct pci_controller *hose)
spin_unlock
(
&
hose_spinlock
);
}
struct
pci_controller
*
pcibios_alloc_controller
(
struct
device_node
*
dev
)
__init_refok
struct
pci_controller
*
pcibios_alloc_controller
(
struct
device_node
*
dev
)
{
struct
pci_controller
*
phb
;
...
...
arch/powerpc/kernel/pci_32.c
View file @
46b28357
...
...
@@ -59,6 +59,24 @@ LIST_HEAD(hose_list);
static
int
pci_bus_count
;
static
void
fixup_hide_host_resource_fsl
(
struct
pci_dev
*
dev
)
{
int
i
,
class
=
dev
->
class
>>
8
;
if
((
class
==
PCI_CLASS_PROCESSOR_POWERPC
)
&&
(
dev
->
hdr_type
==
PCI_HEADER_TYPE_NORMAL
)
&&
(
dev
->
bus
->
parent
==
NULL
))
{
for
(
i
=
0
;
i
<
DEVICE_COUNT_RESOURCE
;
i
++
)
{
dev
->
resource
[
i
].
start
=
0
;
dev
->
resource
[
i
].
end
=
0
;
dev
->
resource
[
i
].
flags
=
0
;
}
}
}
DECLARE_PCI_FIXUP_HEADER
(
PCI_VENDOR_ID_MOTOROLA
,
PCI_ANY_ID
,
fixup_hide_host_resource_fsl
);
DECLARE_PCI_FIXUP_HEADER
(
PCI_VENDOR_ID_FREESCALE
,
PCI_ANY_ID
,
fixup_hide_host_resource_fsl
);
static
void
fixup_broken_pcnet32
(
struct
pci_dev
*
dev
)
{
...
...
@@ -1229,7 +1247,7 @@ pcibios_init(void)
subsys_initcall
(
pcibios_init
);
void
__init
pcibios_fixup_bus
(
struct
pci_bus
*
bus
)
void
pcibios_fixup_bus
(
struct
pci_bus
*
bus
)
{
struct
pci_controller
*
hose
=
(
struct
pci_controller
*
)
bus
->
sysdata
;
unsigned
long
io_offset
;
...
...
arch/powerpc/kernel/process.c
View file @
46b28357
...
...
@@ -423,7 +423,11 @@ void show_regs(struct pt_regs * regs)
printk
(
" CR: %08lx XER: %08lx
\n
"
,
regs
->
ccr
,
regs
->
xer
);
trap
=
TRAP
(
regs
);
if
(
trap
==
0x300
||
trap
==
0x600
)
#if defined(CONFIG_4xx) || defined(CONFIG_BOOKE)
printk
(
"DEAR: "
REG
", ESR: "
REG
"
\n
"
,
regs
->
dar
,
regs
->
dsisr
);
#else
printk
(
"DAR: "
REG
", DSISR: "
REG
"
\n
"
,
regs
->
dar
,
regs
->
dsisr
);
#endif
printk
(
"TASK = %p[%d] '%s' THREAD: %p"
,
current
,
current
->
pid
,
current
->
comm
,
task_thread_info
(
current
));
...
...
arch/powerpc/kernel/udbg.c
View file @
46b28357
...
...
@@ -155,7 +155,7 @@ static int early_console_initialized;
* Called by setup_system after ppc_md->probe and ppc_md->early_init.
* Call it again after setting udbg_putc in ppc_md->setup_arch.
*/
void
register_early_udbg_console
(
void
)
void
__init
register_early_udbg_console
(
void
)
{
if
(
early_console_initialized
)
return
;
...
...
arch/powerpc/sysdev/fsl_pci.c
View file @
46b28357
...
...
@@ -107,7 +107,7 @@ void __init setup_pci_cmd(struct pci_controller *hose)
}
}
static
void
__
dev
init
quirk_fsl_pcie_transparent
(
struct
pci_dev
*
dev
)
static
void
__init
quirk_fsl_pcie_transparent
(
struct
pci_dev
*
dev
)
{
struct
resource
*
res
;
int
i
,
res_idx
=
PCI_BRIDGE_RESOURCES
;
...
...
@@ -216,7 +216,7 @@ int __init fsl_add_bridge(struct device_node *dev, int is_primary)
/* check PCI express link status */
if
(
early_find_capability
(
hose
,
0
,
0
,
PCI_CAP_ID_EXP
))
{
hose
->
indirect_type
=
PPC_INDIRECT_TYPE_EXT_REG
|
hose
->
indirect_type
|
=
PPC_INDIRECT_TYPE_EXT_REG
|
PPC_INDIRECT_TYPE_SURPRESS_PRIMARY_BUS
;
if
(
fsl_pcie_check_link
(
hose
))
hose
->
indirect_type
|=
PPC_INDIRECT_TYPE_NO_PCIE_LINK
;
...
...
arch/powerpc/sysdev/indirect_pci.c
View file @
46b28357
...
...
@@ -160,4 +160,5 @@ setup_indirect_pci(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data, u32
mbase
=
ioremap
(
cfg_data
&
PAGE_MASK
,
PAGE_SIZE
);
hose
->
cfg_data
=
mbase
+
(
cfg_data
&
~
PAGE_MASK
);
hose
->
ops
=
&
indirect_pci_ops
;
hose
->
indirect_type
=
flags
;
}
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