Re: [PATCH 0/2] x86/mm: A _PAGE_NX fixlet and a kmap cleanup

Andy Lutomirski
2016-01-19T19:45:15Z

On Tue, Jan 19, 2016 at 1:26 AM, Ingo Molnar <mingo@kernel.org> wrote:
>
> * Andy Lutomirski <luto@kernel.org> wrote:
>
>> The fixlet might help with some WX warnings. The kmap cleanup is
>> just a cleanup.
>>
>> This is very lightly tested.
>>
>> Andy Lutomirski (2):
>> x86_32/mm: Set NX in __supported_pte_mask before enabling paging
>> x86/mm: Make kmap_prot into a #define
>>
>> arch/x86/include/asm/fixmap.h | 2 +-
>> arch/x86/kernel/head_32.S | 6 ++++++
>> arch/x86/mm/init_32.c | 3 ---
>> arch/x86/mm/setup_nx.c | 5 ++---
>> 4 files changed, 9 insertions(+), 7 deletions(-)
>
> Noticed this older submission, but the first patch does not apply anymore. Or does
> it have other dependencies?
>

It conflicts with Boris's cpu_has_xyz cleanup. I'll resend.

--Andy