Skip to content

Commit 735e155

Browse files
wildea01gregkh
authored andcommitted
FROMLIST: arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
We're about to rework the way ASIDs are allocated, switch_mm is implemented and low-level kernel entry/exit is handled, so keep the ARM64_SW_TTBR0_PAN code out of the way whilst we do the heavy lifting. It will be re-enabled in a subsequent patch. Reviewed-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Laura Abbott <labbott@redhat.com> Tested-by: Shanker Donthineni <shankerd@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com> (cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git commit 376133b7edc20f237a42e4c72415cc9e8c0a9704) Change-Id: I38d3f7a66b1d52abcea3e23b1e80277b03c6dbe0 Signed-off-by: Greg Hackmann <ghackmann@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
1 parent b92b297 commit 735e155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@ endif
597597

598598
config ARM64_SW_TTBR0_PAN
599599
bool "Emulate Privileged Access Never using TTBR0_EL1 switching"
600+
depends on BROKEN # Temporary while switch_mm is reworked
600601
help
601602
Enabling this option prevents the kernel from accessing
602603
user-space memory directly by pointing TTBR0_EL1 to a reserved

0 commit comments

Comments
 (0)