Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit a46aba1

Browse files
committed
cxl: remove CONFIG_CXL_PMU entry in drivers/cxl/Kconfig
Commit 5d7107c ("perf: CXL Performance Monitoring Unit driver") added the config entries for CXL_PMU in drivers/cxl/Kconfig and drivers/perf/Kconfig, so it can be toggled from multiple locations: [1] Device Drivers -> PCI support -> CXL (Compute Expres Link) Devices -> CXL Performance Monitoring Unit [2] Device Drivers -> Performance monitor support -> CXL Performance Monitoring Unit This complicates things, and nobody else does this. I kept the one in drivers/perf/Kconfig because CONFIG_CXL_PMU controls the compilation of drivers/perf/cxl_pmu.c. Acked-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 4cece76 commit a46aba1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

drivers/cxl/Kconfig

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,4 @@ config CXL_REGION_INVALIDATION_TEST
144144
If unsure, or if this kernel is meant for production environments,
145145
say N.
146146

147-
config CXL_PMU
148-
tristate "CXL Performance Monitoring Unit"
149-
default CXL_BUS
150-
depends on PERF_EVENTS
151-
help
152-
Support performance monitoring as defined in CXL rev 3.0
153-
section 13.2: Performance Monitoring. CXL components may have
154-
one or more CXL Performance Monitoring Units (CPMUs).
155-
156-
Say 'y/m' to enable a driver that will attach to performance
157-
monitoring units and provide standard perf based interfaces.
158-
159-
If unsure say 'm'.
160147
endif

0 commit comments

Comments
 (0)