linux/drivers/perf
Shaokun Zhang a0ab25cd82 drivers/perf: hisi: Add support for HiSilicon PA PMU driver
On HiSilicon Hip09 platform, there is a PA (Protocol Adapter) module on
each chip SICL (Super I/O Cluster) which incorporates three Hydra interface
and facilitates the cache coherency between the dies on the chip. While PA
uncore PMU model is the same as other Hip09 PMU modules and many PMU events
are supported. Let's support the PMU driver using the HiSilicon uncore PMU
framework.

PA PMU supports the following filter functions:
* tracetag_en: allows user to count events according to tt_req or
tt_core set in L3C PMU. It's the same as other PMUs.

* srcid_cmd & srcid_msk: allows user to filter statistics that come from
specific CCL/ICL by configuration source ID.

* tgtid_cmd & tgtid_msk: it is the similar function to srcid_cmd &
srcid_msk. Both are used to check where the data comes from or go to.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Co-developed-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1615186237-22263-9-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
2021-03-25 13:03:46 +00:00
..
hisilicon drivers/perf: hisi: Add support for HiSilicon PA PMU driver 2021-03-25 13:03:46 +00:00
arm_dmc620_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
arm_dsu_pmu.c drivers/perf: convert sysfs snprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
arm_pmu_acpi.c drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer 2020-03-02 12:07:35 +00:00
arm_pmu_platform.c perf: Convert to using %pOFn instead of device_node.name 2018-10-01 11:33:17 +01:00
arm_pmu.c perf: Constify static struct attribute_group 2021-01-20 17:51:23 +00:00
arm_smmuv3_pmu.c drivers/perf: Simplify the SMMUv3 PMU event attributes 2021-03-25 12:58:39 +00:00
arm_spe_pmu.c drivers/perf: convert sysfs snprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
arm-cci.c drivers/perf: convert sysfs snprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
arm-ccn.c drivers/perf: convert sysfs scnprintf family to sysfs_emit_at() and sysfs_emit() 2021-03-25 12:55:44 +00:00
arm-cmn.c drivers/perf: convert sysfs snprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
fsl_imx8_ddr_perf.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
Kconfig driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3 2021-02-01 12:39:40 +00:00
Makefile driver/perf: Add PMU driver for the ARM DMC-620 memory controller 2020-11-25 14:51:21 +00:00
qcom_l2_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
qcom_l3_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
thunderx2_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00
xgene_pmu.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +00:00