[PATCH v5 0/3] arm_mpam: resctrl: Fix several CDP bugs
From: Jinjie Ruan
Date: Wed Nov 18 2026 - 06:35:57 EST
Fix several mpam CDP bugs found by testing and AI review.
Changes in v5:
- Add Reviewed-by.
- Rmove alloc_capable check when switch cdp.
- Remove the unnecessary stable version.
- Simplfify the commit message.
- v4: https://lore.kernel.org/all/?q=arm_mpam%3A+resctrl%3A+Fix+several+CDP+bugs
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 | 39 ++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 16 deletions(-)
--
2.34.1