* [PATCH] perf: Process subdirectory Makefiles unconditionally
@ 2026-11-06 18:49 Robin Murphy
2026-11-06 18:54 ` sashiko-bot
2026-11-11 17:34 ` Robin Murphy
0 siblings, 2 replies; 3+ messages in thread
From: Robin Murphy @ 2026-11-06 18:49 UTC (permalink / raw)
To: will; +Cc: mark.rutland, linux-perf-users, linux-arm-kernel
Our subdirectories here are purely for file-level organisation rather
than any particular build structure, and everything in the Makefiles
is already conditional on the appropriate config options. Plus they're
not exactly big and complex, so for simplicity let's just drop the
top-level conditions.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
---
drivers/perf/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/perf/Makefile b/drivers/perf/Makefile
index eb8a022dad9a..8c3146c604ce 100644
--- a/drivers/perf/Makefile
+++ b/drivers/perf/Makefile
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
+obj-y += amlogic/ arm_cspmu/ hisilicon/
obj-$(CONFIG_ARM_CCI_PMU) += arm-cci.o
obj-$(CONFIG_ARM_CCN) += arm-ccn.o
obj-$(CONFIG_ARM_CMN) += arm-cmn.o
@@ -14,7 +15,6 @@ obj-$(CONFIG_ARM_SMMU_V3_PMU) += arm_smmuv3_pmu.o
obj-$(CONFIG_FSL_IMX8_DDR_PMU) += fsl_imx8_ddr_perf.o
obj-$(CONFIG_FSL_IMX9_DDR_PMU) += fsl_imx9_ddr_perf.o
obj-$(CONFIG_FUJITSU_UNCORE_PMU) += fujitsu_uncore_pmu.o
-obj-$(CONFIG_HISI_PMU) += hisilicon/
obj-$(CONFIG_QCOM_L2_PMU) += qcom_l2_pmu.o
obj-$(CONFIG_QCOM_L3_PMU) += qcom_l3_pmu.o
obj-$(CONFIG_RISCV_PMU) += riscv_pmu.o
@@ -32,8 +32,6 @@ obj-$(CONFIG_MARVELL_PEM_PMU) += marvell_pem_pmu.o
obj-$(CONFIG_APPLE_M1_CPU_PMU) += apple_m1_cpu_pmu.o
obj-$(CONFIG_ALIBABA_UNCORE_DRW_PMU) += alibaba_uncore_drw_pmu.o
obj-$(CONFIG_DWC_PCIE_PMU) += dwc_pcie_pmu.o
-obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += arm_cspmu/
-obj-$(CONFIG_MESON_DDR_PMU) += amlogic/
obj-$(CONFIG_CXL_PMU) += cxl_pmu.o
obj-$(CONFIG_NVIDIA_TEGRA410_CMEM_LATENCY_PMU) += nvidia_t410_cmem_latency_pmu.o
obj-$(CONFIG_NVIDIA_TEGRA410_C2C_PMU) += nvidia_t410_c2c_pmu.o
--
2.54.0.dirty
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] perf: Process subdirectory Makefiles unconditionally
2026-11-06 18:49 [PATCH] perf: Process subdirectory Makefiles unconditionally Robin Murphy
@ 2026-11-06 18:54 ` sashiko-bot
2026-11-11 17:34 ` Robin Murphy
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-11-06 18:54 UTC (permalink / raw)
To: Robin Murphy; +Cc: linux-perf-users
> Our subdirectories here are purely for file-level organisation rather
> than any particular build structure, and everything in the Makefiles
> is already conditional on the appropriate config options. Plus they're
> not exactly big and complex, so for simplicity let's just drop the
> top-level conditions.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/4b2e518499270b2a6cab3e04a1123458d82d2759.1793990977.git.robin.murphy@arm.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] perf: Process subdirectory Makefiles unconditionally
2026-11-06 18:49 [PATCH] perf: Process subdirectory Makefiles unconditionally Robin Murphy
2026-11-06 18:54 ` sashiko-bot
@ 2026-11-11 17:34 ` Robin Murphy
1 sibling, 0 replies; 3+ messages in thread
From: Robin Murphy @ 2026-11-11 17:34 UTC (permalink / raw)
To: will; +Cc: mark.rutland, linux-perf-users, linux-arm-kernel
On 06/11/2026 6:49 pm, Robin Murphy wrote:
> Our subdirectories here are purely for file-level organisation rather
> than any particular build structure, and everything in the Makefiles
> is already conditional on the appropriate config options. Plus they're
> not exactly big and complex, so for simplicity let's just drop the
> top-level conditions.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> ---
> drivers/perf/Makefile | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/perf/Makefile b/drivers/perf/Makefile
> index eb8a022dad9a..8c3146c604ce 100644
> --- a/drivers/perf/Makefile
> +++ b/drivers/perf/Makefile
> @@ -1,4 +1,5 @@
> # SPDX-License-Identifier: GPL-2.0
> +obj-y += amlogic/ arm_cspmu/ hisilicon/
> obj-$(CONFIG_ARM_CCI_PMU) += arm-cci.o
> obj-$(CONFIG_ARM_CCN) += arm-ccn.o
> obj-$(CONFIG_ARM_CMN) += arm-cmn.o
> @@ -14,7 +15,6 @@ obj-$(CONFIG_ARM_SMMU_V3_PMU) += arm_smmuv3_pmu.o
> obj-$(CONFIG_FSL_IMX8_DDR_PMU) += fsl_imx8_ddr_perf.o
> obj-$(CONFIG_FSL_IMX9_DDR_PMU) += fsl_imx9_ddr_perf.o
> obj-$(CONFIG_FUJITSU_UNCORE_PMU) += fujitsu_uncore_pmu.o
> -obj-$(CONFIG_HISI_PMU) += hisilicon/
Ha, in fact this might technically fix a bug already, since Sashiko's
hilarious internal monologue inadvertently highlights that HNS3_PMU can
be selected without HISI_PMU, but currently wouldn't be built if so.
Robin.
> obj-$(CONFIG_QCOM_L2_PMU) += qcom_l2_pmu.o
> obj-$(CONFIG_QCOM_L3_PMU) += qcom_l3_pmu.o
> obj-$(CONFIG_RISCV_PMU) += riscv_pmu.o
> @@ -32,8 +32,6 @@ obj-$(CONFIG_MARVELL_PEM_PMU) += marvell_pem_pmu.o
> obj-$(CONFIG_APPLE_M1_CPU_PMU) += apple_m1_cpu_pmu.o
> obj-$(CONFIG_ALIBABA_UNCORE_DRW_PMU) += alibaba_uncore_drw_pmu.o
> obj-$(CONFIG_DWC_PCIE_PMU) += dwc_pcie_pmu.o
> -obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += arm_cspmu/
> -obj-$(CONFIG_MESON_DDR_PMU) += amlogic/
> obj-$(CONFIG_CXL_PMU) += cxl_pmu.o
> obj-$(CONFIG_NVIDIA_TEGRA410_CMEM_LATENCY_PMU) += nvidia_t410_cmem_latency_pmu.o
> obj-$(CONFIG_NVIDIA_TEGRA410_C2C_PMU) += nvidia_t410_c2c_pmu.o
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-11 17:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06 18:49 [PATCH] perf: Process subdirectory Makefiles unconditionally Robin Murphy
2026-11-06 18:54 ` sashiko-bot
2026-11-11 17:34 ` Robin Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox