Re: [PATCH v2 41/45] arm_mpam: Add quirk framework
From: Jonathan Cameron
Date: Tue Jan 06 2026 - 10:14:21 EST
On Fri, 19 Dec 2025 18:11:43 +0000
Ben Horgan <ben.horgan@xxxxxxx> wrote:
> From: Shanker Donthineni <sdonthineni@xxxxxxxxxx>
>
> The MPAM specification includes the MPAMF_IIDR, which serves to uniquely
> identify the MSC implementation through a combination of implementer
> details, product ID, variant, and revision. Certain hardware issues/errata
> can be resolved using software workarounds.
>
> Introduce a quirk framework to allow workarounds to be enabled based on the
> MPAMF_IIDR value.
>
> [ morse: Stash the IIDR so this doesn't need an IPI, enable quirks only
> once, move the description to the callback so it can be pr_once()d, add an
> enum of workarounds for popular errata. Add macros for making lists of
> product/revision/vendor half readable ]
Review comment that got left over?
Otherwise looks fairly standard for quirk handling.
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
>
> Signed-off-by: Shanker Donthineni <sdonthineni@xxxxxxxxxx>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>