summaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <nsaenz@amazon.com>2024-11-12 18:52:17 +0000
committerArd Biesheuvel <ardb@kernel.org>2024-11-15 17:40:00 +0100
commit21b1a7f7ae2f53c914f584a72a85cb4f71227e28 (patch)
tree0c14133f5d625efe93e5eacf1600c768b08aa52b /scripts/bpf_doc.py
parent7eb4e1dd71009472215bc1f8226ee9a041da8d37 (diff)
x86/efi: Apply EFI Memory Attributes after kexec
Kexec bypasses EFI's switch to virtual mode. In exchange, it has its own routine, kexec_enter_virtual_mode(), which replays the mappings made by the original kernel. Unfortunately, that function fails to reinstate EFI's memory attributes, which would've otherwise been set after entering virtual mode. Remediate this by calling efi_runtime_update_mappings() within kexec's routine. Signed-off-by: Nicolas Saenz Julienne <nsaenz@amazon.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions