Re: [PATCH v2 41/45] arm_mpam: Add quirk framework

Jonathan Cameron
2026-01-06T15:14:21Z

On Fri, 19 Dec 2025 18:11:43 +0000
Ben Horgan <ben.horgan@arm.com> wrote:

> From: Shanker Donthineni <sdonthineni@nvidia.com>
>
> 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@huawei.com>

>
> Signed-off-by: Shanker Donthineni <sdonthineni@nvidia.com>
> Signed-off-by: James Morse <james.morse@arm.com>
> Signed-off-by: Ben Horgan <ben.horgan@arm.com>