[PATCH v1 0/2] x86: CPUID refactorings: follow-up

From: Ahmed S. Darwish
Date: Fri Apr 11 2025 - 03:05:10 EST


Hi,

These are minor post-mortem patches for the merged CPUID bugfixes and
refactorings at tip:x86/cpu.

The first removes a no-longer-used macro.

The second standardizes all instances of CPUID(N) to CPUID(0xN), as the
CPUID(0xN) style is now the standard in the upcoming cached CPUID model.
It is more concise than "CPUID leaf 0xN" as used in the previous patch
queues commit logs and aligns better with extended leaf references like
CPUID(0x80000005) and CPUID(0x8000001d).

Thanks,

8<-----

Ahmed S. Darwish (2):
x86/cpuid: Remove obsolete CPUID(0x2) iteration macro
x86/cacheinfo: Standardize header files and CPUID references

arch/x86/include/asm/cpuid/leaf_0x2_api.h | 23 -----------------------
arch/x86/kernel/cpu/cacheinfo.c | 20 ++++++++++----------
2 files changed, 10 insertions(+), 33 deletions(-)

base-commit: d02c83d75f9f76dda046edbd9f39b911427677c9
--
2.49.0