]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
config: android-recommended: enable CONFIG_ARM64_SW_TTBR0_PAN
authorSami Tolvanen <samitolvanen@google.com>
Thu, 8 Jun 2017 12:39:10 +0000 (18:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:47:37 +0000 (11:47 +0200)
Enable PAN emulation using TTBR0_EL1 switching.

Reviewed-at: https://android-review.googlesource.com/#/c/325997/

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
[AmitP: cherry-picked this change from Android common kernel
        and updated the commit message]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/configs/android-recommended.config

index a86faa41bfd2c8bd102af93585ee369c99384654..a02c447769f732e44b5f9101667514d11faf6eac 100644 (file)
@@ -6,6 +6,7 @@
 # CONFIG_NF_CONNTRACK_SIP is not set
 # CONFIG_PM_WAKELOCKS_GC is not set
 # CONFIG_VT is not set
+CONFIG_ARM64_SW_TTBR0_PAN=y
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
 CONFIG_BLK_DEV_DM=y
 CONFIG_BLK_DEV_LOOP=y