]> www.infradead.org Git - users/willy/xarray.git/commit
tools/x86/kcpuid: Set max possible subleaves count to 64
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 18 Jul 2024 13:47:43 +0000 (15:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 2 Aug 2024 07:17:18 +0000 (09:17 +0200)
commit5dd7ca42475bb15fd93d58d42e925512776f14a4
treea811bb936e5b233cb4d8b42af1bc8ce76cc98b5d
parenta52e735f282c963155090d2d60726324ccd0e4bc
tools/x86/kcpuid: Set max possible subleaves count to 64

cpuid.csv will be extended in further commits with all-publicly-known
CPUID leaves and bitfields.  One of the new leaves is 0xd for extended
CPU state enumeration.  Depending on XCR0 dword bits, it can export up to
64 subleaves.

Set kcpuid.c MAX_SUBLEAF_NUM to 64.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240718134755.378115-4-darwi@linutronix.de
tools/arch/x86/kcpuid/kcpuid.c