Re: [PATCH 33/33] arm_mpam: Add kunit tests for props_mismatch()

Gavin Shan
2025-11-09T23:20:14Z

On 11/7/25 10:34 PM, Ben Horgan wrote:
> From: James Morse <james.morse@arm.com>
>
> When features are mismatched between MSC the way features are combined
> to the class determines whether resctrl can support this SoC.
>
> Add some tests to illustrate the sort of thing that is expected to
> work, and those that must be removed.
>
> Signed-off-by: James Morse <james.morse@arm.com>
> Reviewed-by: Ben Horgan <ben.horgan@arm.com>
> Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
> Tested-by: Fenghua Yu <fenghuay@nvidia.com>
> Signed-off-by: Ben Horgan <ben.horgan@arm.com>
> ---
> drivers/resctrl/mpam_internal.h | 14 +-
> drivers/resctrl/test_mpam_devices.c | 320 ++++++++++++++++++++++++++++
> 2 files changed, 333 insertions(+), 1 deletion(-)
>

Reviewed-by: Gavin Shan <gshan@redhat.com>