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
..
2015-11-10 15:06:26 -08:00
2015-11-10 10:05:17 -08:00
2015-11-10 14:48:36 -08:00
2015-11-10 14:48:36 -08:00
2015-10-26 10:18:41 +09:00
2015-11-10 14:48:36 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 14:48:36 -08:00
2015-10-14 17:10:55 +02:00