summaryrefslogtreecommitdiff
path: root/drivers/cxl/Kconfig
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2023-06-26 03:53:18 +0300
committerDan Williams <dan.j.williams@intel.com>2023-06-26 03:53:18 +0300
commitd2f9fe695313b1e50028c1ec4cd09bea67152a60 (patch)
tree4677c0f61ea1192a782ea3c31e4df88b4d12d04d /drivers/cxl/Kconfig
parente2c18eb50c7bb191d1ebfed973c2ec3e0066ad37 (diff)
parentc2b34d442226b69e519eb0ba61939a74d91712d4 (diff)
downloadlinux-d2f9fe695313b1e50028c1ec4cd09bea67152a60.tar.xz
Merge branch 'for-6.5/cxl-perf' into for-6.5/cxl
Pick up initial support for the CXL 3.0 performance monitoring definition. Small conflicts with the firmware update work as they both placed their init code in the same location.
Diffstat (limited to 'drivers/cxl/Kconfig')
-rw-r--r--drivers/cxl/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/cxl/Kconfig b/drivers/cxl/Kconfig
index 80d8e35fa049..fcbf8295fde3 100644
--- a/drivers/cxl/Kconfig
+++ b/drivers/cxl/Kconfig
@@ -140,4 +140,17 @@ config CXL_REGION_INVALIDATION_TEST
If unsure, or if this kernel is meant for production environments,
say N.
+config CXL_PMU
+ tristate "CXL Performance Monitoring Unit"
+ default CXL_BUS
+ depends on PERF_EVENTS
+ help
+ Support performance monitoring as defined in CXL rev 3.0
+ section 13.2: Performance Monitoring. CXL components may have
+ one or more CXL Performance Monitoring Units (CPMUs).
+
+ Say 'y/m' to enable a driver that will attach to performance
+ monitoring units and provide standard perf based interfaces.
+
+ If unsure say 'm'.
endif