xref: /openbmc/linux/arch/x86/events/Kconfig (revision fd3ae1e1)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
207dc900eSPeter Zijlstramenu "Performance monitoring"
307dc900eSPeter Zijlstra
407dc900eSPeter Zijlstraconfig PERF_EVENTS_INTEL_UNCORE
507dc900eSPeter Zijlstra	tristate "Intel uncore performance events"
607dc900eSPeter Zijlstra	depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
707dc900eSPeter Zijlstra	default y
807dc900eSPeter Zijlstra	---help---
907dc900eSPeter Zijlstra	Include support for Intel uncore performance events. These are
1007dc900eSPeter Zijlstra	available on NehalemEX and more modern processors.
1107dc900eSPeter Zijlstra
1207dc900eSPeter Zijlstraconfig PERF_EVENTS_INTEL_RAPL
13fd3ae1e1SStephane Eranian	tristate "Intel/AMD rapl performance events"
14fd3ae1e1SStephane Eranian	depends on PERF_EVENTS && (CPU_SUP_INTEL || CPU_SUP_AMD) && PCI
1507dc900eSPeter Zijlstra	default y
1607dc900eSPeter Zijlstra	---help---
17fd3ae1e1SStephane Eranian	Include support for Intel and AMD rapl performance events for power
1807dc900eSPeter Zijlstra	monitoring on modern processors.
1907dc900eSPeter Zijlstra
2007dc900eSPeter Zijlstraconfig PERF_EVENTS_INTEL_CSTATE
2107dc900eSPeter Zijlstra	tristate "Intel cstate performance events"
2207dc900eSPeter Zijlstra	depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
2307dc900eSPeter Zijlstra	default y
2407dc900eSPeter Zijlstra	---help---
2507dc900eSPeter Zijlstra	Include support for Intel cstate performance events for power
2607dc900eSPeter Zijlstra	monitoring on modern processors.
2707dc900eSPeter Zijlstra
2807dc900eSPeter Zijlstraconfig PERF_EVENTS_AMD_POWER
2907dc900eSPeter Zijlstra	depends on PERF_EVENTS && CPU_SUP_AMD
3007dc900eSPeter Zijlstra	tristate "AMD Processor Power Reporting Mechanism"
3107dc900eSPeter Zijlstra	---help---
3207dc900eSPeter Zijlstra	  Provide power reporting mechanism support for AMD processors.
3307dc900eSPeter Zijlstra	  Currently, it leverages X86_FEATURE_ACC_POWER
3407dc900eSPeter Zijlstra	  (CPUID Fn8000_0007_EDX[12]) interface to calculate the
3507dc900eSPeter Zijlstra	  average power consumption on Family 15h processors.
3607dc900eSPeter Zijlstra
3707dc900eSPeter Zijlstraendmenu
38