Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4135f2a1 authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

arm64: Disable ARMv8.1, ARMv8.2 architectural features



Some of the ARMv8.1, ARMv8.2 architectural features(ARM64_HW_AFDBM,
ARM64_PAN and ARM64_UAO) are enabled by default. Do not enable
these features by default, so that target specific defconfig
files can enable or disable based on features supported.

Change-Id: I072216927c3475169156a3d51f20d06675630ab9
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 4b373689
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -806,7 +806,6 @@ menu "ARMv8.1 architectural features"

config ARM64_HW_AFDBM
	bool "Support for hardware updates of the Access and Dirty page flags"
	default y
	help
	  The ARMv8.1 architecture extensions introduce support for
	  hardware updates of the access and dirty information in page
@@ -823,7 +822,6 @@ config ARM64_HW_AFDBM

config ARM64_PAN
	bool "Enable support for Privileged Access Never (PAN)"
	default y
	help
	 Privileged Access Never (PAN; part of the ARMv8.1 Extensions)
	 prevents the kernel or hypervisor from accessing user-space (EL0)
@@ -851,7 +849,6 @@ endmenu

config ARM64_UAO
	bool "Enable support for User Access Override (UAO)"
	default y
	help
	  User Access Override (UAO; part of the ARMv8.2 Extensions)
	  causes the 'unprivileged' variant of the load/store instructions to