xref: /linux/drivers/resctrl/Kconfig (revision c43267e6794a36013fd495a4d81bf7f748fe4615)
1f04046f2SJames Morsemenuconfig ARM64_MPAM_DRIVER
2f04046f2SJames Morse	bool "MPAM driver"
3c544f00aSBen Horgan	depends on ARM64 && ARM64_MPAM
4*4aab135bSJames Morse	select ACPI_MPAM if ACPI
5f04046f2SJames Morse	help
6f04046f2SJames Morse	  Memory System Resource Partitioning and Monitoring (MPAM) driver for
7f04046f2SJames Morse	  System IP, e.g. caches and memory controllers.
8f04046f2SJames Morse
9f04046f2SJames Morseif ARM64_MPAM_DRIVER
10f04046f2SJames Morse
11f04046f2SJames Morseconfig ARM64_MPAM_DRIVER_DEBUG
12f04046f2SJames Morse	bool "Enable debug messages from the MPAM driver"
13f04046f2SJames Morse	help
14f04046f2SJames Morse	  Say yes here to enable debug messages from the MPAM driver.
15f04046f2SJames Morse
16e3565d1fSJames Morseconfig MPAM_KUNIT_TEST
17e3565d1fSJames Morse	bool "KUnit tests for MPAM driver " if !KUNIT_ALL_TESTS
18e3565d1fSJames Morse	depends on KUNIT=y
19e3565d1fSJames Morse	default KUNIT_ALL_TESTS
20e3565d1fSJames Morse	help
21e3565d1fSJames Morse	  Enable this option to run tests in the MPAM driver.
22e3565d1fSJames Morse
23e3565d1fSJames Morse	  If unsure, say N.
24e3565d1fSJames Morse
25f04046f2SJames Morseendif
26*4aab135bSJames Morse
27*4aab135bSJames Morseconfig ARM64_MPAM_RESCTRL_FS
28*4aab135bSJames Morse	bool
29*4aab135bSJames Morse	default y if ARM64_MPAM_DRIVER && RESCTRL_FS
30*4aab135bSJames Morse	select RESCTRL_RMID_DEPENDS_ON_CLOSID
31*4aab135bSJames Morse	select RESCTRL_ASSIGN_FIXED
32