Current MIPS Perf-events uses older interfaces to the generic layer. So it will not work. This patch set fixes this issue (reported by Wu Zhangjin) by adding MIPS counterparts for a list of previous commits that went to mainline earlier. Changes: v2 - v1: o Corrected the return value of the event check in validate_event(). Deng-Cheng Zhu (5): MIPS/Perf-events: Work with irq_work MIPS/Perf-events: Work with the new PMU interface MIPS/Perf-events: Fix event check in validate_event() MIPS/Perf-events: Work with the new callchain interface MIPS/Perf-events: Use unsigned delta for right shift in event update arch/mips/Kconfig | 1 + arch/mips/include/asm/perf_event.h | 12 +- arch/mips/kernel/perf_event.c | 345 ++++++++++++++++------------------ arch/mips/kernel/perf_event_mipsxx.c | 4 +- 4 files changed, 171 insertions(+), 191 deletions(-)