[PATCH] powerpc/64s: Fix boot failure with 4K Radix
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Jun 25 16:21:30 AEST 2021
On Thu, 24 Jun 2021 22:34:20 +1000, Michael Ellerman wrote:
> When using the Radix MMU our PGD is always 64K, and must be naturally
> aligned.
>
> For a 4K page size kernel that means page alignment of swapper_pg_dir is
> not sufficient, leading to failure to boot.
>
> Use the existing MAX_PTRS_PER_PGD which has the correct value, and
> avoids us hard-coding 64K here.
Applied to powerpc/next.
[1/1] powerpc/64s: Fix boot failure with 4K Radix
https://git.kernel.org/powerpc/c/3018fbc63632e6d30abde228f29aaeaf78b782bf
cheers
More information about the Linuxppc-dev
mailing list