x86: Support CPU functions in long mode
authorSimon Glass <sjg@chromium.org>
Sat, 15 Mar 2025 14:25:41 +0000 (14:25 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 17:41:55 +0000 (11:41 -0600)
commit5ee60f3afa146e45752e1e99c382f18dd7f8200e
treee19d067080f60e21a105e6a9dc6290cd39e4fa83
parentb4a3ebe30426712a1981eb3bf53992d88bae01e3
x86: Support CPU functions in long mode

At present it is not possible to find out the physical-address size in
long mode, so a predefined value is used.

Update the macros to support this properly, since it is important when
programming MTRRs.

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