linux/arch
Jungseung Lee ad84f56bf6 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>
2016-01-04 11:26:40 +00:00
..
alpha
arc ARC fixes for 4.4-rc1 2015-11-14 09:09:37 -08:00
arm ARM: 8494/1: mm: Enable PXN when running non-LPAE kernel on LPAE processor 2016-01-04 11:26:40 +00:00
arm64 arm64 fixes and clean-ups: 2015-11-12 15:33:11 -08:00
avr32
blackfin
c6x
cris
frv
h8300 h8300 update for v4.4 2015-11-12 15:26:39 -08:00
hexagon
ia64
m32r
m68k
metag Metag architecture changes for v4.4 2015-11-10 16:24:25 -08:00
microblaze
mips Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-11-15 09:10:53 -08:00
mn10300
nios2
openrisc
parisc
powerpc Four changes: 2015-11-12 14:34:06 -08:00
s390
score
sh
sparc
tile
um
unicore32 pwm: Changes for v4.4-rc1 2015-11-11 09:16:10 -08:00
x86 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-11-15 09:36:24 -08:00
xtensa Merge branch 'for-4.4/io-poll' of git://git.kernel.dk/linux-block 2015-11-10 17:23:49 -08:00
.gitignore
Kconfig