diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-03-04 14:35:09 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-03-24 14:09:30 +1100 |
| commit | 90cbac0e995dd92f7bcf82f74aa50250bf194a4a (patch) | |
| tree | 3aed376f4cfed4ced8df36e455819cd5e7279f59 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/ptrace: Remove duplicate check from pt_regs_check() (diff) | |
| download | linux-90cbac0e995dd92f7bcf82f74aa50250bf194a4a.tar.gz linux-90cbac0e995dd92f7bcf82f74aa50250bf194a4a.zip | |
powerpc: Enable KFENCE for PPC32
Add architecture specific implementation details for KFENCE and enable
KFENCE for the ppc32 architecture. In particular, this implements the
required interface in <asm/kfence.h>.
KFENCE requires that attributes for pages from its memory pool can
individually be set. Therefore, force the Read/Write linear map to be
mapped at page granularity.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Marco Elver <elver@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/8dfe1bd2abde26337c1d8c1ad0acfcc82185e0d5.1614868445.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
