Re: [PATCH v4] arm64: Add override for MPAM

From: Marc Zyngier
Date: Mon Jun 02 2025 - 02:38:49 EST


On Mon, 02 Jun 2025 05:33:21 +0100,
Xi Ruoyao <xry111@xxxxxxxxxxx> wrote:
>
> As the message of the commit 09e6b306f3ba ("arm64: cpufeature: discover
> CPU support for MPAM") already states, if a buggy firmware fails to
> either enable MPAM or emulate the trap as if it were disabled, the
> kernel will just fail to boot. While upgrading the firmware should be
> the best solution, we have some hardware of which the vendor have made
> no response 2 months after we requested a firmware update. Allow
> overriding it so our devices don't become some e-waste.
>
> Cc: James Morse <james.morse@xxxxxxx>
> Cc: Marc Zyngier <maz@xxxxxxxxxx>
> Cc: Will Deacon <will@xxxxxxxxxx>
> Cc: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx>
> Cc: Mingcong Bai <jeffbai@xxxxxxx>
> Cc: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxx>
> Cc: Ben Horgan <ben.horgan@xxxxxxx>
> Signed-off-by: Xi Ruoyao <xry111@xxxxxxxxxxx>

Reviewed-by: Marc Zyngier <maz@xxxxxxxxxx>

M.

--
Jazz isn't dead. It just smells funny.