0e1e88bba2
[ Upstream commit b805cafc604bfdb671fae7347a57f51154afa735 ] When we fail to register the uncore pmu, the pmu context may not been allocated. The error handing will call cpuhp_state_remove_instance() to call uncore pmu offline callback, which migrate the pmu context. Since that's liable to lead to some kind of use-after-free. Use cpuhp_state_remove_instance_nocalls() instead of cpuhp_state_remove_instance() so that the notifiers don't execute after the PMU device has been failed to register. Fixes: |
||
---|---|---|
.. | ||
hisilicon | ||
Kconfig | ||
Makefile | ||
arm-cci.c | ||
arm-ccn.c | ||
arm-cmn.c | ||
arm_dmc620_pmu.c | ||
arm_dsu_pmu.c | ||
arm_pmu.c | ||
arm_pmu_acpi.c | ||
arm_pmu_platform.c | ||
arm_smmuv3_pmu.c | ||
arm_spe_pmu.c | ||
fsl_imx8_ddr_perf.c | ||
qcom_l2_pmu.c | ||
qcom_l3_pmu.c | ||
thunderx2_pmu.c | ||
xgene_pmu.c |