[PATCH v4] KVM: arm64: Trap guest MPAM accesses whenever MPAM is implemented

Fuad Tabba fuad.tabba at linux.dev
Tue Oct 6 20:25:06 PDT 2026


Hi Ben,

On Fri, 25 Sep 2026 10:22:00 +0100, Ben Horgan <ben.horgan at arm.com> wrote:
[...]
> IIUC, this patch also covers the mismatched system case where EL3 f/w may set MPAMEN for cpus that
> support MPAM but system_supports_mpam() returns false.

Yes. HAS_MPAM is set per CPU from that CPU's own ID registers, so the
traps depend on neither system_supports_mpam() nor MPAMEN.

Oliver, gentle ping on this one too :)

Thanks,
/fuad



More information about the linux-arm-kernel mailing list