Re: [PATCH v9 07/12] arm_mpam: propagate MSC access errors for mpam_reprogram_ris_partid()

From: Srivathsa L Rao

Date: Wed Aug 26 2026 - 13:43:26 EST




On 8/7/2026 4:24 PM, Andre Przywara wrote:
Allow the mpam_reprogram_ris_partid() function to check for and return
errors, and propagate MSC read and write errors from the lower level up.
This also covers the callers of this function: mpam_reset_ris() and
apply_config().

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
Review-by: Ben Horgan <ben.horgan@xxxxxxx>
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>
Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>
Tested-by: Gavin Shan <gshan@xxxxxxxxxx> # on NVIDIA Grace Hopper
---
drivers/resctrl/mpam_devices.c | 137 ++++++++++++++++++++++-----------
1 file changed, 94 insertions(+), 43 deletions(-)

diff --git a/drivers/resctrl/mpam_devices.c b/drivers/resctrl/mpam_devices.c
index 96579178f0c3..49239b15a27f 100644
--- a/drivers/resctrl/mpam_devices.c
+++ b/drivers/resctrl/mpam_devices.c
Reviewed-by: Srivathsa L Rao <srivathsa.rao@xxxxxxxxxxxxxxxx>