diff options
author | Jungseung Lee <js07.lee@samsung.com> | 2015-12-29 07:47:00 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-01-04 14:26:40 +0300 |
commit | ad84f56bf6d620fe6ed4d57ce6ec9945684d7f35 (patch) | |
tree | 85ed24e469d76f07b1d7fd09356af8fa1e540581 /include/linux/arm-smccc.h | |
parent | 8c51b034938fb37b7ffc2e7c49a39b284f5c08c0 (diff) | |
download | linux-ad84f56bf6d620fe6ed4d57ce6ec9945684d7f35.tar.xz |
ARM: 8494/1: mm: Enable PXN when running non-LPAE kernel on LPAE processor
The VMSA field of MMFR0 (bottom 4 bits) is incremented for each
added feature. PXN is supported if the value is >= 4 and LPAE
is supported if it is >= 5.
In case a kernel with CONFIG_ARM_LPAE disabled is used on a
processor that supports LPAE, we can still use PXN in short
descriptors. So check for >= 4 not == 4.
Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/arm-smccc.h')
0 files changed, 0 insertions, 0 deletions