x86/cpu: Use parsed CPUID(0x1)

On early boot CPU detection, use parsed CPUID(0x1) instead of a direct CPUID
query.

Beside the parser's centralization benefits, use the auto generated CPUID data
types, and their C99 bitfields, instead of doing ugly bitwise operations.

  [ bp: - Use a common code pattern for l1 of fetching and checking it
          right after that
	- flip the check to save an indentation level
	- align assignments vertically.
  ]

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260528153923.403473-12-darwi@linutronix.de
This commit is contained in:
Ahmed S. Darwish 2026-05-28 17:37:33 +02:00 • committed by Borislav Petkov (AMD)
commit 173dfdce3b