Shang XiaoJing
d69bdb61d5
perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
...
[ Upstream commit 6f2d566b46436a50a80d6445e82879686b89588c ]
arm_smmu_pmu_init() won't remove the callback added by
cpuhp_setup_state_multi() when platform_driver_register() failed. Remove
the callback by cpuhp_remove_multi_state() in fail path.
Similar to the handling of arm_ccn_init() in commit 26242b330093 ("bus:
arm-ccn: Prevent hotplug callback leak")
Fixes: 7d839b4b9e00 ("perf/smmuv3: Add arm64 smmuv3 pmu driver")
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Reviewed-by: Punit Agrawal <punit.agrawal@bytedance.com>
Link: https://lore.kernel.org/r/20221115115540.6245-3-shangxiaojing@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:40:50 +01:00
..
2022-10-29 10:20:36 +02:00
2022-12-08 11:23:01 +01:00
2022-11-25 17:42:15 +01:00
2022-08-25 11:18:26 +02:00
2022-11-03 23:56:56 +09:00
2022-11-25 17:42:16 +01:00
2022-08-25 11:17:47 +02:00
2022-12-08 11:22:57 +01:00
2022-12-08 11:23:06 +01:00
2022-10-26 13:22:59 +02:00
2022-12-08 11:23:06 +01:00
2022-10-07 09:16:54 +02:00
2022-10-26 13:22:46 +02:00
2022-04-15 14:18:12 +02:00
2022-07-07 17:36:49 +02:00
2022-11-25 17:42:10 +01:00
2022-09-05 10:27:45 +02:00
2022-04-27 13:50:48 +02:00
2022-06-14 18:12:00 +02:00
2022-05-12 12:23:41 +02:00
2022-12-08 11:23:00 +01:00
2022-08-25 11:17:51 +02:00
2022-10-26 13:22:41 +02:00
2022-12-14 11:30:44 +01:00
2022-12-14 11:30:44 +01:00
2022-04-15 14:17:58 +02:00
2023-01-18 11:40:48 +01:00
2022-10-26 13:22:36 +02:00
2022-12-08 11:22:58 +01:00
2022-12-08 11:23:03 +01:00
2022-08-25 11:18:13 +02:00
2022-11-25 17:42:12 +01:00
2022-10-07 09:16:55 +02:00
2022-12-08 11:23:02 +01:00
2022-11-10 17:57:50 +01:00
2022-12-08 11:23:00 +01:00
2022-12-08 11:23:04 +01:00
2022-08-25 11:18:32 +02:00
2022-11-25 17:42:15 +01:00
2022-05-09 09:03:20 +02:00
2022-08-11 12:57:53 +02:00
2022-10-26 13:22:44 +02:00
2022-12-08 11:23:01 +01:00
2022-12-14 11:30:43 +01:00
2022-10-26 13:22:31 +02:00
2022-08-25 11:17:55 +02:00
2022-10-26 13:22:42 +02:00
2022-11-25 17:42:20 +01:00
2022-12-08 11:23:06 +01:00
2022-11-25 17:42:11 +01:00
2023-01-18 11:40:49 +01:00
2022-12-08 11:22:59 +01:00
2022-08-25 11:18:26 +02:00
2022-07-07 17:36:48 +02:00
2022-12-14 11:30:46 +01:00
2022-12-08 11:23:02 +01:00
2022-08-25 11:18:00 +02:00
2022-11-10 17:57:56 +01:00
2022-11-25 17:42:14 +01:00
2022-10-26 13:22:16 +02:00
2022-06-14 18:11:50 +02:00
2023-01-18 11:40:50 +01:00
2022-11-25 17:42:03 +01:00
2022-12-19 12:24:16 +01:00
2022-12-08 11:23:00 +01:00
2023-01-18 11:40:50 +01:00
2022-10-26 13:22:47 +02:00
2022-04-15 14:18:32 +02:00
2022-06-14 18:11:51 +02:00
2022-12-14 11:30:41 +01:00
2022-08-25 11:18:02 +02:00
2022-04-27 13:50:47 +02:00
2022-10-15 07:54:38 +02:00
2022-06-14 18:11:53 +02:00
2022-12-08 11:22:59 +01:00
2022-11-10 17:57:53 +01:00
2022-11-25 17:42:14 +01:00
2022-11-25 17:42:17 +01:00
2023-01-18 11:40:50 +01:00
2022-08-25 11:17:54 +02:00
2022-12-08 11:23:02 +01:00
2022-10-26 13:22:43 +02:00
2022-11-25 17:42:18 +01:00
2022-11-25 17:42:20 +01:00
2022-12-08 11:22:57 +01:00
2022-10-26 13:23:01 +02:00
2022-09-15 12:04:52 +02:00
2022-12-08 11:23:00 +01:00
2023-01-18 11:40:49 +01:00
2022-08-25 11:18:36 +02:00
2022-10-26 13:22:25 +02:00
2022-12-14 11:30:41 +01:00
2022-08-25 11:18:33 +02:00
2022-07-21 20:59:24 +02:00
2022-04-15 14:18:35 +02:00
2022-08-25 11:18:06 +02:00
2022-12-08 11:23:00 +01:00