From: Steffen Eiden <seiden@linux.ibm.com>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Claudio Imbrenda <imbrenda@linux.ibm.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Andreas Grapentin <gra@linux.ibm.com>,
Nina Schoetterl-Glausch <nsg@linux.ibm.com>,
Janosch Frank <frankja@linux.ibm.com>,
David Hildenbrand <david@kernel.org>,
kvm@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 2/2] s390: kvm: arm64: add HAS_IOMEM dependency
Date: Tue, 26 May 2026 19:08:35 +0200 [thread overview]
Message-ID: <20260526170835.185462-B-seiden@linux.ibm.com> (raw)
In-Reply-To: <20260526125220.1560451-2-arnd@kernel.org>
On Tue, May 26, 2026 at 02:52:20PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The arm64 kvm driver can only be enabled when MMIO support is part of
> the host kernel:
>
> arch/s390/kvm/arm64/../../../../virt/kvm/arm64/mmio.c:120:27: error: 'struct kvm_vcpu' has no member named 'mmio_needed'
>
> s390 does not support MMIO if PCI is disabled, but in practice one
> would not actually need kvm support in those configurations either.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> This is currently needed for randconfig build testing the
> 'sae' branch, it is not yet in linux-next
> ---
> arch/s390/kvm/arm64/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/s390/kvm/arm64/Kconfig b/arch/s390/kvm/arm64/Kconfig
> index 42a1be50f6e1..65b9dc25fe62 100644
> --- a/arch/s390/kvm/arm64/Kconfig
> +++ b/arch/s390/kvm/arm64/Kconfig
> @@ -3,6 +3,7 @@
> config KVM_ARM64
> def_tristate y
> prompt "Kernel-based Virtual Machine (KVM) support for arm64 guests"
> + depends on HAS_IOMEM
> select KVM
> select KVM_VFIO
> select IRQ_BYPASS_MANAGER
> --
> 2.39.5
>
Thank you,
I would squash this in v3 into the patch that creates this config:
KVM: s390: arm64: Enable KVM_ARM64 config and Kbuild
if that is OK for you.
Steffen
next prev parent reply other threads:[~2026-05-26 17:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-26 12:52 [PATCH 1/2] kvm: rework memory prefault Arnd Bergmann
2026-05-26 12:52 ` [PATCH 2/2] s390: kvm: arm64: add HAS_IOMEM dependency Arnd Bergmann
2026-05-26 17:08 ` Steffen Eiden [this message]
2026-05-26 21:20 ` Arnd Bergmann
2026-05-26 17:05 ` [PATCH 1/2] kvm: rework memory prefault Steffen Eiden
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=20260526170835.185462-B-seiden@linux.ibm.com \
--to=seiden@linux.ibm.com \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=borntraeger@linux.ibm.com \
--cc=david@kernel.org \
--cc=frankja@linux.ibm.com \
--cc=gra@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=nsg@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox