OSDN Git Service

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)
commitbd9240a18edfbfa72e957fc2ba831cf1f13ea073
treed3a98afdc40e2c4c071e44751f8f095a4d19a6c3
parentc6e9f42bbeecbc10cd4fbcca474b5859aba1de67
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