summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2026-07-21 21:15:12 +0530
committerBorislav Petkov (AMD) <bp@alien8.de>2026-07-23 14:23:15 -0700
commit598ebce64c4cfaca54cbecdc25a7ef56ea701051 (patch)
treec6182a4f8e5fe805db5ad51706837d0bdc3e773b /tools/lib/python/kdoc
parenta4c714fe9746bf5a434bb798b26ebba278b798c1 (diff)
x86/topo: Map vendor CPU types to generic Linux such types
Sashiko reported¹ that a confusion could ensue if a vendor-specific CPU type 0 (performance) gets attempted to be used in a x86_cpu_id match table. The current logic treats 0 as the wildcard X86_CPU_TYPE_ANY and such a thing would end up matching the wrong CPUs. This is all backwards because we started using the vendor-specific CPU type number instead of using a Linux-defined, generic CPU type which is agnostic. Convert the current logic to it before users start appearing. ¹https://sashiko.dev/#/patchset/20260629094349.533301-1-Vishal.Badole%40amd.com Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by: Vishal Badole <Vishal.Badole@amd.com> Link: https://patch.msgid.link/20260721154514.2506972-2-Vishal.Badole@amd.com
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions