[PATCH 3/5] cpu/msr: add MSR_TEMPERATURE_TARGET to IA32_silvermont_MSRs

Alex Hung alex.hung at canonical.com
Fri Jul 12 05:08:21 UTC 2019


BIT definition is as below:

15:0    Reserved
23:16   Temperature Target (R)
29:24   Target Offset (R/W)

Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 src/cpu/msr/msr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
index 1ff4de43..f08dac65 100644
--- a/src/cpu/msr/msr.c
+++ b/src/cpu/msr/msr.c
@@ -483,6 +483,7 @@ static const msr_info IA32_atom_MSRs[] = {
 static const msr_info IA32_silvermont_MSRs[] = {
 	{ "MSR_PMG_IO_CAPTURE_BASE",	0x000000e4,	0x000000000007ffffULL, NULL },
 	{ "MSR_FEATURE_CONFIG",		0x0000013c,	0x0000000000000003ULL, NULL },
+	{ "MSR_TEMPERATURE_TARGET",	0x000001a2,	0x000000003fff0000ULL, NULL },
 	{ NULL,				0x00000000,	0, NULL },
 };
 
-- 
2.17.1




More information about the fwts-devel mailing list