]> www.infradead.org Git - users/dwmw2/linux.git/commit
csky: Fixup perf probe failed
authorGuo Ren <guoren@linux.alibaba.com>
Fri, 13 Nov 2020 09:48:27 +0000 (09:48 +0000)
committerGuo Ren <guoren@linux.alibaba.com>
Tue, 12 Jan 2021 01:52:40 +0000 (09:52 +0800)
commit398cb92495cc1972014ffa81ff9cea1e5167b8df
treee05068bba067dfc7c88378383b7166a25f4f6f47
parent0c8a32eed1625a65798286fb73fea8710a908545
csky: Fixup perf probe failed

Current perf init will failed with:
[    1.452433] csky-pmu: probe of soc:pmu failed with error -16

This patch fix it up with adding CPUHP_AP_PERF_CSKY_ONLINE in
cpuhotplug.h.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
arch/csky/kernel/perf_event.c
include/linux/cpuhotplug.h