kernel-aes67/drivers/perf
Pu Lehui ea68731184
drivers/perf: riscv: Disable PERF_SAMPLE_BRANCH_* while not supported
RISC-V perf driver does not yet support branch sampling. Although the
specification is in the works [0], it is best to disable such events
until support is available, otherwise we will get unexpected results.
Due to this reason, two riscv bpf testcases get_branch_snapshot and
perf_branches/perf_branches_hw fail.

Link: https://github.com/riscv/riscv-control-transfer-records [0]
Fixes: f5bfa23f57 ("RISC-V: Add a perf core library for pmu drivers")
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240312012053.1178140-1-pulehui@huaweicloud.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-03-26 14:09:18 -07:00
..
amlogic perf: amlogic: Convert to platform remove callback returning void 2024-02-09 15:59:28 +00:00
arm_cspmu perf/arm_cspmu: Add devicetree support 2024-02-09 17:34:35 +00:00
hisilicon drivers/perf: hisi_pcie: Merge find_related_event() and get_event_idx() 2024-03-04 14:18:29 +00:00
Kconfig RISC-V Patches for the 6.9 Merge Window 2024-03-22 10:41:13 -07:00
Makefile perf: starfive: Add StarLink PMU support 2024-03-04 14:19:48 +00:00
alibaba_uncore_drw_pmu.c perf: alibaba_uncore_drw: Convert to platform remove callback returning void 2024-02-09 15:59:28 +00:00
apple_m1_cpu_pmu.c arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs 2023-12-12 09:46:22 +00:00
arm-cci.c perf: arm-cci: Convert to platform remove callback returning void 2024-02-09 15:59:28 +00:00
arm-ccn.c perf: arm-ccn: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm-cmn.c arm64 updates for 6.9: 2024-03-14 15:35:42 -07:00
arm_dmc620_pmu.c perf: arm_dmc620: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm_dsu_pmu.c perf: arm_dsu: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm_pmu.c arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs 2023-12-12 09:46:22 +00: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 drivers/perf: Explicitly include correct DT includes 2023-07-27 13:02:23 +01:00
arm_pmuv3.c arm64: perf: Add support for event counting threshold 2023-12-12 09:46:22 +00:00
arm_smmuv3_pmu.c arm64 updates for 6.9: 2024-03-14 15:35:42 -07:00
arm_spe_pmu.c perf: arm_spe: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
cxl_pmu.c perf: CXL: fix CPMU filter value mask length 2024-02-20 12:04:07 +00:00
dwc_pcie_pmu.c drivers/perf: add DesignWare PCIe PMU driver 2023-12-13 15:35:28 +00:00
fsl_imx8_ddr_perf.c perf: fsl_imx8_ddr: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
fsl_imx9_ddr_perf.c perf: fsl_imx9_ddr: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
marvell_cn10k_ddr_pmu.c perf: marvell_cn10k_ddr: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00: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_l2: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
qcom_l3_pmu.c perf: qcom: use acpi_device_uid() for fetching _UID 2023-10-20 19:21:14 +02:00
riscv_pmu.c drivers/perf: riscv: Disable PERF_SAMPLE_BRANCH_* while not supported 2024-03-26 14:09:18 -07:00
riscv_pmu_legacy.c drivers: perf: ctr_get_width function for legacy is not defined 2024-02-27 12:55:36 -08:00
riscv_pmu_sbi.c RISC-V Patches for the 6.9 Merge Window 2024-03-22 10:41:13 -07:00
starfive_starlink_pmu.c perf: starfive: Add StarLink PMU support 2024-03-04 14:19:48 +00:00
thunderx2_pmu.c perf: thunderx2: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00
xgene_pmu.c perf: xgene: Convert to platform remove callback returning void 2024-02-09 15:59:30 +00:00