[PATCH v3 13/47] KVM: arm64: Use kernel-space partid configuration for hypercalls
Jonathan Cameron
jonathan.cameron at huawei.com
Tue Jan 13 06:21:04 PST 2026
On Mon, 12 Jan 2026 16:58:40 +0000
Ben Horgan <ben.horgan at arm.com> wrote:
> On nVHE systems whether or not MPAM is enabled, EL2 continues to use
> partid-0 for hypercalls, even when the host may have configured its kernel
> threads to use a different partid. 0 may have been assigned to another
> task. Copy the EL1 MPAM register to EL2. This ensures hypercalls use the
> same partid as the kernel thread does on the host.
>
> Signed-off-by: Ben Horgan <ben.horgan at arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
> ---
> Changes since v2:
> Use mask
> Use read_sysreg_el1 to cope with hvhe
nvhe
More information about the linux-arm-kernel
mailing list