[PATCH v3 2/3] ARM: bios32: use pci_enable_resource to enable PCI resources

Will Deacon will.deacon at arm.com
Tue Feb 18 14:10:50 EST 2014


On Tue, Feb 18, 2014 at 03:41:39PM +0000, Russell King - ARM Linux wrote:
> On Tue, Feb 18, 2014 at 12:20:42PM +0000, Will Deacon wrote:
> > This patch moves bios32 over to using the generic code for enabling PCI
> > resources. Since the core code takes care of bridge resources too, we
> > can also drop the explicit IO and MEMORY enabling for them in the arch
> > code.
> > 
> > A side-effect of this change is that we no longer explicitly enable
> > devices when running in PCI_PROBE_ONLY mode. This stays closer to the
> > meaning of the option and prevents us from trying to enable devices
> > without any assigned resources (the core code refuses to enable
> > resources without parents).
> > 
> > Tested-By: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>
> > Tested-by: Jingoo Han <jg1.han at samsung.com>
> > Signed-off-by: Will Deacon <will.deacon at arm.com>
> 
> Tested acceptably fine here with crudbus-from-hell.
> 
> Tested-by: Russell King <rmk+kernel at arm.linux.org.uk>

Cheers Russell.

Will



More information about the linux-arm-kernel mailing list