diff options
author | Alexander Shishkin <[email protected]> | 2016-09-06 16:23:52 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-09-10 11:15:38 +0200 |
commit | 4d4c474124649198d9b0a065c06f9362cf18e14e (patch) | |
tree | 083b459c3189cf850794b9f0d53fe0eb8af5652d /net/unix/sysctl_net_unix.c | |
parent | a9a94401c2b5805c71e39427b1af1bf1b9f67cd0 (diff) |
perf/x86/intel/bts: Fix BTS PMI detection
Since BTS doesn't have a dedicated PMI status bit, the driver needs to
take extra care to check for the condition that triggers it to avoid
spurious NMI warnings.
Regardless of the local BTS context state, the only way of knowing that
the NMI is ours is to compare the write pointer against the interrupt
threshold.
Reported-by: Vince Weaver <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions