projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f0bac
)
x86/oprofile: op_model_athlon.c: fix counter reset when reenabling IBS OP
author
Robert Richter
<robert.richter@amd.com>
Tue, 22 Jul 2008 19:09:04 +0000
(21:09 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Sat, 26 Jul 2008 09:48:11 +0000
(11:48 +0200)
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Cc: Barry Kasindorf <barry.kasindorf@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/oprofile/op_model_athlon.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/oprofile/op_model_athlon.c
b/arch/x86/oprofile/op_model_athlon.c
index a3a2058c372c23779ba074a274b32f16151bd3d5..9c8c8c58313246ad9a859c42fdad29e92b0ef931 100644
(file)
--- a/
arch/x86/oprofile/op_model_athlon.c
+++ b/
arch/x86/oprofile/op_model_athlon.c
@@
-251,6
+251,7
@@
op_amd_handle_ibs(struct pt_regs * const regs,
(unsigned int *)&ibs_op,
IBS_OP_BEGIN);
rdmsr(MSR_AMD64_IBSOPCTL, low, high);
+ high = 0;
low &= ~IBS_OP_LOW_VALID_BIT;
low |= IBS_OP_LOW_ENABLE;
wrmsr(MSR_AMD64_IBSOPCTL, low, high);
This page took
0.024716 seconds
and
5
git commands to generate.