Re: [PATCH] arm_mpam: guard MBWU state before adding it to garbage

From: Will Deacon

Date: Thu Jul 16 2026 - 13:29:11 EST


On Wed, 08 Jul 2026 16:23:23 +0800, Guangshuo Li wrote:
> __destroy_component_cfg() adds each RIS mbwu_state object to the MPAM
> garbage list when destroying component configuration.
>
> However, mbwu_state is allocated per RIS and only for RISes with MBWU
> monitors. A component can therefore have comp->cfg allocated while some
> RISes still have ris->mbwu_state set to NULL.
>
> [...]

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

[1/1] arm_mpam: guard MBWU state before adding it to garbage
https://git.kernel.org/arm64/c/977f52909c62

Cheers,
--
Will

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