OSDN Git Service

MIPS: perf: Add hardware perf events support for Loongson-3
authorHuacai Chen <chenhc@lemote.com>
Sun, 29 Mar 2015 02:54:08 +0000 (10:54 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:22:17 +0000 (17:22 +0200)
commitf14ceff75545f9a1e62430fe9cc796208569b972
treecccf443f7d4fc6bc7eedbfcaf4d2abe5fb990745
parenta2e50f53d535fa885a432fb9fc3e3ca5ed97364c
MIPS: perf: Add hardware perf events support for Loongson-3

This patch enable hardware performance counter support for Loongson-3's
perf events.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/9618/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/perf_event_mipsxx.c