From: Christian Borntraeger <borntraeger@linux.ibm.com>
To: Andreas Grapentin <gra@linux.ibm.com>,
Steffen Eiden <seiden@linux.ibm.com>,
Marc Zyngier <maz@kernel.org>,
Janosch Frank <frankja@linux.ibm.com>,
Claudio Imbrenda <imbrenda@linux.ibm.com>,
David Hildenbrand <david@kernel.org>,
Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Sven Schnelle <svens@linux.ibm.com>
Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org
Subject: Re: [PATCH] KVM: s390: arm64: Stub kvm_vgic_put/load to prepare for kvm_vcpu_wfi
Date: Wed, 25 Nov 2026 13:02:55 +0100 [thread overview]
Message-ID: <1cd2d2c3-c026-4b98-b1d2-f0ded1bddfdd@linux.ibm.com> (raw)
In-Reply-To: <20261125-kvm_vgic_stubs-v1-1-c53ca2c5959a@linux.ibm.com>
Am 25.11.26 um 11:12 schrieb Andreas Grapentin:
> In order to be able to share kvm_vcpu_wfi with arm, we need definitions
> for kvm_vgic_put and kvm_vgic_load. Add these as empty stubs now to
> reduce baggage in future series.
>
> Signed-off-by: Andreas Grapentin <gra@linux.ibm.com>
I will queue for kvms390/next.
Thanks.
> ---
> arch/s390/kvm/arm64/arm.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/s390/kvm/arm64/arm.h b/arch/s390/kvm/arm64/arm.h
> index 760230685ca1..871fc853675d 100644
> --- a/arch/s390/kvm/arm64/arm.h
> +++ b/arch/s390/kvm/arm64/arm.h
> @@ -55,4 +55,15 @@ static __always_inline int kvm_s390_vm_stop_migration(struct kvm *kvm)
> return -EINVAL;
> }
>
> +/* temporary stubs */
> +static inline void kvm_vgic_put(struct kvm_vcpu *vcpu)
> +{
> + /* Current state of the implementation: no in-kernel gic and no vhe -> noop */
> +}
> +
> +static inline void kvm_vgic_load(struct kvm_vcpu *vcpu)
> +{
> + /* Current state of the implementation: no in-kernel gic and no vhe -> noop */
> +}
> +
> #endif /* ARCH_S390_KVM_ARM64_H */
>
> ---
> base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
> change-id: 20261125-kvm_vgic_stubs-e1a1eeb4a075
>
> Best regards,
prev parent reply other threads:[~2026-11-25 12:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 10:12 [PATCH] KVM: s390: arm64: Stub kvm_vgic_put/load to prepare for kvm_vcpu_wfi Andreas Grapentin
2026-11-25 10:16 ` sashiko-bot
2026-11-25 10:17 ` Steffen Eiden
2026-11-25 12:02 ` Christian Borntraeger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1cd2d2c3-c026-4b98-b1d2-f0ded1bddfdd@linux.ibm.com \
--to=borntraeger@linux.ibm.com \
--cc=agordeev@linux.ibm.com \
--cc=david@kernel.org \
--cc=frankja@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=gra@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=maz@kernel.org \
--cc=seiden@linux.ibm.com \
--cc=svens@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.