]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpuid: Move CPUID(0x2) APIs into <cpuid/api.h>
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 8 May 2025 15:02:30 +0000 (17:02 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 15 May 2025 16:23:54 +0000 (18:23 +0200)
commitcdc8be31cb324a0c52529f192e39a44abcfff513
treeff3510859b46d18db245827e2d7b34eb88b2efb5
parentbaad9190e6465fdbe458f59cf04c2b2032ec4797
x86/cpuid: Move CPUID(0x2) APIs into <cpuid/api.h>

Move all of the CPUID(0x2) APIs at <cpuid/leaf_0x2_api.h> into
<cpuid/api.h>, in order centralize all CPUID APIs into the latter.

While at it, separate the different CPUID leaf parsing APIs using
header comments like "CPUID(0xN) parsing: ".

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: H. Peter Anvin <hpa@zytor.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: x86-cpuid@lists.linux.dev
Link: https://lore.kernel.org/r/20250508150240.172915-2-darwi@linutronix.de
arch/x86/include/asm/cpuid.h
arch/x86/include/asm/cpuid/api.h
arch/x86/include/asm/cpuid/leaf_0x2_api.h [deleted file]
arch/x86/include/asm/cpuid/types.h