linux/drivers/perf
Conor Dooley 1d63d1d9e5 perf: starfive: fix 64-bit only COMPILE_TEST condition
ARCH_STARFIVE is not restricted to 64-bit platforms, so while Will's
addition of a 64-bit only condition satisfied the build robots doing
COMPILE_TEST builds, Palmer ran into the same problems with writeq()
being undefined during regular rv32 builds.

Promote the dependency on 64-bit to its own `depends on` so that the
driver can never be included in 32-bit builds.

Reported-by: Palmer Dabbelt <palmer@rivosinc.com>
Fixes: c2b24812f7 ("perf: starfive: Add StarLink PMU support")
Fixes: f0dbc6d0de ("perf: starfive: Only allow COMPILE_TEST for 64-bit architectures")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
Acked-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Link: https://lore.kernel.org/r/20240318-emphatic-rally-f177a4fe1bdc@spud
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2024-03-19 19:01:39 +00: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
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_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_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_pmu.c arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs 2023-12-12 09:46:22 +00:00
arm_pmuv3.c arm64: perf: Add support for event counting threshold 2023-12-12 09:46:22 +00:00
arm_smmuv3_pmu.c perf: arm_smmuv3: Convert to platform remove callback returning void 2024-02-09 15:59:29 +00:00
arm_spe_pmu.c perf: arm_spe: Convert to platform remove callback returning void 2024-02-09 15:59:29 +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 perf/arm-cmn: Improve debugfs pretty-printing for large configs 2024-02-09 16:00:08 +00:00
cxl_pmu.c perf: CXL: fix mismatched number of counters mask 2023-09-05 15:51:18 +01: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
Kconfig perf: starfive: fix 64-bit only COMPILE_TEST condition 2024-03-19 19:01:39 +00:00
Makefile perf: starfive: Add StarLink PMU support 2024-03-04 14:19:48 +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_legacy.c drivers: perf: Implement perf event mmap support in the legacy backend 2023-08-16 07:28:19 -07:00
riscv_pmu_sbi.c riscv: Rearrange hwcap.h and cpufeature.h 2023-11-09 10:15:51 -08:00
riscv_pmu.c drivers: perf: Fix panic in riscv SBI mmap support 2023-10-12 11:46:35 -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