summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-02-27 20:35:11 +0300
committerArd Biesheuvel <ardb@kernel.org>2025-03-13 13:52:05 +0300
commit74d613e046e418ed512b265aa2ef8a27a761fb4d (patch)
treebc1a02f4864f39f57b93fbe43cedabfd854722d6 /tools/perf/scripts/python/mem-phys-addr.py
parentac2efaa8455021ce1e6216457684d60a9e2c77fd (diff)
downloadlinux-74d613e046e418ed512b265aa2ef8a27a761fb4d.tar.xz
efi/libstub: Avoid CopyMem/SetMem EFI services after ExitBootServices
Given that memset/memcpy are intrinsics, the compiler might insert calls to these routines unexpectedly, including in code that executes after ExitBootServices(). In this case, the respective boot services are no longer accessible, and calling them will cause a crash. So fall back to a bytewise copy/store if this happens to occur, even though no such occurrences are known to exist in the kernel currently. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions