Re: [v2,RFC] pasemi: Fix boot failure on 4.7-rc1
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-07-04 05:51:19
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-07-04 05:51:19
On Wed, 2016-29-06 at 20:06:28 UTC, Darren Stevens wrote:
Commit:d6a9996e84ac4beb7713e9485f4563e100a9b03e (powerpc/mm:
vmalloc abstraction in preparation for radix) turned kernel memory
and IO addresses from #defined constants to variables initialised
at runtime.
On PA6T systems the setup_arch machine call initialises the onboard
PCI-e root-ports, and uses pci_io_base to do this, which is now before
its value has been set resulting in a panic right after 'booting
linux via __start()'
Move the pci_io_base initialisation to the same place as vmalloc
ranges are set (hash__early_init_mmu()/radix__early_init_mmu())
Reported-by: Christian Zigotzky [off-list ref]
Signed-off-by: Darren Stevens [off-list ref]
Reviewed-by: Aneesh Kumar K.V <redacted>Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/bfa37087aa04e45f56c41142df cheers