]> git.baikalelectronics.ru Git - kernel.git/commit
x86/apic: Add TSC_DEADLINE quirk due to errata
authorPeter Zijlstra <peterz@infradead.org>
Wed, 31 May 2017 15:52:03 +0000 (17:52 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 4 Jun 2017 19:55:53 +0000 (21:55 +0200)
commitd65fefb67392aacc120fbb4c03d1b397425085f4
treed3a98afdc40e2c4c071e44751f8f095a4d19a6c3
parenta557eb063b3a4eec1d03c7305c6233188b26ae8d
x86/apic: Add TSC_DEADLINE quirk due to errata

Due to errata it is possible for the TSC_DEADLINE timer to misbehave
after using TSC_ADJUST. A microcode update is available to fix this
situation.

Avoid using the TSC_DEADLINE timer if it is affected by this issue and
report the required microcode version.

[ tglx: Renamed function to apic_check_deadline_errata() ]

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: kevin.b.stanton@intel.com
Link: http://lkml.kernel.org/r/20170531155306.050849877@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/apic.c