perf:sbi: disable cpu hotplug callback.
authorMinda Chen <minda.chen@starfivetech.com>
Thu, 2 Mar 2023 09:16:01 +0000 (17:16 +0800)
committerMinda Chen <minda.chen@starfivetech.com>
Thu, 9 Mar 2023 05:50:56 +0000 (13:50 +0800)
commit3df1ffa634c65a91f3888ff3d9761708ff64e314
treeec60c0b465e1f69d379b9b49f2c6898a89b0d8f7
parent3a9e18373466342f25b529fc1f9e2e4b33ff2075
perf:sbi: disable cpu hotplug callback.

register cpu hotplug callback will cause dhrystone
and coremark benchmark reduce the scores. this CPU
hotplug ops will do in sbi cpu/on and off. So disable
this no side effect.

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
drivers/perf/riscv_pmu_sbi.c