android_kernel_xiaomi_sm8350/arch/arm/configs
Lennert Buytenhek 53e173f62c [PATCH] ARM: 2660/2: fix ixdp2800 boot and pci init
Patch from Lennert Buytenhek

The IXDP2800 is an evalution platform for the IXP2800 processor that
has two IXP2800s connected to the same PCI bus.  This is problematic
as both CPUs will try to configure the PCI bus as they boot linux.
Contrary to on the other IXP2000 platforms, the boot loader on the
IXDP2800 doesn't configure the PCI bus properly, so we do want the
linux instance on one of the CPUs to do that.
Making one of the CPUs ignore the PCI bus (and thus act like a pure
PCI slave device) is not an option because there is a 82559 NIC on
the PCI bus for each of the CPUs.
The chosen solution is to have the master CPU configure the PCI bus
while the slave is kept in a quiescent state, and then to have the
slave CPU scan the PCI bus (without assigning resources) while the
master is kept in a quiescent state.  After this ritual, the master
deletes the slave NIC from its PCI device list, the slave deletes
the master NIC from its device list, and (almost) all is well.
There's still one little problem: each of the CPUs has a 1G SDRAM
BAR, but the IXP2000 only has 512M of outbound PCI memory window.
We solve this by hand-assigning the master and slave SDRAM BARs to
a location outside each of the IXP's outbound PCI windows, and by
having the rest of the BARs autoconfigured in the outbound PCI
windows, in the range [e0000000..ffffffff], so that there is a 1:1
pci:phys mapping between them.
Even with this patch, a number of issues still remain -- just imagine
what happens if one of the CPUs is rebooted, by watchdog or by hand,
but the other one isn't.  But those issues are not easily fixable
given the strange PCI layout of this board and the behavior of the
boot loader shipped with the platform.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-04-29 22:13:57 +01:00
..
assabet_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
badge4_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bast_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cerfcube_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clps7500_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ebsa110_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
edb7211_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
enp2611_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ep80219_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
epxa10db_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
footbridge_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fortunet_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
h3600_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
h7201_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
h7202_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hackkit_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
integrator_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq31244_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80321_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80331_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80332_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixdp2400_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixdp2401_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixdp2800_defconfig [PATCH] ARM: 2660/2: fix ixdp2800 boot and pci init 2005-04-29 22:13:57 +01:00
ixdp2801_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixp4xx_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jornada720_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lart_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lpd7a400_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lpd7a404_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lubbock_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lusl7200_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mainstone_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mx1ads_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neponset_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netwinder_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
omap_h2_1610_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
omnimeter_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pleb_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pxa255-idp_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpc_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s3c2410_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shannon_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shark_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simpad_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smdk2410_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
versatile_defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00