diff options
author | K Prateek Nayak <kprateek.nayak@amd.com> | 2025-09-01 17:04:16 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-09-17 11:23:40 +0200 |
commit | d691c5f87f344a448b1a522284fa314e2bb403e2 (patch) | |
tree | 16def89d3fdd51f166061025e6b864a7ba63ee00 /scripts/gdb/linux/timerlist.py | |
parent | af507c6951180ae5e5edb71f56a227ffdcc54f78 (diff) |
x86/cpu/topology: Check for X86_FEATURE_XTOPOLOGY instead of passing has_xtopology
cpu_parse_topology_ext() sets X86_FEATURE_XTOPOLOGY before returning
true if any of the XTOPOLOGY leaf (0x80000026 / 0xb) could be parsed
successfully.
Instead of storing and passing around this return value using
"has_xtopology" in parse_topology_amd(), check for X86_FEATURE_XTOPOLOGY
directly in parse_8000_001e() to simplify the flow.
No functional changes intended.
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/20250901170418.4314-1-kprateek.nayak@amd.com
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions