diff options
author | Robin Murphy <robin.murphy@arm.com> | 2021-12-03 11:44:50 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-12-14 12:09:27 +0000 |
commit | 56c7c6eaf3eb8ac1ec40d56096c0f2b27250da5f (patch) | |
tree | 72af50c25ba36c18f9505c6f8bd10426d91eefdc /drivers/scsi/wd719x.h | |
parent | d58071a8a76d779eedab38033ae4c821c30295a5 (diff) | |
download | linux-56c7c6eaf3eb8ac1ec40d56096c0f2b27250da5f.tar.bz2 |
perf/arm-cmn: Fix CPU hotplug unregistration
Attempting to migrate the PMU context after we've unregistered the PMU
device, or especially if we never successfully registered it in the
first place, is a woefully bad idea. It's also fundamentally pointless
anyway. Make sure to unregister an instance from the hotplug handler
*without* invoking the teardown callback.
Fixes: 0ba64770a2f2 ("perf: Add Arm CMN-600 PMU driver")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/2c221d745544774e4b07583b65b5d4d94f7e0fe4.1638530442.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/scsi/wd719x.h')
0 files changed, 0 insertions, 0 deletions