summaryrefslogtreecommitdiff
path: root/src/device/device_util.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-23 22:58:46 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-24 19:03:10 +0000
commitfe26be1181510a0532df632506410d9cab57a20d (patch)
tree19f18981ed34ec229f68b3508e2239a15e85787e /src/device/device_util.c
parentbe756f18df6ff2fb14cb05e2dab248dd46f4a53e (diff)
downloadcoreboot-fe26be1181510a0532df632506410d9cab57a20d.tar.xz
cpu/intel/common: Fix invalid MSR access
Fix regression from commit ecea916 cpu/intel/common: Extend FSB detection to cover TSC MSR_EBC_FREQUENCY_ID (0x2c) was not defined for affected CPU models and rdmsr() caused reset loops. Implementations deviate from public documentation. Change to IA32_PERF_STATUS (0x198) already used in i945/udelay.c to detect FSB to TSC multiplier. Change-Id: I7a91da221920a7e7bfccb98d76115b5c89e3b52e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35548 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/device/device_util.c')
0 files changed, 0 insertions, 0 deletions