coreboot-kgpe-d16/src/arch
Andrey Petrov 2e032f07df arch/x86: Populate more fields in SMBIOS type 4
If CPUID leaf 0x16 is available (Skylake and later) use it to obtain
current and maximum speed. Otherwise call weak function that can be
provided elsewhere (cpu/soc/mainboard). Also, populate "core enabled"
with the same value as "core count".

TEST=tested on OCP Monolake with dmidecode -t processor

Change-Id: Ie5d88dacae6623dfa0ceb3ca1bb5eeff2adda103
Signed-off-by: Andrey Petrov <anpetrov@fb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36283
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
2019-10-28 18:27:24 +00:00
..
arm src/[arch-lib]: change "unsigned" to "unsigned int" 2019-10-27 21:08:39 +00:00
arm64 arm64: Uprev Arm TF and adjust to BL31 parameter changes 2019-09-14 05:01:16 +00:00
mips arch/arm,mips: Use generic PCI MMCONF 2019-09-28 21:16:23 +00:00
ppc64 arch/: Replace __BOOTBLOCK__ with ENV_BOOTBLOCK 2019-09-26 17:27:45 +00:00
riscv src: Remove unused 'include <string.h>' 2019-10-20 17:19:34 +00:00
x86 arch/x86: Populate more fields in SMBIOS type 4 2019-10-28 18:27:24 +00:00