[PATCH v4] ARM: mm: fix reporting of read-only PMD bits
From: Laura Abbott <hidden>
Date: 2014-03-31 18:12:36
Also in:
lkml
From: Laura Abbott <hidden>
Date: 2014-03-31 18:12:36
Also in:
lkml
On 3/28/2014 11:45 AM, Kees Cook wrote:
On Sat, Mar 22, 2014 at 9:20 PM, Kees Cook [off-list ref] wrote:quoted
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 <redacted> --- v4: - clean up defines for CPU versions; Rob Herring. v3: - check for pre-v6 CPUs on the page table report. v2: - reorder bits, suggested by Olof.Can anyone give this a test or ack? I've done build tests for all CPU combinations, and runtime tests on v6 and LPAE. Thanks! -Kees
You are welcome to add Tested-by: Laura Abbott <redacted> Laura -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation