Re: [PATCH v5 07/31] KVM: arm64: Access elements of vcpu_gp_regs individually

[email protected] Fri, 31 Jul 2026 13:26:55 +0000
Newsgroups org.kernel.vger.linux-s390,dev.linux.lists.kvmarm,org.kernel.vger.kvm
Message-ID <[email protected]>
> While for arm64 the members of vcpu_gp_regs are allocated continuous
> this is not necessarily true for other architectures implementing ARM.
> 
> Let vcpu_gp_regs() no longer return the address of the user_pt_regs in
> the vcpu context but the address of the gp-register array field in the
> user_pt_reg struct. Note, this change semantically excludes pc from the
> GPRs.
> 
> No functional change.
> 
> Co-developed-by: Nina Schoetterl-Glausch <[email protected]>
> Signed-off-by: Nina Schoetterl-Glausch <[email protected]>
> Signed-off-by: Steffen Eiden <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=7