linux/drivers/perf
Yicong Yang b625a08356 drivers/perf: hisi: Relax the event ID check in the framework
[ Upstream commit 43de0ac332 ]

Event ID is only using the attr::config bit [7, 0] but we check the
event range using the whole 64bit field. It blocks the usage of the
rest field of attr::config. Relax the check by only using the
bit [7, 0].

Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Yushan Wang <wangyushan12@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-10-29 14:08:53 +01:00
..
amlogic perf/amlogic: Replace smp_processor_id() with raw_smp_processor_id() in meson_ddr_pmu_create() 2025-06-19 15:31:38 +02:00
arm_cspmu perf: add missing MODULE_DESCRIPTION() macros 2024-07-10 13:04:38 +01:00
hisilicon drivers/perf: hisi: Relax the event ID check in the framework 2025-10-29 14:08:53 +01:00
alibaba_uncore_drw_pmu.c drivers/perf: Fix ali_drw_pmu driver interrupt status clearing 2024-08-23 16:03:56 +01:00
apple_m1_cpu_pmu.c drivers/perf: apple_m1: add known PMU events 2024-08-23 15:52:48 +01:00
arm-cci.c Driver core changes for 6.10-rc1 2024-05-22 12:13:40 -07:00
arm-ccn.c perf: add missing MODULE_DESCRIPTION() macros 2024-07-10 13:04:38 +01:00
arm-cmn.c perf/arm-cmn: Fix CMN S3 DTM offset 2025-10-19 16:33:45 +02:00
arm-ni.c perf/arm: Add missing .suppress_bind_attrs 2025-08-20 18:30:33 +02:00
arm_dmc620_pmu.c perf/arm-dmc620: Fix lockdep assert in ->event_init() 2024-05-17 16:48:05 +01:00
arm_dsu_pmu.c Driver core changes for 6.10-rc1 2024-05-22 12:13:40 -07:00
arm_pmu.c perf: arm_pmu: Don't disable counter in armpmu_add() 2025-04-20 10:15:11 +02:00
arm_pmu_acpi.c arm_pmu: acpi: Add a representative platform device for TRBE 2023-08-18 18:07:10 +01:00
arm_pmu_platform.c perf: arm_pmu: Use of_property_present() 2024-08-16 13:08:21 +01:00
arm_pmuv3.c perf: arm_pmuv3: Call kvm_vcpu_pmu_resync_el0() before enabling counters 2025-05-29 11:02:34 +02:00
arm_smmuv3_pmu.c perf/arm-smmuv3: Fix lockdep assert in ->event_init() 2024-12-05 14:03:06 +01:00
arm_spe_pmu.c perf: arm_spe: Prevent overflow in PERF_IDX2OFF() 2025-10-15 11:59:54 +02:00
arm_v6_pmu.c perf: arm_pmu: Remove event index to counter remapping 2024-08-16 13:09:11 +01:00
arm_v7_pmu.c perf: arm_pmu: Remove event index to counter remapping 2024-08-16 13:09:11 +01:00
arm_xscale_pmu.c perf: arm_pmu: Remove event index to counter remapping 2024-08-16 13:09:11 +01:00
cxl_pmu.c perf/cxlpmu: Remove unintended newline from IRQ name format string 2025-08-20 18:30:31 +02:00
dwc_pcie_pmu.c perf/dwc_pcie: fix some unreleased resources 2025-04-20 10:15:11 +02:00
fsl_imx8_ddr_perf.c perf: add missing MODULE_DESCRIPTION() macros 2024-07-10 13:04:38 +01:00
fsl_imx9_ddr_perf.c perf: imx_perf: add support for i.MX95 platform 2024-07-01 15:42:59 +01:00
Kconfig perf: Add driver for Arm NI-700 interconnect PMU 2024-09-06 12:58:28 +01:00
Makefile perf: Add driver for Arm NI-700 interconnect PMU 2024-09-06 12:58:28 +01:00
marvell_cn10k_ddr_pmu.c perf: add missing MODULE_DESCRIPTION() macros 2024-07-10 13:04:38 +01:00
marvell_cn10k_tad_pmu.c perf: marvell_cn10k_tad: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
qcom_l2_pmu.c perf/qcom: Assign parents for event_source devices 2024-04-19 15:59:30 +01:00
qcom_l3_pmu.c Driver core changes for 6.10-rc1 2024-05-22 12:13:40 -07:00
riscv_pmu.c drivers/perf: riscv: Remove redundant macro check 2024-09-15 20:15:48 -07:00
riscv_pmu_legacy.c drivers/perf: riscv: Align errno for unsupported perf event 2024-10-01 02:47:39 -07:00
riscv_pmu_sbi.c drivers/perf: riscv: Return error for default case 2025-01-17 13:40:45 +01:00
starfive_starlink_pmu.c perf: starfive: Add StarLink PMU support 2024-03-04 14:19:48 +00:00
thunderx2_pmu.c perf/thunderx2: Assign parents for event_source devices 2024-04-19 15:59:29 +01:00
xgene_pmu.c Driver core changes for 6.10-rc1 2024-05-22 12:13:40 -07:00