[PATCH v2 RFC] pasemi: Fix boot failure on 4.7-rc1
Darren Stevens
darren at stevens-zone.net
Thu Jun 30 06:06:28 AEST 2016
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 <chzigotzky at xenosoft.de>
Signed-off-by: Darren Stevens <darren at stevens-zone.net>
---
Tested on my AmigaOneX1000, I don't have access to a refence board system,
and our developer with one is on honeymoon.
I am hoping to follow this patch with others to reduce the size of the nemo
patch we apply, eventually I'd like to see the patch gone, but that is a
very big job.
Kind regards
Darren
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pa6t-bootfix-v2.patch
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160629/f3cd8c32/attachment.ksh>
More information about the Linuxppc-dev
mailing list