diff options
author | Jungseung Lee <js07.lee@samsung.com> | 2015-12-29 04:47:00 +0800 |
---|---|---|
committer | citypw <citypw@gmail.com> | 2016-09-13 12:41:40 +0800 |
commit | 1510827f29ced43ac686c4625ce709e0dfb1292d (patch) | |
tree | 6639704ebd8dad549eab99b60e636c24bc424022 /net/ipv4/udp.c | |
parent | a85045c03470e88923ed98bb5917b289fa752030 (diff) |
UPSTREAM: 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 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions