Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH] KVM: s390: arm64: Stub kvm_vgic_put/load to prepare for kvm_vcpu_wfi
@ 2026-11-25 10:12 Andreas Grapentin
  2026-11-25 10:16 ` sashiko-bot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andreas Grapentin @ 2026-11-25 10:12 UTC (permalink / raw)
  To: Steffen Eiden, Marc Zyngier, Christian Borntraeger, Janosch Frank,
	Claudio Imbrenda, David Hildenbrand, Heiko Carstens,
	Vasily Gorbik, Alexander Gordeev, Sven Schnelle
  Cc: kvm, linux-s390, 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>
---
 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,
-- 
Andreas Grapentin <gra@linux.ibm.com>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-25 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox