diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2020-05-13 14:02:57 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-05-18 17:36:01 +0300 |
commit | 52f3fab0067d6fa9e99c1b7f63265dd48ca76046 (patch) | |
tree | 20c048c36e20e8f83cd5eda12b70b17360d0b4f1 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | d100ff3843b731c5c0c974bc9210cf092a7ec9b6 (diff) | |
download | linux-52f3fab0067d6fa9e99c1b7f63265dd48ca76046.tar.xz |
iommu/arm-smmu-v3: Don't reserve implementation defined register space
Some SMMUv3 implementation embed the Perf Monitor Group Registers (PMCG)
inside the first 64kB region of the SMMU. Since PMCG are managed by a
separate driver, this layout causes resource reservation conflicts
during boot.
To avoid this conflict, don't reserve the MMIO regions that are
implementation defined. Although devm_ioremap_resource() still works on
full pages under the hood, this way we benefit from resource conflict
checks.
Fixes: 7d839b4b9e00 ("perf/smmuv3: Add arm64 smmuv3 pmu driver")
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20200513110255.597203-1-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions