]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: perf: Add cpu feature bit for PCI (performance counter interrupt)
authorAl Cooper <alcooperx@gmail.com>
Fri, 13 Jul 2012 20:44:51 +0000 (16:44 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 15 Aug 2012 18:31:09 +0000 (20:31 +0200)
commit0b724c5a224c795c9f380a776778dda94ae5e95e
tree91718cfd9e5b5555bfcdec84184df7dd024c521c
parent7d2c262df51ffa6330830b0d1ecb8ddc2eaf2fe7
MIPS: perf: Add cpu feature bit for PCI (performance counter interrupt)

The PCI (Program Counter Interrupt) bit in the "cause" register
is mandatory for MIPS32R2 cores, but has also been added to some R1
cores (BMIPS5000). This change adds a cpu feature bit to make it
easier to check for and use this feature.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/4106/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-features.h
arch/mips/include/asm/cpu.h
arch/mips/include/asm/mipsregs.h
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/perf_event_mipsxx.c