From: Paolo Bonzini <pbonzini@redhat.com>
To: Eric Auger <eric.auger@linaro.org>,
eric.auger@st.com, qemu-devel@nongnu.org,
peter.maydell@linaro.org, cornelia.huck@de.ibm.com,
borntraeger@de.ibm.com, agraf@suse.de, james.hogan@imgtec.com
Cc: aik@ozlabs.ru, kvmarm@lists.cs.columbia.edu,
christoffer.dall@linaro.org, patches@linaro.org
Subject: Re: [Qemu-devel] [PATCH v2 0/2] ARM adaptations for vhost irqfd setup
Date: Fri, 10 Apr 2015 10:15:27 +0200 [thread overview]
Message-ID: <5527869F.5000509@redhat.com> (raw)
In-Reply-To: <1428652090-5354-1-git-send-email-eric.auger@linaro.org>
On 10/04/2015 09:48, Eric Auger wrote:
> After the introduction of gicv2m, this series adds missing pieces to
> run VIRTIO-PCI with vhost back-end on ARM.
>
> It is proposed to use the kvm_gsi_direct_mapping modality that sets
> the irqfd gsi to the MSI data value. With that trick there is no need
> to create a KVM MSI routing entry featuring a different gsi.
>
> The only adaptation needed for ARM consists in adding an architecture
> specific function that converts the MSI data field into the actual
> gsi index: there is an offset of 32 between the MSI data content
> (SPI ID) and the SPI index that is passed to KVM_IRQFD ioctl. Once
> this is done we can set the requested flags to enable vhost:
> kvm_gsi_direct_mapping, kvm_msi_via_irqfd_allowed.
>
> This was tested on XGene, on top of Christoffer's series,
> [PATCH 0/3] Add support for for GICv2m and MSIs to arm-virt
> (https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00881.html)
>
> Best Regards
>
> Eric
>
> v1 -> v2:
> - abort on i386/mips/s390x since those archs do not support
> kvm_gsi_direct_mapping
Patch 1 is okay. I guess this series will go through some ARM tree.
Paolo
next prev parent reply other threads:[~2015-04-10 8:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 7:48 [Qemu-devel] [PATCH v2 0/2] ARM adaptations for vhost irqfd setup Eric Auger
2015-04-10 7:48 ` [Qemu-devel] [PATCH v2 1/2] kvm: introduce kvm_arch_msi_data_to_gsi Eric Auger
2015-04-10 9:10 ` Christoffer Dall
2015-04-10 10:50 ` Cornelia Huck
2015-04-10 7:48 ` [Qemu-devel] [PATCH v2 2/2] arm_gicv2m: set kvm_gsi_direct_mapping and kvm_msi_via_irqfd_allowed Eric Auger
2015-04-10 8:15 ` Paolo Bonzini [this message]
2015-06-01 18:28 ` [Qemu-devel] [PATCH v2 0/2] ARM adaptations for vhost irqfd setup Peter Maydell
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=5527869F.5000509@redhat.com \
--to=pbonzini@redhat.com \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=borntraeger@de.ibm.com \
--cc=christoffer.dall@linaro.org \
--cc=cornelia.huck@de.ibm.com \
--cc=eric.auger@linaro.org \
--cc=eric.auger@st.com \
--cc=james.hogan@imgtec.com \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).