perf/smmuv3: Support sysfs identifier file
authorJohn Garry <john.garry@huawei.com>
Thu, 8 Oct 2020 09:26:21 +0000 (17:26 +0800)
committerWill Deacon <will@kernel.org>
Wed, 25 Nov 2020 15:10:35 +0000 (15:10 +0000)
commit2c255223362e9747075320ba618bd5960b76e04f
tree15397d01f0861f17c0efd7b4cc5cdcae742bf2ef
parentac4511c9364c9a6390e8585cdd4596103bca16eb
perf/smmuv3: Support sysfs identifier file

SMMU_PMCG_IIDR was added in the SMMUv3.3 spec.

For the perf tool to know the specific HW implementation, expose the
PMCG_IIDR contents only when set.

Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1602149181-237415-5-git-send-email-john.garry@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_smmuv3_pmu.c