From mboxrd@z Thu Jan 1 00:00:00 1970 From: dk-arm-linux@gmx.de (Dieter Kiermaier) Date: Thu, 12 Nov 2009 08:42:55 +0100 Subject: [PATCH] ARM: enable PCI bridges after assigning resources (was orion/kirkwood pcie issue still open with 2.6.32-rc6 (marvell stock 2.6.22.18 works!)) In-Reply-To: <20091112083126.2440aabd@marrow.netinsight.se> References: <200911090933.46240.dk-arm-linux@gmx.de> <200911120823.46427.dk-arm-linux@gmx.de> <20091112083126.2440aabd@marrow.netinsight.se> Message-ID: <200911120842.55533.dk-arm-linux@gmx.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Am Donnerstag 12 November 2009 08:31:26 schrieb Simon Kagstrom: > On Thu, 12 Nov 2009 08:23:44 +0100 > Dieter Kiermaier wrote: > > > > When kernel is doing PCI resource assignment on ARM, nothing ever > > > enables PCI bridges, preventing any device behind them from working. The > > > following patch fixes this. > > > > You hit it :) > > With your patch my FPGA works behind the bridge together with the marvell git u-boot. > > > > To see things clear: > > Is it possible that the marvell stock u-boot enables all devices before it starts the kernel > > and that's the reason why it worked if I booted the kernel from stock u-boot and it didn't > > work with the git u-boot? > > The upstream (I suppose this is what you mean with "git"!) U-boot > doesn't touch the PCIe configuration at all as far as I know, but > probably the old Marvell U-boot does, and I guess that's the difference > we're seeing here. > Yes i meant upstream u-boot (u-boot-marvell tree from denx git repository). > Anyway, if U-boot isn't using PCIe, it shouldn't touch it, so it's good > to get the fixes into the kernel. Yes. IMHO, too. > > // Simon >