intel: Replace msr(0x198) with msr(IA32_PERF_STATUS)
Change-Id: I22241427d1405de2e2eb2b3cfb029f3ce2c8dace Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/22585 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
committed by
Stefan Reinauer
parent
3df9dbe886
commit
242ea84b01
@@ -94,7 +94,7 @@ static void configure_misc(void)
|
||||
wrmsr(IA32_MISC_ENABLE, msr);
|
||||
|
||||
// set maximum CPU speed
|
||||
msr = rdmsr(IA32_PERF_STS);
|
||||
msr = rdmsr(IA32_PERF_STATUS);
|
||||
int busratio_max = (msr.hi >> (40-32)) & 0x1f;
|
||||
|
||||
msr = rdmsr(IA32_PLATFORM_ID);
|
||||
|
Reference in New Issue
Block a user