]> git.baikalelectronics.ru Git - kernel.git/commit
perf/smmuv3: Synthesize IIDR from CoreSight ID registers
authorRobin Murphy <robin.murphy@arm.com>
Wed, 17 Nov 2021 14:48:45 +0000 (14:48 +0000)
committerWill Deacon <will@kernel.org>
Tue, 14 Dec 2021 12:09:52 +0000 (12:09 +0000)
commitb365c62d16503a4589cef143edac3f129dea2388
tree1273e060a4f49da00c3c773e7d167be9b24b62a2
parent92beba6f5671968ff38628b91f9e0d66ae124cdb
perf/smmuv3: Synthesize IIDR from CoreSight ID registers

The SMMU_PMCG_IIDR register was not present in older revisions of the
Arm SMMUv3 spec. On Arm Ltd. implementations, the IIDR value consists of
fields from several PIDR registers, allowing us to present a
standardized identifier to userspace.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20211117144844.241072-4-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_smmuv3_pmu.c