Re: [PATCH] KVM: arm64: Add memslot for ST_GPA_BASE in check_steal_time_uapi()

From: Mark Brown

Date: Wed May 06 2026 - 21:35:25 EST


On Fri, May 01, 2026 at 02:16:39AM +0000, Jiakai Xu wrote:
> The refactored check_steal_time_uapi() creates a temporary VM via
> vm_create_with_one_vcpu(), whose default memslot0 only covers GPA
> 0..~2MB. Setting st_ipa to ST_GPA_BASE (1 << 30) causes
> kvm_arm_pvtime_set_attr() to fail with EINVAL because gfn_to_hva()
> cannot find a valid memslot at the target GFN.

Tested-by: Mark Brown <broonie@xxxxxxxxxx>

It'd be good to get this merged, this is a mainline regression.

Attachment: signature.asc
Description: PGP signature