Re: [PATCH v2 41/45] arm_mpam: Add quirk framework
From: Jonathan Cameron <jonathan.cameron@huawei.com>
Date: 2026-01-06 15:14:21
Also in:
kvmarm, lkml
From: Jonathan Cameron <jonathan.cameron@huawei.com>
Date: 2026-01-06 15:14:21
Also in:
kvmarm, lkml
On Fri, 19 Dec 2025 18:11:43 +0000 Ben Horgan [off-list ref] wrote:
From: Shanker Donthineni <redacted> 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 <redacted> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Ben Horgan <ben.horgan@arm.com>