[PATCH] powerpc/64s/kuap: Use mmu_has_feature()
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Feb 3 22:40:40 AEDT 2021
On Thu, 17 Dec 2020 11:53:06 +1100, Michael Ellerman wrote:
> In commit 8150a153c013 ("powerpc/64s: Use early_mmu_has_feature() in
> set_kuap()") we switched the KUAP code to use early_mmu_has_feature(),
> to avoid a bug where we called set_kuap() before feature patching had
> been done, leading to recursion and crashes.
>
> That path, which called probe_kernel_read() from printk(), has since
> been removed, see commit 2ac5a3bf7042 ("vsprintf: Do not break early
> boot with probing addresses").
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/64s/kuap: Use mmu_has_feature()
https://git.kernel.org/powerpc/c/7613f5a66becfd0e43a0f34de8518695888f5458
cheers
More information about the Linuxppc-dev
mailing list