]> git.baikalelectronics.ru Git - kernel.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)
commit7b80cc6af6d4a285d4cd5e1009b6f349ad742c64
treee05068bba067dfc7c88378383b7166a25f4f6f47
parenta924d9ee0874f8611629e6f9c41761529ef54890
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