aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2020-01-14 22:25:46 +0200
committerWill Deacon <will@kernel.org>2020-01-15 12:48:40 +0000
commit9ee68b314e9aa63ed11b98beb8a68810b8234dcf (patch)
tree5cf36a7f44929065ca29a642de9e387b9da1e956 /arch/arm64/Kconfig
parentdrivers/perf: hisi: Simplify hisi_read_sccl_and_ccl_id and its comment (diff)
downloadlinux-dev-9ee68b314e9aa63ed11b98beb8a68810b8234dcf.tar.xz
linux-dev-9ee68b314e9aa63ed11b98beb8a68810b8234dcf.zip
perf/imx_ddr: Fix cpu hotplug state cleanup
This driver allocates a dynamic cpu hotplug state but never releases it. If reloaded in a loop it will quickly trigger a WARN message: "No more dynamic states available for CPU hotplug" Fix by calling cpuhp_remove_multi_state on remove like several other perf pmu drivers. Also fix the cleanup logic on probe error paths: add the missing cpuhp_remove_multi_state call and properly check the return value from cpuhp_state_add_instant_nocalls. Fixes: 9a66d36cc7ac ("drivers/perf: imx_ddr: Add DDR performance counter support to perf") Acked-by: Joakim Zhang <qiangqing.zhang@nxp.com> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions