[PATCH v4 0/3] arm_mpam: resctrl: Fix several CDP bugs

From: Jinjie Ruan

Date: Wed Nov 11 2026 - 03:18:34 EST


Fix several mpam CDP bugs found by testing and AI review.

Changes in v4:
- Only enable CDP on a resource that supports it (Ben)
- Limit num_rmids to the CLOSIDs in use with a simplified fix (Ben)
- v3: https://lore.kernel.org/all/20261106081923.2333070-1-ruanjinjie@xxxxxxxxxx/

Jinjie Ruan (3):
arm_mpam: resctrl: Leave CDP off when there are too few PARTIDs
arm_mpam: resctrl: Only enable CDP on a resource that supports it
arm_mpam: resctrl: Limit num_rmids to the CLOSIDs in use

drivers/resctrl/mpam_resctrl.c | 40 ++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 16 deletions(-)

--
2.34.1