linux/drivers/perf/hisilicon
Yicong Yang 64a028c85b 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:10:17 +01:00
..
hisi_pcie_pmu.c drivers/perf: hisi_pcie: Export supported Root Ports [bdf_min, bdf_max] 2024-08-30 11:43:10 +01:00
hisi_uncore_cpa_pmu.c drivers/perf: hisi: Provide a generic implementation of cpumask/identifier 2024-12-10 15:57:24 +00:00
hisi_uncore_ddrc_pmu.c drivers/perf: hisi: Relax the event number check of v2 PMUs 2025-07-14 15:42:16 +01:00
hisi_uncore_hha_pmu.c drivers/perf: hisi: Relax the event number check of v2 PMUs 2025-07-14 15:42:16 +01:00
hisi_uncore_l3c_pmu.c drivers/perf: hisi: Provide a generic implementation of cpumask/identifier 2024-12-10 15:57:24 +00:00
hisi_uncore_pa_pmu.c drivers/perf: hisi: Relax the event number check of v2 PMUs 2025-07-14 15:42:16 +01:00
hisi_uncore_pmu.c drivers/perf: hisi: Relax the event ID check in the framework 2025-10-29 14:10:17 +01:00
hisi_uncore_pmu.h drivers/perf: hisi: Relax the event ID check in the framework 2025-10-29 14:10:17 +01:00
hisi_uncore_sllc_pmu.c drivers/perf: hisi: Relax the event number check of v2 PMUs 2025-07-14 15:42:16 +01:00
hisi_uncore_uc_pmu.c drivers/perf: hisi: Provide a generic implementation of cpumask/identifier 2024-12-10 15:57:24 +00:00
hns3_pmu.c Driver core changes for 6.10-rc1 2024-05-22 12:13:40 -07:00
Kconfig drivers/perf: hisi: add driver for HNS3 PMU 2022-07-06 11:25:53 +01:00
Makefile drivers/perf: hisi: Add support for HiSilicon UC PMU driver 2023-06-16 12:27:38 +01:00