[PATCH 2/5] arm64: efi: ignore EFI_MEMORY_XP attribute if RP and/or WP are set

2018-01-02 Thread Ard Biesheuvel
The UEFI memory map is a bit vague about how to interpret the EFI_MEMORY_XP attribute when it is combined with EFI_MEMORY_RP and/or EFI_MEMORY_WP, which have retroactively been redefined as cacheability attributes rather than permission attributes. So let's ignore EFI_MEMORY_XP if _RP and/or _WP

[PATCH 2/5] arm64: efi: ignore EFI_MEMORY_XP attribute if RP and/or WP are set

2018-01-02 Thread Ard Biesheuvel
The UEFI memory map is a bit vague about how to interpret the EFI_MEMORY_XP attribute when it is combined with EFI_MEMORY_RP and/or EFI_MEMORY_WP, which have retroactively been redefined as cacheability attributes rather than permission attributes. So let's ignore EFI_MEMORY_XP if _RP and/or _WP