[PATCH v2 28/29] arm_mpam: Add kunit test for bitmap reset
Ben Horgan
ben.horgan at arm.com
Fri Sep 12 09:06:18 PDT 2025
Hi James,
On 9/10/25 21:43, James Morse wrote:
> 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 at huawei.com>
> Signed-off-by: James Morse <james.morse at arm.com>
> ---
> drivers/resctrl/Kconfig | 10 +++++
> drivers/resctrl/mpam_devices.c | 4 ++
> drivers/resctrl/test_mpam_devices.c | 68 +++++++++++++++++++++++++++++
> 3 files changed, 82 insertions(+)
> create mode 100644 drivers/resctrl/test_mpam_devices.c
>
> diff --git a/drivers/resctrl/Kconfig b/drivers/resctrl/Kconfig
> index c30532a3a3a4..ef59b3057d5d 100644
> --- a/drivers/resctrl/Kconfig
> +++ b/drivers/resctrl/Kconfig
> @@ -5,10 +5,20 @@ menuconfig ARM64_MPAM_DRIVER
> MPAM driver for System IP, e,g. caches and memory controllers.
>
> if ARM64_MPAM_DRIVER
> +
Nit: add the empty line in an earlier patch
Reviewed-by: Ben Horgan <ben.horgan at arm.com>
Thanks,
Ben
More information about the linux-arm-kernel
mailing list