OpenCloudOS-Kernel/drivers/perf
Robin Murphy e20ac6c54a perf/arm_pmu_platform: Clean up with dev_printk
Nearly all of the messages we can log from the platform device code
relate to the specific PMU device and the properties we're parsing from
its DT node. In some cases we use %pOF to point at where something was
wrong, but even that is inconsistent. Let's convert these logs to the
appropriate dev_printk variants, so that every issue specific to the
device and/or its DT description is clearly and instantly attributable,
particularly if there is more than one PMU node present in the DT.

The local refactoring in a couple of functions invites some extra
cleanup in the process - the init_fn matching can be streamlined, and
the PMU registration failure message moved to the appropriate place and
log level.

CC: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/10a4aacdf071d0c03d061c408a5899e5b32cc0a6.1616774562.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2021-03-30 11:41:50 +01:00
..
hisilicon drivers/perf: hisi: Add support for HiSilicon PA PMU driver 2021-03-25 13:03:46 +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
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
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.c perf: Constify static struct attribute_group 2021-01-20 17:51:23 +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/arm_pmu_platform: Clean up with dev_printk 2021-03-30 11:41:50 +01: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
fsl_imx8_ddr_perf.c drivers/perf: convert sysfs sprintf family to sysfs_emit 2021-03-25 12:55:44 +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