MIPS: Unify perf counter register definitions
authorJames Hogan <james.hogan@imgtec.com>
Mon, 6 Feb 2017 12:37:45 +0000 (12:37 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 14 Feb 2017 09:00:24 +0000 (09:00 +0000)
commit2654294bac83a64101c360eac4d42d5ac1b1b911
treed9c935f7bfdd0451d05df9bdf68f4894201a3b09
parent573deec09436c9136fff6d78e0325e052a1ad6be
MIPS: Unify perf counter register definitions

Unify definitions for MIPS performance counter register fields in
mipsregs.h rather than duplicating them in perf_events and oprofile.
This will allow future patches to use them to expose performance
counters to KVM guests.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Robert Richter <rric@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: oprofile-list@lists.sf.net
Patchwork: https://patchwork.linux-mips.org/patch/15212/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/mips/include/asm/mipsregs.h
arch/mips/kernel/perf_event_mipsxx.c
arch/mips/oprofile/op_model_mipsxx.c