Skip to content

Commit 3f86ba5

Browse files
committed
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: "This contains two fixes: a boot fix for older SGI/UV systems, and an APIC calibration fix" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/tsc: Read all ratio bits from MSR_PLATFORM_INFO x86/platform/UV: Bring back the call to map_low_mmrs in uv_system_init
2 parents 01ec716 + 886123f commit 3f86ba5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/x86/kernel/apic/x2apic_uv_x.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -891,9 +891,7 @@ void __init uv_system_init(void)
891891
}
892892
pr_info("UV: Found %s hub\n", hub);
893893

894-
/* We now only need to map the MMRs on UV1 */
895-
if (is_uv1_hub())
896-
map_low_mmrs();
894+
map_low_mmrs();
897895

898896
m_n_config.v = uv_read_local_mmr(UVH_RH_GAM_CONFIG_MMR );
899897
m_val = m_n_config.s.m_skt;

arch/x86/kernel/tsc_msr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ unsigned long try_msr_calibrate_tsc(void)
9292

9393
if (freq_desc_tables[cpu_index].msr_plat) {
9494
rdmsr(MSR_PLATFORM_INFO, lo, hi);
95-
ratio = (lo >> 8) & 0x1f;
95+
ratio = (lo >> 8) & 0xff;
9696
} else {
9797
rdmsr(MSR_IA32_PERF_STATUS, lo, hi);
9898
ratio = (hi >> 8) & 0x1f;

0 commit comments

Comments
 (0)