[PATCH] ARM: 8235/1: Support for the PXN CPU feature on ARMv7

Jungseung Lee js07.lee at gmail.com
Tue Dec 23 22:35:03 PST 2014


Hi Ben,

2014-12-24 7:42 GMT+09:00 Ben Hutchings <ben at decadent.org.uk>:

>
> I think that if a non-LPAE kernel runs on a processor that supports
> LPAE, it should use PXN in short descriptors.  In that case, this test
> should be changed to match a value of 5 as well.  Maybe it should be
> simply be read_cpuid_ext(CPUID_EXT_MMFR0) & 4, but as I said I can't
> check this against the ARM ARM.

Yes, you are right.
The case of a non-LPAE kernel running on a processor that supports LPAE
has been missed.
It is good to be read_cpuid_ext(CPUID_EXT_MMFR0) & 4.
Thanks for your reporting.

>
> Ben.
>
> --
> Ben Hutchings
> Editing code like this is akin to sticking plasters on the bleeding stump
> of a severed limb. - me, 29 June 1999



More information about the linux-arm-kernel mailing list