[coreboot-gerrit] Change in coreboot[master]: amd/family15h: Add defines for boost and P-state

Marshall Dawson (Code Review) gerrit at coreboot.org
Tue Jun 13 23:28:09 CEST 2017


Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/20199


Change subject: amd/family15h: Add defines for boost and P-state
......................................................................

amd/family15h: Add defines for boost and P-state

Add definitions for the P-state 0 MSR and Core Performance Boost
Control.

BUG=chrome-os-partner:62578062

Change-Id: I0c16dde17f1be41a3310c3ccefe3936aba0e8ec0
Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
---
M src/include/cpu/amd/amdfam15.h
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/20199/1

diff --git a/src/include/cpu/amd/amdfam15.h b/src/include/cpu/amd/amdfam15.h
index 8d3777e..37fbc49 100644
--- a/src/include/cpu/amd/amdfam15.h
+++ b/src/include/cpu/amd/amdfam15.h
@@ -24,6 +24,8 @@
 #define HWCR_MSR			0xC0010015
 #define NB_CFG_MSR			0xC001001f
 
+#define PSTATE_0_MSR			0xC0010064
+
 #define LS_CFG_MSR			0xC0011020
 #define IC_CFG_MSR			0xC0011021
 #define DC_CFG_MSR			0xC0011022
@@ -33,6 +35,8 @@
 #define CPU_ID_FEATURES_MSR		0xC0011004
 #define CPU_ID_EXT_FEATURES_MSR		0xC0011005
 
+#define CORE_PERF_BOOST_CTRL		0x15C
+
 #if defined(__PRE_RAM__)
 void wait_all_core0_started(void);
 void wait_all_other_cores_started(u32 bsp_apicid);

-- 
To view, visit https://review.coreboot.org/20199
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c16dde17f1be41a3310c3ccefe3936aba0e8ec0
Gerrit-Change-Number: 20199
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>



More information about the coreboot-gerrit mailing list