driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3
authorJohn Garry <john.garry@huawei.com>
Mon, 1 Feb 2021 10:24:02 +0000 (18:24 +0800)
committerWill Deacon <will@kernel.org>
Mon, 1 Feb 2021 12:39:40 +0000 (12:39 +0000)
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.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/1612175042-56866-1-git-send-email-john.garry@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/Kconfig

index 3075cf171f7850a5a29f1cd9fa27bb62b2f47689..77522e5efe1121a680cf84d11645a317b847a735 100644 (file)
@@ -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