From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Tue, 18 Feb 2014 15:41:39 +0000 Subject: [PATCH v3 2/3] ARM: bios32: use pci_enable_resource to enable PCI resources In-Reply-To: <1392726043-31088-3-git-send-email-will.deacon@arm.com> References: <1392726043-31088-1-git-send-email-will.deacon@arm.com> <1392726043-31088-3-git-send-email-will.deacon@arm.com> Message-ID: <20140218154139.GF21483@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Tested-by: Jingoo Han > Signed-off-by: Will Deacon Tested acceptably fine here with crudbus-from-hell. Tested-by: Russell King -- FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad. Estimate before purchase was "up to 13.2Mbit".