]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: perf: don't pretend to support counting of L1I writes
authorWill Deacon <will.deacon@arm.com>
Wed, 16 Jan 2013 12:01:59 +0000 (12:01 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 16 Jan 2013 12:01:59 +0000 (12:01 +0000)
commit7e5d8153b28134bc9e5d0d03e1b58cdb72298696
tree87f49311dfb80e19d790fa76f97ceed0536e7628
parent6f99aefc7fdcf2fbf53c4cd187f81af40756c675
ARM: perf: don't pretend to support counting of L1I writes

ARM has a harvard cache architecture and cannot write directly to the
I-side.

This patch removes the L1I write events from the cache map (which
previously returned *read* events in many cases).

Reported-by: Mike Williams <michael.williams@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v6.c
arch/arm/kernel/perf_event_v7.c
arch/arm/kernel/perf_event_xscale.c