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

Laura Abbott lauraa at codeaurora.org
Mon Mar 31 14:12:33 EDT 2014


On 3/28/2014 11:45 AM, Kees Cook wrote:
> On Sat, Mar 22, 2014 at 9:20 PM, Kees Cook <keescook at chromium.org> 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 <keescook at chromium.org>
>> ---
>> 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 <lauraa at codeaurora.org>

Laura

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation



More information about the linux-arm-kernel mailing list