Adjust memory attributes in EFISTUB
configname: CONFIG_EFI_DXE_MEM_ATTRIBUTES
Linux Kernel Configuration
└─>Device Drivers
└─>Firmware Drivers
└─>EFI (Extensible Firmware Interface) Support
└─>Adjust memory attributes in EFISTUB
In linux kernel since version 5.2 (release Date: 2019-07-07)
UEFI specification does not guarantee all memory to be
accessible for both write and execute as the kernel expects
it to be.
Use DXE services to check and alter memory protection
attributes during boot via EFISTUB to ensure that memory
ranges used by the kernel are writable and executable.
accessible for both write and execute as the kernel expects
it to be.
Use DXE services to check and alter memory protection
attributes during boot via EFISTUB to ensure that memory
ranges used by the kernel are writable and executable.