Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Kevin Hao c5df457ffe powerpc/pci: Check the bus address instead of resource address in pcibios_fixup_resources
If a BAR has the value of 0, we would assume that it is unset yet and
then mark the resource as unset and would reassign it later. But after
commit 6c5705fe (powerpc/PCI: get rid of device resource fixups)
the pcibios_fixup_resources is invoked after the bus address was
translated to linux resource. So the value of res->start is resource
address. And since the resource and bus address may be different, we
should translate it to the bus address before doing the check.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-06-10 08:36:13 +10:00
..
2013-04-23 16:05:05 +10:00
2013-04-23 16:05:05 +10:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2013-04-26 16:08:17 +10:00
2013-04-08 17:39:27 +02:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2013-05-14 16:00:17 +10:00
2013-05-14 16:00:17 +10:00
2013-05-14 16:00:17 +10:00
2011-03-31 11:26:23 -03:00
2012-11-15 15:02:44 +11:00
2013-04-18 13:03:53 +10:00
2013-04-08 17:39:27 +02:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2013-05-08 06:36:49 +10:00
2013-04-23 16:05:05 +10:00