]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5470312cb11721cba16d7d91a9b021a3bea41b8e
tree15397d01f0861f17c0efd7b4cc5cdcae742bf2ef
parent1c498f259d54f9ed1e929e9253dd3dcbc5c123bc
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