Re: [PATCH v2 4/4] powerpc/64s: Enable KFENCE on book3s64

2022-09-21 Thread Christophe Leroy
Le 21/09/2022 à 04:02, Nicholas Miehlbradt a écrit : > KFENCE support was added for ppc32 in commit 90cbac0e995d > ("powerpc: Enable KFENCE for PPC32"). > Enable KFENCE on ppc64 architecture with hash and radix MMUs. > It uses the same mechanism as debug pagealloc to > protect/unprotect pages. Al

[PATCH v2 4/4] powerpc/64s: Enable KFENCE on book3s64

2022-09-20 Thread Nicholas Miehlbradt
KFENCE support was added for ppc32 in commit 90cbac0e995d ("powerpc: Enable KFENCE for PPC32"). Enable KFENCE on ppc64 architecture with hash and radix MMUs. It uses the same mechanism as debug pagealloc to protect/unprotect pages. All KFENCE kunit tests pass on both MMUs. KFENCE memory is initial