[PATCH 0/3] arm_mpam: NRDY fixes

Ben Horgan posted 3 patches 1 month ago
drivers/resctrl/mpam_devices.c  | 68 ++++++++++++++-------------------
drivers/resctrl/mpam_internal.h |  2 -
2 files changed, 29 insertions(+), 41 deletions(-)
[PATCH 0/3] arm_mpam: NRDY fixes
Posted by Ben Horgan 1 month ago
The detection of whether or not NRDY is hardware or software managed is
unreliable. Fix this a bit but don't rely on it.

Based on v7.1-rc2

Ben Horgan (3):
  arm_mpam: Fix monitor instance selection when checking for hardware
    NRDY
  arm_mpam: Pretend that NRDY is always hardware managed
  arm_mpam: Improve check for whether or not NRDY is hardware managed

 drivers/resctrl/mpam_devices.c  | 68 ++++++++++++++-------------------
 drivers/resctrl/mpam_internal.h |  2 -
 2 files changed, 29 insertions(+), 41 deletions(-)

-- 
2.43.0
Re: [PATCH 0/3] arm_mpam: NRDY fixes
Posted by Catalin Marinas 4 weeks, 1 day ago
On Thu, 07 May 2026 16:28:11 +0100, Ben Horgan wrote:
> The detection of whether or not NRDY is hardware or software managed is
> unreliable. Fix this a bit but don't rely on it.
> 
> Based on v7.1-rc2
> 
> Ben Horgan (3):
>   arm_mpam: Fix monitor instance selection when checking for hardware
>     NRDY
>   arm_mpam: Pretend that NRDY is always hardware managed
>   arm_mpam: Improve check for whether or not NRDY is hardware managed
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/3] arm_mpam: Fix monitor instance selection when checking for hardware NRDY
      https://git.kernel.org/arm64/c/1ef2a89584b7
[2/3] arm_mpam: Pretend that NRDY is always hardware managed
      https://git.kernel.org/arm64/c/4387970bbd84
[3/3] arm_mpam: Improve check for whether or not NRDY is hardware managed
      https://git.kernel.org/arm64/c/ccad6001be5c
Re: [PATCH 0/3] arm_mpam: NRDY fixes
Posted by James Morse 1 month ago
Hi Ben,

(CC: +Catalin, and the arm list - as this is the route the original code went)

On 07/05/2026 16:28, Ben Horgan wrote:
> The detection of whether or not NRDY is hardware or software managed is
> unreliable. Fix this a bit but don't rely on it.
> 
> Based on v7.1-rc2
> 
> Ben Horgan (3):
>   arm_mpam: Fix monitor instance selection when checking for hardware
>     NRDY
>   arm_mpam: Pretend that NRDY is always hardware managed
>   arm_mpam: Improve check for whether or not NRDY is hardware managed
> 
>  drivers/resctrl/mpam_devices.c  | 68 ++++++++++++++-------------------
>  drivers/resctrl/mpam_internal.h |  2 -
>  2 files changed, 29 insertions(+), 41 deletions(-)
> 

For the series:
Reviewed-by: James Morse <james.morse@arm.com>

Catalin, could you pick this up for rc3?

There is another series of fixes that touches cpufeature to add v0.1 MPAM support.
I'm testing testing that before reposting it.


Thanks,

James