x86: Update cpuid_eax et al to work on amd64
authorSimon Glass <sjg@chromium.org>
Sat, 15 Mar 2025 14:25:44 +0000 (14:25 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 17:41:55 +0000 (11:41 -0600)
commit21feb3404ed7489f439268ee67b34165dacded1b
tree3fd4ea96d1a8360d089c64b9225ff2772de2605a
parent5450836115aedc4ff539466937e1d9c9679c9cf4
x86: Update cpuid_eax et al to work on amd64

The existing functions work but the register clobbers are wrong, so
strange bugs results.

The original functions were taken from a very old version of Linux.
Update them from Linux 6.13

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/cpu.h