Re: Proposed: Patch to fix boot on PA6T
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-06-28 10:51:03
Hi Darren, On Sun, 2016-26-06 at 17:42:11 UTC, Darren Stevens wrote:
Hello All,
commit d6a9996e84ac4beb7713e9485f4563e100a9b03e
powerpc/mm: vmalloc abstraction in preparation for radix
This commit introduced variables for some linux kernel addresses that had before
been constants, unfortunately this stopped PaSemi PA6T systems(*) from booting as
they call ioremap to map SoC registers before the mmu is initialised. The attached
patch adds a hard-coded init of pci_io_base to the pas_init_early() function which
which allows the kernel to boot normally.
The value will be harmlessly set again once pci starts up.
(*) At the moment this has only been tested on an AmigaOneX1000, but I expect PaSemi
reference systems to have been affected in the same way.
Kind regards
DarrenI can't merge this because you didn't sign it off. See section 11 of: https://www.kernel.org/doc/Documentation/SubmittingPatches cheers