[PATCH 3/3] ARM: footbridge: restore allocation of CSR I/O resource

Russell King - ARM Linux admin linux at armlinux.org.uk
Fri Mar 26 13:40:19 GMT 2021


On Fri, Mar 26, 2021 at 02:37:39PM +0100, Arnd Bergmann wrote:
> On Fri, Mar 26, 2021 at 1:18 PM Russell King <rmk+kernel at armlinux.org.uk> wrote:
> >
> > Commit 8ef6e6201b2 ("ARM: footbridge: use fixed PCI i/o mapping") made
> > two changes: it contains what it says in the summary line, but it also
> > removes the CSR I/O allocation, which effectively means the DC21285
> > responds to I/O accesses at address 0..0x7f, which overlap Southbridge
> > ISA resources on the same PCI bus.
> >
> > This commit fixes it, but depends on the previous two commits removing
> > the bus level PCI I/O resource:
> >   ARM: footbridge: avoid using separate PCI I/O bus resource
> >   ARM: pci: make bus I/O resources optional
> >
> > Fixes: 8ef6e6201b2 ("ARM: footbridge: use fixed PCI i/o mapping")
> > Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>
> 
> Reviewed-by: Arnd Bergmann <arnd at arndb.de>
> 
> This fix is needed regardless of which way the first patch fixes the
> bus resource.

This fix is dependent on the first patch as I said above - otherwise
the allocation will fail.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list