From: Eric Auger <eric.auger@linaro.org>
To: Baptiste Reynal <b.reynal@virtualopensystems.com>,
kvmarm@lists.cs.columbia.edu, qemu-devel@nongnu.org
Cc: a.motakis@virtualopensystems.com, tech@virtualopensystems.com
Subject: Re: [Qemu-devel] [RFC PATCH 0/3] VFIO support for AMBA devices
Date: Wed, 17 Dec 2014 14:04:52 +0100 [thread overview]
Message-ID: <54917F74.8010902@linaro.org> (raw)
In-Reply-To: <1418810981-9193-1-git-send-email-b.reynal@virtualopensystems.com>
On 12/17/2014 11:09 AM, Baptiste Reynal wrote:
> The following series add VFIO support for AMBA devices.
>
> It introduces multiple compatible string support to deal with arm,primecell
> compatible string.
>
> The VFIOPlatformDevice now checks for this string and performs amba specific
> operations if it is present (change path of the device, add clock in the fd).
>
> This patch applies on top of http://git.linaro.org/people/eric.auger/qemu.git
> on branch vfio_integ_v9_rc6_official_dynsysbus_v6 for irqfd support.
>
> TODO: The IRQ forwarding doesn't work.
>
> The series has been tested using PL330 device, irq forwarding doesn't work.
> (The test hangs on the first IRQ).
Hi Baptiste,
If am not wrong your branch below does not contain the requested kernel
patches for both irqfd and forwarding. Please take the requested pieces
on my linux git:
last official one can be taken at
http://git.linaro.org/people/eric.auger/linux.git (branch 3.18-rc6-v10)
All the requested kernel dependencies are quoted in
http://lists.gnu.org/archive/html/qemu-devel/2014-11/msg04372.html. That
should help ;-)
Best Regards
Eric
> The test performed relies on a special guest kernel, which can be found here
> http://github.com/virtualopensystems/linux-kvm-arm.git on branch
> vfio-platform-v6-guide, with CONFIG_KVM, CONFIG_ARM_SMMU, CONFIG_PL330_DMA
> and CONFIG_VOSYS_DMATEST enabled.
>
> Run qemu using this command:
> ./qemu-system-arm -M virt -m 512M -enable-kvm \
> -device vfio-pl330,host="2c0a0000.dma",id=dma,x-irqfd=false,x-forward=false \
> -append "earlyprintk console=ttyAMA0" \
> -kernel zImage -nographic
>
> Then run DMA test:
> mount -t debugfs none /sys/kernel/debug
> echo 1 > /sys/kernel/debug/vosys_dmatest/start
>
> Results can be checked using dmesg.
>
> Baptiste Reynal (3):
> hw/vfio/sysbus-fdt: generic add_generic_fdt_node
> hw/vfio: amba device support
> hw/vfio: add pl330 device support
>
> hw/arm/sysbus-fdt.c | 34 +++++++++++++++++++++++++++++-----
> hw/vfio/Makefile.objs | 1 +
> hw/vfio/pl330.c | 41 +++++++++++++++++++++++++++++++++++++++++
> hw/vfio/platform.c | 15 ++++++++++++---
> include/hw/vfio/vfio-common.h | 1 +
> include/hw/vfio/vfio-pl330.h | 26 ++++++++++++++++++++++++++
> 6 files changed, 110 insertions(+), 8 deletions(-)
> create mode 100644 hw/vfio/pl330.c
> create mode 100644 include/hw/vfio/vfio-pl330.h
>
prev parent reply other threads:[~2014-12-17 13:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-17 10:09 [Qemu-devel] [RFC PATCH 0/3] VFIO support for AMBA devices Baptiste Reynal
2014-12-17 10:09 ` [Qemu-devel] [RFC PATCH 1/3] hw/vfio/sysbus-fdt: generic add_generic_fdt_node Baptiste Reynal
2014-12-17 13:32 ` Eric Auger
2014-12-17 14:55 ` Baptiste Reynal
2014-12-17 17:15 ` Eric Auger
2014-12-17 10:09 ` [Qemu-devel] [RFC PATCH 2/3] hw/vfio: amba device support Baptiste Reynal
2014-12-17 13:57 ` Eric Auger
2014-12-17 10:09 ` [Qemu-devel] [RFC PATCH 3/3] hw/vfio: add pl330 " Baptiste Reynal
2014-12-17 13:04 ` Eric Auger [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=54917F74.8010902@linaro.org \
--to=eric.auger@linaro.org \
--cc=a.motakis@virtualopensystems.com \
--cc=b.reynal@virtualopensystems.com \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=qemu-devel@nongnu.org \
--cc=tech@virtualopensystems.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;
as well as URLs for NNTP newsgroup(s).