Skip to contentSkip to conversation

driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3

PATCH Applied John Garry 3 participants 3 messages Feb 1, 2021 Arm PMU profiling and debugging

lore
Share & tools
lore

John Garry

author
#0 lore raw

PATCH 1/1 driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3

The ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3_PMU was added with the idea that a SMMUv3 PMCG would only exist on a system with an associated SMMUv3.

However it is not the job of Kconfig to make these sorts of decisions (even if it were true), so remove the dependency.

drivers/perf/Kconfig +1 -1
index 3075cf171f78..77522e5efe11 100644
@@ -62,7 +62,7 @@ config ARM_PMU_ACPI
 
 config ARM_SMMU_V3_PMU
 	 tristate "ARM SMMUv3 Performance Monitors Extension"
-	 depends on ARM64 && ACPI && ARM_SMMU_V3
+	 depends on ARM64 && ACPI
 	   help
 	   Provides support for the ARM SMMUv3 Performance Monitor Counter
 	   Groups (PMCG), which provide monitoring of transactions passing
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · John Garry

The ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3_PMU was added with the idea that a SMMUv3 PMCG would only exist on a system with an associated SMMUv3.

However it is not the job of Kconfig to make these sorts of decisions (even if it were true), so remove the dependency.

Quoted 16 lines
drivers/perf/Kconfig +1 -1
index 3075cf171f78..77522e5efe11 100644
@@ -62,7 +62,7 @@ config ARM_PMU_ACPI
 
  config ARM_SMMU_V3_PMU
  	 tristate "ARM SMMUv3 Performance Monitors Extension"
-	 depends on ARM64 && ACPI && ARM_SMMU_V3
+	 depends on ARM64 && ACPI
  	   help
  	   Provides support for the ARM SMMUv3 Performance Monitor Counter
  	   Groups (PMCG), which provide monitoring of transactions passing
maintainer Applied
#2 lore raw
In reply to John Garry
Quoted 5 lines · John Garry

The ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3_PMU was added with the idea that a SMMUv3 PMCG would only exist on a system with an associated SMMUv3.

However it is not the job of Kconfig to make these sorts of decisions (even if it were true), so remove the dependency.

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/1] driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3

      https://git.kernel.org/will/c/34eb9359c111

Cheers,

Signature · 10 lines
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel