Skip to content

Commit d9e6dbc

Browse files
lenbIngo Molnar
authored andcommitted
x86/apic: Future-proof the TSC_DEADLINE quirk for SKX
All SKX with stepping higher than 4 support the TSC_DEADLINE, no matter the microcode version. Without this patch, upcoming SKX steppings will not be able to use their TSC_DEADLINE timer. Signed-off-by: Len Brown <[email protected]> Cc: <[email protected]> # v4.14+ Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Fixes: 616dd58 ("x86/apic: Update TSC_DEADLINE quirk with additional SKX stepping") Link: http://lkml.kernel.org/r/d0c7129e509660be9ec6b233284b8d42d90659e8.1532207856.git.len.brown@intel.com Signed-off-by: Ingo Molnar <[email protected]>
1 parent d72e90f commit d9e6dbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/kernel/apic/apic.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,9 @@ static u32 skx_deadline_rev(void)
573573
case 0x04: return 0x02000014;
574574
}
575575

576+
if (boot_cpu_data.x86_stepping > 4)
577+
return 0;
578+
576579
return ~0U;
577580
}
578581

0 commit comments

Comments
 (0)