summaryrefslogtreecommitdiffstats
path: root/kernel/events
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2012-04-02 20:19:16 +0200
committerIngo Molnar <mingo@kernel.org>2012-05-09 15:23:16 +0200
commitc9574fe0bdb9ac9a2698e02a712088ce8431e9f8 (patch)
treeaaa5ad58269c78937ffac9ec3fc8ceffd4f55ff7 /kernel/events
parent7caaf4d8241feecafb87919402b0a6dbb1b71d9e (diff)
downloadlinux-c9574fe0bdb9ac9a2698e02a712088ce8431e9f8.tar.gz
linux-c9574fe0bdb9ac9a2698e02a712088ce8431e9f8.tar.bz2
linux-c9574fe0bdb9ac9a2698e02a712088ce8431e9f8.zip
perf/x86-ibs: Implement workaround for IBS erratum #420
When disabling ibs there might be the case where hardware continuously generates interrupts. This is described in erratum #420 (Instruction- Based Sampling Engine May Generate Interrupt that Cannot Be Cleared). To avoid this we must clear the counter mask first and then clear the enable bit. This patch implements this. See Revision Guide for AMD Family 10h Processors, Publication #41322. Note: We now keep track of the last read ibs config value which is then used to disable ibs. To update the config value we pass now a pointer to the functions reading it. Signed-off-by: Robert Richter <robert.richter@amd.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1333390758-10893-11-git-send-email-robert.richter@amd.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions