driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3
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
@@ -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
Quoted 5 lines · John Garry
The
ARM_SMMU_V3_PMUdependency onARM_SMMU_V3_PMUwas 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
Kconfigto make these sorts of decisions (even if it were true), so remove the dependency.
Quoted 16 lines
Signed-off-by John Garry <[email protected]>drivers/perf/Kconfig +1
-1@@ -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
Quoted 5 lines · John Garry
The
ARM_SMMU_V3_PMUdependency onARM_SMMU_V3_PMUwas 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
Kconfigto 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