diff options
author | Ard Biesheuvel <[email protected]> | 2020-06-26 17:58:32 +0200 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2020-07-14 18:02:04 +0100 |
commit | 325f5585ec36953a3fe2e000451f690440fe1bf5 (patch) | |
tree | 43c8bf1b52c66318c24a3335060986556c0cbf49 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 1583052d111f8ea43f9954c5e749164fd2b954af (diff) |
arm64/acpi: disallow writeable AML opregion mapping for EFI code regions
Given that the contents of EFI runtime code and data regions are
provided by the firmware, as well as the DSDT, it is not unimaginable
that AML code exists today that accesses EFI runtime code regions using
a SystemMemory OpRegion. There is nothing fundamentally wrong with that,
but since we take great care to ensure that executable code is never
mapped writeable and executable at the same time, we should not permit
AML to create writable mapping.
Signed-off-by: Ard Biesheuvel <[email protected]>
Acked-by: Lorenzo Pieralisi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions