Re: [PATCH v4] ARM: mm: fix reporting of read-only PMD bits

2014-03-31 Thread Laura Abbott
On 3/28/2014 11:45 AM, Kees Cook wrote: > On Sat, Mar 22, 2014 at 9:20 PM, Kees Cook wrote: >> On non-LPAE ARMv6+, read-only PMD bits are defined with the combination >> "PMD_SECT_APX | PMD_SECT_AP_WRITE". Adjusted the bit masks to correctly >> report this. >> >> Signed-off-by: Kees Cook >> --- >

Re: [PATCH v4] ARM: mm: fix reporting of read-only PMD bits

2014-03-28 Thread Kees Cook
On Sat, Mar 22, 2014 at 9:20 PM, Kees Cook wrote: > On non-LPAE ARMv6+, read-only PMD bits are defined with the combination > "PMD_SECT_APX | PMD_SECT_AP_WRITE". Adjusted the bit masks to correctly > report this. > > Signed-off-by: Kees Cook > --- > v4: > - clean up defines for CPU versions; Rob

[PATCH v4] ARM: mm: fix reporting of read-only PMD bits

2014-03-22 Thread Kees Cook
On non-LPAE ARMv6+, read-only PMD bits are defined with the combination "PMD_SECT_APX | PMD_SECT_AP_WRITE". Adjusted the bit masks to correctly report this. Signed-off-by: Kees Cook --- v4: - clean up defines for CPU versions; Rob Herring. v3: - check for pre-v6 CPUs on the page table report. v