Re: [PATCH] powerpc/64s/kuap: Use mmu_has_feature()
From: Michael Ellerman <hidden>
Date: 2021-02-03 12:54:51
From: Michael Ellerman <hidden>
Date: 2021-02-03 12:54:51
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