linux/arch/x86/coco/tdx
Ahmed S. Darwish 7b49a3fb69 treewide: Explicitly include the x86 CPUID headers
Modify all CPUID call sites which implicitly include any of the CPUID
headers to explicitly include them instead.

For KVM's reverse_cpuid.h, just include <asm/cpuid/types.h> since it
references the CPUID_EAX..EDX symbols without using the CPUID APIs.

Note, this allows removing the inclusion of <asm/cpuid/api.h> from within
<asm/processor.h> next.  That allows the CPUID API headers to include
<asm/processor.h> without introducing a circular dependency.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20260327021645.555257-1-darwi@linutronix.de
History 2026-05-06 14:29:59 +02:00
..
debug.c x86/tdx: Rename TDX_ATTR_* to TDX_TD_ATTR_* 2026-03-03 16:06:49 -08:00
Makefile x86/tdx: Dump attributes and TD_CTLS on boot 2024-12-05 10:27:07 -08:00
tdcall.S x86/tdx: Reimplement __tdx_hypercall() using TDX_MODULE_CALL asm 2023-09-12 16:30:14 -07:00
tdx-shared.c x86/virt/tdx: Define TDX supported page sizes as macros 2023-12-08 09:12:00 -08:00
tdx.c treewide: Explicitly include the x86 CPUID headers 2026-05-06 14:29:59 +02:00