xref: /linux/drivers/platform/x86/intel/pmt/Kconfig (revision 9669b2499ea377764f8320dd562dd6cd4ea80a5d)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Intel Platform Monitoring Technology drivers
4#
5
6config INTEL_PMT_CLASS
7	tristate
8	help
9	  The Intel Platform Monitoring Technology (PMT) class driver provides
10	  the basic sysfs interface and file hierarchy used by PMT devices.
11
12	  For more information, see:
13	  <file:Documentation/ABI/testing/sysfs-class-intel_pmt>
14
15	  To compile this driver as a module, choose M here: the module
16	  will be called intel_pmt_class.
17
18config INTEL_PMT_TELEMETRY
19	tristate "Intel Platform Monitoring Technology (PMT) Telemetry driver"
20	depends on INTEL_VSEC
21	select INTEL_PMT_DISCOVERY
22	select INTEL_PMT_CLASS
23	help
24	  The Intel Platform Monitory Technology (PMT) Telemetry driver provides
25	  access to hardware telemetry metrics on devices that support the
26	  feature.
27
28	  To compile this driver as a module, choose M here: the module
29	  will be called intel_pmt_telemetry.
30
31config INTEL_PMT_CRASHLOG
32	tristate "Intel Platform Monitoring Technology (PMT) Crashlog driver"
33	depends on INTEL_VSEC
34	select INTEL_PMT_CLASS
35	help
36	  The Intel Platform Monitoring Technology (PMT) crashlog driver provides
37	  access to hardware crashlog capabilities on devices that support the
38	  feature.
39
40	  To compile this driver as a module, choose M here: the module
41	  will be called intel_pmt_crashlog.
42
43config INTEL_PMT_DISCOVERY
44	tristate "Intel Platform Monitoring Technology (PMT) Discovery driver"
45	depends on INTEL_VSEC
46	select INTEL_PMT_CLASS
47	help
48	  The Intel Platform Monitoring Technology (PMT) discovery driver provides
49	  access to details about the various PMT features and feature specific
50	  attributes.
51
52	  To compile this driver as a module, choose M here: the module
53	  will be called pmt_discovery.
54
55config INTEL_PMT_KUNIT_TEST
56	tristate "KUnit tests for Intel PMT driver"
57	depends on INTEL_PMT_DISCOVERY
58	depends on INTEL_PMT_TELEMETRY || !INTEL_PMT_TELEMETRY
59	depends on KUNIT
60	help
61	  Enable this option to compile and run a suite of KUnit tests for the Intel
62	  Platform Monitoring Technology (PMT) driver. These tests are designed to
63	  validate the driver's functionality, error handling, and overall stability,
64	  helping developers catch regressions and ensure code quality during changes.
65
66	  This option is intended for development and testing environments. It is
67	  recommended to disable it in production builds. To compile this driver as a
68	  module, choose M here: the module will be called pmt-discovery-kunit.
69