summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4trace.c
diff options
context:
space:
mode:
authorPeter Zijlstra (Intel) <peterz@infradead.org>2019-03-05 22:23:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-13 14:02:41 -0700
commit26b6e018e558e94de73b35b0c5e18c3efd3634c3 (patch)
tree7dd620b135eb6ae31b2e7988585556fb294c8e36 /fs/nfs/nfs4trace.c
parentfdd820949a745930738720c518df38e5dc99b3c2 (diff)
downloadlinux-rpi3-26b6e018e558e94de73b35b0c5e18c3efd3634c3.tar.gz
linux-rpi3-26b6e018e558e94de73b35b0c5e18c3efd3634c3.tar.bz2
linux-rpi3-26b6e018e558e94de73b35b0c5e18c3efd3634c3.zip
perf/x86/intel: Implement support for TSX Force Abort
commit 400816f60c543153656ac74eaf7f36f6b7202378 upstream Skylake (and later) will receive a microcode update to address a TSX errata. This microcode will, on execution of a TSX instruction (speculative or not) use (clobber) PMC3. This update will also provide a new MSR to change this behaviour along with a CPUID bit to enumerate the presence of this new MSR. When the MSR gets set; the microcode will no longer use PMC3 but will Force Abort every TSX transaction (upon executing COMMIT). When TSX Force Abort (TFA) is allowed (default); the MSR gets set when PMC3 gets scheduled and cleared when, after scheduling, PMC3 is unused. When TFA is not allowed; clear PMC3 from all constraints such that it will not get used. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/nfs4trace.c')
0 files changed, 0 insertions, 0 deletions