This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BACKPORT: perf/smmuv3: Remove the leftover put_cpu() in error path In…
… smmu_pmu_probe(), there is put_cpu() in the error path, which is wrong because we use raw_smp_processor_id() to get the cpu ID, not get_cpu(), remove it. While we are at it, kill 'out_cpuhp_err' altogether and just return err if we fail to add the hotplug instance. This patch is belongs to series patches to supports SMMUv3 PMU. Backport from: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/perf?h=v5.6-rc1&id=8ae4bcf4821c18a8fbfa0b2c1df26c1085e9d923 Acked-by: Robin Murphy <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Hanjun Guo <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
- Loading branch information