aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-03-25 13:12:23 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-03-26 10:06:09 +0000
commitd25d3b4c4d0e27975ee659a64b6d29f02fdbfde4 (patch)
tree649a912d82c53b372389eea0e4ea29f3a85bf201 /arch/x86/kernel
parentfb4fe87d79511398a68000d2100c825f54b51652 (diff)
downloadkernel_samsung_crespo-d25d3b4c4d0e27975ee659a64b6d29f02fdbfde4.zip
kernel_samsung_crespo-d25d3b4c4d0e27975ee659a64b6d29f02fdbfde4.tar.gz
kernel_samsung_crespo-d25d3b4c4d0e27975ee659a64b6d29f02fdbfde4.tar.bz2
ARM: 6833/1: perf: add required isbs() to ARMv7 backend
The ARMv7 architecture does not guarantee that effects from co-processor writes are immediately visible to following instructions. This patch adds two isbs to the ARMv7 perf code: (1) Immediately after selecting an event register, so that the PMU state following this instruction is consistent with the new event. (2) Immediately before writing to the PMCR, so that any previous writes to the PMU have taken effect before (typically) enabling the counters. Acked-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions