Re: [PATCH 33/33] arm_mpam: Add kunit tests for props_mismatch()
From: Gavin Shan
Date: Sun Nov 09 2025 - 18:20:22 EST
On 11/7/25 10:34 PM, Ben Horgan wrote:
From: James Morse <james.morse@xxxxxxx>
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@xxxxxxx>
Reviewed-by: Ben Horgan <ben.horgan@xxxxxxx>
Reviewed-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
Tested-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>
---
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@xxxxxxxxxx>