Re: [PATCH] arm_mpam: Fix MPAMCFG_MBW_PBM register setting

From: Will Deacon

Date: Thu Jul 16 2026 - 12:48:47 EST


On Sat, 06 Jun 2026 22:09:25 -0700, Fenghua Yu wrote:
> MPAMCFG_MBW_PBM is written from cfg if cfg has the MBW partition feature.
> It is reset when cfg does not have the MBW partition feature.
>
> But the register handling is reversed. This may cause an incorrect
> register setting. For example, during an MPAM reset, reset_cfg is
> empty (no MBW partition feature set), and cfg->mbw_pbm is 0. Instead of
> resetting MPAMCFG_MBW_PBM to all 1's, the current logic will set it to
> cfg->mbw_pbm, which is 0.
>
> [...]

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

[1/1] arm_mpam: Fix MPAMCFG_MBW_PBM register setting
https://git.kernel.org/arm64/c/021118ce5ea9

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev