coreboot/src/cpu/intel
Patrick Rudolph b01ac7e264 cpu/intel/common: Fill cpu voltage in SMBIOS tables
Introduce a weak function to let the platform code provide the processor
voltage in 100mV units.

Implement the function on Intel platforms using the MSR_PERF_STATUS msr.
On other platforms the processor voltage still reads as unknown.

Tested on Intel CFL. The CPU voltage is correctly advertised.

Change-Id: I31a7efcbeede50d986a1c096a4a59a316e09f825
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43904
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-11-22 22:31:40 +00:00
..
car cpu/intel/car/non-evict/cache_as_ram.S: Add support for longmode 2020-11-02 06:26:43 +00:00
common cpu/intel/common: Fill cpu voltage in SMBIOS tables 2020-11-22 22:31:40 +00:00
fit sec/intel/cbnt: Stitch in ACMs in the coreboot image 2020-11-10 06:17:24 +00:00
haswell cpu/intel/common: Fill cpu voltage in SMBIOS tables 2020-11-22 22:31:40 +00:00
hyperthreading src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
microcode treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_6bx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_6ex arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_6fx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_6xx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_65x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_67x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_68x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_106cx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_206ax cpu/intel/model_206ax: Get CPU frequencies for SMBIOS type 4 2020-11-09 10:23:25 +00:00
model_1067x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_2065x {cpu,soc}/intel: deduplicate cpu code 2020-10-24 09:46:45 +00:00
model_f2x cpu/intel,soc/intel: drop Kconfig for hyperthreading 2020-10-17 22:29:44 +00:00
model_f3x cpu/intel,soc/intel: drop Kconfig for hyperthreading 2020-10-17 22:29:44 +00:00
model_f4x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
slot_1 src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
smm cpu/x86/mtrr.h: Rename CORE2 alternative SMRR registers 2020-11-10 06:18:05 +00:00
socket_441 intel/socket_441: Increase bootblock size 2020-11-21 01:53:18 +00:00
socket_BGA956 gm45 boards: Factor out MAX_CPUS 2020-06-15 22:55:54 +00:00
socket_FCBGA559 pineview boards: Factor out MAX_CPUS 2020-06-15 22:51:35 +00:00
socket_LGA775 Drop superfluous C_ENVIRONMENT_BOOTBLOCK checks 2019-11-25 09:17:14 +00:00
socket_m nb/intel/i945: Move to C_ENVIRONMENT_BOOTBLOCK 2019-11-15 16:45:48 +00:00
socket_mPGA604 Kconfig: Drop the C_ENVIRONMENT_BOOTBLOCK symbol 2019-11-25 09:17:38 +00:00
socket_p gm45 boards: Factor out MAX_CPUS 2020-06-15 22:55:54 +00:00
speedstep src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
turbo treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
Makefile.inc cpu/intel/Makefile.inc: Use correct Kconfig symbols 2020-10-30 15:12:03 +00:00