mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 03:56:18 +07:00
powerpc/8xx: Do not allow Pinned TLBs with STRICT_KERNEL_RWX or DEBUG_PAGEALLOC
Pinning TLBs bypasses STRICT_KERNEL_RWX or DEBUG_PAGEALLOC protections so it should only be allowed when those are not selected Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
a3059b0ca0
commit
87be3e2d31
@ -1176,7 +1176,8 @@ config CONSISTENT_SIZE
|
||||
|
||||
config PIN_TLB
|
||||
bool "Pinned Kernel TLBs (860 ONLY)"
|
||||
depends on ADVANCED_OPTIONS && PPC_8xx
|
||||
depends on ADVANCED_OPTIONS && PPC_8xx && \
|
||||
!DEBUG_PAGEALLOC && !STRICT_KERNEL_RWX
|
||||
|
||||
config PIN_TLB_DATA
|
||||
bool "Pinned TLB for DATA"
|
||||
|
Loading…
Reference in New Issue
Block a user