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.
perf/smmuv3: Allow sharing MMIO registers with the SMMU driver
Some Arm SMMUv3 implementations, for example Arm CoreLink MMU-600, embed the PMCG registers into the SMMU MMIO regions. It currently causes probe failure because the PMU and SMMU drivers request overlapping resources. Avoid the conflict by calling devm_ioremap() directly from the PMU driver. We loose some sanity-checking of the memory map provided by firmware, which doesn't seem catastrophic. Backport from: https://lore.kernel.org/linux-arm-kernel/[email protected]/ Signed-off-by: Jean-Philippe Brucker <[email protected]> Signed-off-by: Tuan Phan <[email protected]> Signed-off-by: Tuan Phan <[email protected]>
- Loading branch information