| 1 | menuconfig ARM64_MPAM_DRIVER |
| 2 | bool "MPAM driver" |
| 3 | depends on ARM64 && ARM64_MPAM |
| 4 | select ACPI_MPAM if ACPI |
| 5 | select PCC if ACPI |
| 6 | select MAILBOX |
| 7 | help |
| 8 | Memory System Resource Partitioning and Monitoring (MPAM) driver for |
| 9 | System IP, e.g. caches and memory controllers. |
| 10 | |
| 11 | if ARM64_MPAM_DRIVER |
| 12 | |
| 13 | config ARM64_MPAM_DRIVER_DEBUG |
| 14 | bool "Enable debug messages from the MPAM driver" |
| 15 | help |
| 16 | Say yes here to enable debug messages from the MPAM driver. |
| 17 | |
| 18 | config MPAM_KUNIT_TEST |
| 19 | bool "KUnit tests for MPAM driver " if !KUNIT_ALL_TESTS |
| 20 | depends on KUNIT=y |
| 21 | default KUNIT_ALL_TESTS |
| 22 | help |
| 23 | Enable this option to run tests in the MPAM driver. |
| 24 | |
| 25 | If unsure, say N. |
| 26 | |
| 27 | endif |
| 28 | |
| 29 | config ARM64_MPAM_RESCTRL_FS |
| 30 | bool |
| 31 | default y if ARM64_MPAM_DRIVER && RESCTRL_FS |
| 32 | select RESCTRL_RMID_DEPENDS_ON_CLOSID |
| 33 | select RESCTRL_ASSIGN_FIXED |