linux/arch/arm64
Marc Zyngier 75037120e6 arm64: Disable PAN on uaccess_enable()
Commit 4b65a5db36 ("arm64: Introduce uaccess_{disable,enable}
functionality based on TTBR0_EL1") added conditional user access
enable/disable. Unfortunately, a typo prevents the PAN bit from being
cleared for user access functions.

Restore the PAN functionality by adding the missing '!'.

Fixes: b65a5db3627 ("arm64: Introduce uaccess_{disable,enable} functionality based on TTBR0_EL1")
Reported-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2016-12-12 17:52:27 +00:00
..
boot Correct regulator handling on Rockchip arm64 boards to make 2016-10-29 11:09:37 -07:00
configs arm64: Enable HIBERNATION in defconfig 2016-11-23 18:04:44 +00:00
crypto crypto: arm64/aes-ctr - fix NULL dereference in tail processing 2016-09-13 18:44:59 +08:00
include arm64: Disable PAN on uaccess_enable() 2016-12-12 17:52:27 +00:00
kernel arm64: Get rid of asm/opcodes.h 2016-12-02 10:56:21 +00:00
kvm arm64: Support systems without FP/ASIMD 2016-11-16 18:05:10 +00:00
lib arm64: Factor out PAN enabling/disabling into separate uaccess_* macros 2016-11-21 17:33:47 +00:00
mm arm64: Remove I-cache invalidation from flush_cache_range() 2016-11-23 18:05:52 +00:00
net arm64: bpf: optimize LD_ABS, LD_IND 2016-06-10 23:11:50 -07:00
xen arm64: xen: Enable user access before a privcmd hvc call 2016-11-21 18:48:55 +00:00
Kconfig arm64: Enable CONFIG_ARM64_SW_TTBR0_PAN 2016-11-21 18:48:55 +00:00
Kconfig.debug arm64: dump: Add checking for writable and exectuable pages 2016-11-07 18:15:04 +00:00
Kconfig.platforms arm64: uniphier: select ARCH_HAS_RESET_CONTROLLER 2016-10-22 18:25:52 +09:00
Makefile arm64: Add detection code for broken .inst support in binutils 2016-12-06 15:54:21 +00:00