]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Perf: Fix 74K cache map
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Tue, 8 Oct 2013 15:17:48 +0000 (16:17 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Oct 2013 20:18:23 +0000 (21:18 +0100)
commit0f32298d705aca7ce1cbcd4c466124874bbae635
treebd53f2a1470b37b79d7e5f5f6e0fe7bcfbc452d4
parentbda5560353da942b7837a6fdb77696dce33e7f90
MIPS: Perf: Fix 74K cache map

According to Software User's Manual, the event of last-level-cache
read/write misses is mapped to even counters. Odd counters of that
event number count miss cycles.

Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6036/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c