]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpuid: Set <asm/cpuid/api.h> as the main CPUID header
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 8 May 2025 15:02:31 +0000 (17:02 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 15 May 2025 16:23:55 +0000 (18:23 +0200)
commit968e3000680713f712bcf02c51c4d7bb7d4d7685
treeec236b2718aacda9dfa80f8f43310686cf3726e5
parentcdc8be31cb324a0c52529f192e39a44abcfff513
x86/cpuid: Set <asm/cpuid/api.h> as the main CPUID header

The main CPUID header <asm/cpuid.h> was originally a storefront for the
headers:

    <asm/cpuid/api.h>
    <asm/cpuid/leaf_0x2_api.h>

Now that the latter CPUID(0x2) header has been merged into the former,
there is no practical difference between <asm/cpuid.h> and
<asm/cpuid/api.h>.

Migrate all users to the <asm/cpuid/api.h> header, in preparation of
the removal of <asm/cpuid.h>.

Don't remove <asm/cpuid.h> just yet, in case some new code in -next
started using it.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: x86-cpuid@lists.linux.dev
Link: https://lore.kernel.org/r/20250508150240.172915-3-darwi@linutronix.de
24 files changed:
arch/x86/boot/compressed/sev.c
arch/x86/boot/startup/sev-startup.c
arch/x86/coco/sev/core.c
arch/x86/coco/sev/vc-handle.c
arch/x86/events/intel/pt.c
arch/x86/include/asm/processor.h
arch/x86/kernel/acpi/cstate.c
arch/x86/kernel/amd_nb.c
arch/x86/kernel/cpu/cacheinfo.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/fpu/xstate.c
arch/x86/kernel/hpet.c
arch/x86/kernel/process.c
arch/x86/kernel/smpboot.c
arch/x86/kernel/tsc.c
arch/x86/kvm/cpuid.c
arch/x86/virt/svm/sev.c
arch/x86/xen/enlighten_pv.c
drivers/acpi/acpi_pad.c
drivers/dma/ioat/dca.c
drivers/idle/intel_idle.c
drivers/platform/x86/intel/pmc/core.c
sound/soc/intel/avs/tgl.c