mirror-linux/drivers/perf/hisilicon
Yicong Yang a084c3c4a2 drivers/perf: hisi: Add tt_core_deprecated for compatibility
Previously tt_core is defined as config1:0-7 which may not cover all
the CPUs sharing L3C on platforms with more than 8 CPUs in a L3C. In
order to support such platforms extend tt_core to 16 bits, since no
spare space in config1, tt_core was moved to config2:0-15.

Though linux expects the users to retrieve the control encoding from
sysfs first for each option, it's possible if user doesn't follow
this and hardcoded tt_core in config1. So add an option
tt_core_deprecated for config1:0-7 for backward compatibility.

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Will Deacon <will@kernel.org>
2025-09-25 13:51:59 +01: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 MN PMU driver 2025-09-18 14:54:29 +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: Add tt_core_deprecated for compatibility 2025-09-25 13:51:59 +01:00
hisi_uncore_mn_pmu.c drivers/perf: hisi: Add support for HiSilicon MN PMU driver 2025-09-18 14:54:29 +01:00
hisi_uncore_noc_pmu.c drivers/perf: hisi: Add support for HiSilicon NoC PMU 2025-09-18 14:54:29 +01: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: Export hisi_uncore_pmu_isr() 2025-09-22 13:14:37 +01:00
hisi_uncore_pmu.h drivers/perf: hisi: Add support for L3C PMU v3 2025-09-22 13:14:38 +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