diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2025-01-07 17:57:16 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2025-02-21 18:54:16 +0300 |
commit | eaed89559591f73ca06a3e6534c381e3bd948ee6 (patch) | |
tree | a97ca289d25e21535b68273a1137ebca75a2f6e5 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | dac628e9563640e2de7878decc03a508b1ba319a (diff) | |
download | linux-eaed89559591f73ca06a3e6534c381e3bd948ee6.tar.xz |
x86/efi/mixed: Check CPU compatibility without relying on verify_cpu()
In order for the EFI mixed mode startup code to be reusable in a context
where the legacy decompressor is not used, replace the call to
verify_cpu() [which performs an elaborate set of checks] with a simple
check against the 'long mode' bit in the appropriate CPUID leaf.
This is reasonable, given that EFI support is implied when booting in
this manner, and so there is no need to consider very old CPUs when
performing this check.
Acked-by: Ingo Molnar <mingo@kernel.org>
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