drivers/perf: Simplify the SMMUv3 PMU event attributes
authorQi Liu <liuqi115@huawei.com>
Mon, 8 Feb 2021 13:04:58 +0000 (21:04 +0800)
committerWill Deacon <will@kernel.org>
Thu, 25 Mar 2021 12:58:39 +0000 (12:58 +0000)
commit174744136dcb6d441efdaaffd214f91a352bf6c7
treecc9bddd2aa6b86b5f374bcff84317b450ac29014
parentfb62d67586afc046f3783d819985c737f6b0b666
drivers/perf: Simplify the SMMUv3 PMU event attributes

For each PMU event, there is a SMMU_EVENT_ATTR(xx, XX) and
&smmu_event_attr_xx.attr.attr. Let's redefine the SMMU_EVENT_ATTR
to simplify the smmu_pmu_events.

Signed-off-by: Qi Liu <liuqi115@huawei.com>
Link: https://lore.kernel.org/r/1612789498-12957-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_smmuv3_pmu.c