mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-28 07:54:36 -05:00
The bitmap reset code has been a source of bugs. Add a unit test. This currently has to be built in, as the rest of the driver is builtin. Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: James Morse <james.morse@arm.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Reviewed-by: Ben Horgan <ben.horgan@arm.com> Reviewed-by: Fenghua Yu <fenghuay@nvidia.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Reviewed-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Carl Worth <carl@os.amperecomputing.com> Tested-by: Gavin Shan <gshan@redhat.com> Tested-by: Zeng Heng <zengheng4@huawei.com> Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Ben Horgan <ben.horgan@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
25 lines
609 B
Plaintext
25 lines
609 B
Plaintext
menuconfig ARM64_MPAM_DRIVER
|
|
bool "MPAM driver"
|
|
depends on ARM64 && ARM64_MPAM && EXPERT
|
|
help
|
|
Memory System Resource Partitioning and Monitoring (MPAM) driver for
|
|
System IP, e.g. caches and memory controllers.
|
|
|
|
if ARM64_MPAM_DRIVER
|
|
|
|
config ARM64_MPAM_DRIVER_DEBUG
|
|
bool "Enable debug messages from the MPAM driver"
|
|
help
|
|
Say yes here to enable debug messages from the MPAM driver.
|
|
|
|
config MPAM_KUNIT_TEST
|
|
bool "KUnit tests for MPAM driver " if !KUNIT_ALL_TESTS
|
|
depends on KUNIT=y
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
Enable this option to run tests in the MPAM driver.
|
|
|
|
If unsure, say N.
|
|
|
|
endif
|