[PATCH] ARM: mm: Enable PXN when running non-LPAE kernel on LPAE processor

Catalin Marinas catalin.marinas at arm.com
Mon May 11 07:36:27 PDT 2015


On Mon, May 11, 2015 at 05:09:35PM +0900, Jungseung Lee wrote:
> Hi, Ben.
> 
> 2014-12-25 2:20 GMT+09:00 Catalin Marinas <catalin.marinas at arm.com>:
> > On Wed, Dec 24, 2014 at 03:54:28PM +0000, Ben Hutchings wrote:
> >> 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: Ben Hutchings <ben at decadent.org.uk>
> >> Cc: Jungseung Lee <js07.lee at gmail.com>
> >> Cc: Catalin Marinas <catalin.marinas at arm.com>
> >
> > Acked-by: Catalin Marinas <catalin.marinas at arm.com>
> 
> Is this patch handled?

If it's not in mainline already, than it probably isn't handled.

> or you can send it to Russell's patch system:
> http://www.arm.linux.org.uk/developer/patches/

Check mainline first, otherwise please submit it.

-- 
Catalin



More information about the linux-arm-kernel mailing list