]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Add TSX Force Abort CPUID/MSR
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Tue, 5 Mar 2019 21:23:17 +0000 (22:23 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 6 Mar 2019 08:25:41 +0000 (09:25 +0100)
commitb884e7b872b3bf62bd15c0063baa6345a0e9d915
treee61af1fcb70735394b1269070d5a763c52cf604c
parent8495baef96c73ea9202d6a4abf5876d71aa91c96
x86: Add TSX Force Abort CPUID/MSR

Skylake systems will receive a microcode update to address a TSX
errata. This microcode will (by default) clobber PMC3 when TSX
instructions are (speculatively or not) executed.

It also provides an MSR to cause all TSX transaction to abort and
preserve PMC3.

Add the CPUID enumeration and MSR definition.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/cpufeatures.h
arch/x86/include/asm/msr-index.h