coreboot/src/cpu/intel/haswell
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
..
acpi.c haswell/lynxpoint: Align cosmetics with Broadwell 2020-10-14 08:37:36 +00:00
bootblock.c src: Remove unused 'include <cpu/x86/mtrr.h>' 2020-06-06 09:43:11 +00:00
chip.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
finalize.c include/cpu/x86: introduce new helper for (un)setting MSRs 2020-10-16 22:20:47 +00:00
haswell.h cpu/intel/haswell: Move smmrelocate.c MSR definitions to header 2020-11-03 19:12:01 +00:00
haswell_init.c {cpu,soc}/intel: deduplicate cpu code 2020-10-24 09:46:45 +00:00
Kconfig cpu/intel/common: Fill cpu voltage in SMBIOS tables 2020-11-22 22:31:40 +00:00
Makefile.inc haswell: relocate romstage_common to northbridge 2020-07-08 22:16:58 +00:00
smmrelocate.c cpu/intel/haswell: Move smmrelocate.c MSR definitions to header 2020-11-03 19:12:01 +00:00