Skip to content
Commit 45add3cc authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Ard Biesheuvel
Browse files

efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared



UEFI spec 2.9, p.108, table 4-1 lists the scenario that both attributes
are cleared with the description "No memory access protection is
possible for Entry". So we can have valid entries where both attributes
are cleared, so remove the check.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Fixes: 10f0d2f5 ("efi: Implement generic support for the Memory Attributes table")
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 668a84c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment