diff options
author | Jean-Philippe Brucker <[email protected]> | 2020-05-13 13:02:57 +0200 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-05-18 15:36:01 +0100 |
commit | 52f3fab0067d6fa9e99c1b7f63265dd48ca76046 (patch) | |
tree | 20c048c36e20e8f83cd5eda12b70b17360d0b4f1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d100ff3843b731c5c0c974bc9210cf092a7ec9b6 (diff) |
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 <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions