From: Gerd Hoffmann <kraxel@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>,
Brijesh Singh <brijesh.singh@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>,
Jordan Justen <jordan.l.justen@intel.com>,
Jason Wang <jasowang@redhat.com>,
dri-devel@lists.freedesktop.org,
virtualization@lists.linux-foundation.org,
Laszlo Ersek <lersek@redhat.com>,
edk2-devel@lists.01.org
Subject: Re: [RFC v1 0/3] Add VIRTIO_F_IOMMU_PLATFORM support
Date: Mon, 24 Jul 2017 10:25:01 +0200 [thread overview]
Message-ID: <1500884701.15837.1.camel@redhat.com> (raw)
In-Reply-To: <20170722024318-mutt-send-email-mst@kernel.org>
Hi,
> > I see that OVMF has the following virtio drivers, we need to update
> > them
> > all:
> >
> > VirtioBlkDxe
> > VirtioGpuDxe
> > VirtioNetDxe
> > VirtioRngDxe
> > VirtioScsiDxe
> >
> > I will wait for Laszlo and Jordan's initial feedback before
> > changing
> > other drivers.
>
> I'm not sure about the GPU. Cc relevant maintainers -
> can virtio GPU work from behind an IOMMU?
GPU uses main memory as backing storage for framebuffers, and this is
passed as guest physical address (scatterlist of addresses to be exact)
to the host.
So, I think no, this isn't going to work with the current code.
Should be possible to fix though. We need to define what "guest
physical address" should be with VIRTIO_F_IOMMU_PLATFORM enabled
(probably guest pci bus address) and add support for proper iommu
lookups.
cheers,
Gerd
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2017-07-24 8:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1500502151-13508-1-git-send-email-brijesh.singh@amd.com>
[not found] ` <62320c1a-0cec-947c-8c63-5eb0416e4e33@redhat.com>
[not found] ` <25d78a89-59bd-157a-ccf5-70cd25e14a05@amd.com>
2017-07-21 23:48 ` [RFC v1 0/3] Add VIRTIO_F_IOMMU_PLATFORM support Michael S. Tsirkin
2017-07-21 23:48 ` Michael S. Tsirkin
2017-07-24 8:25 ` Gerd Hoffmann
2017-07-24 8:25 ` Gerd Hoffmann [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=1500884701.15837.1.camel@redhat.com \
--to=kraxel@redhat.com \
--cc=brijesh.singh@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=edk2-devel@lists.01.org \
--cc=jasowang@redhat.com \
--cc=jordan.l.justen@intel.com \
--cc=lersek@redhat.com \
--cc=mst@redhat.com \
--cc=thomas.lendacky@amd.com \
--cc=virtualization@lists.linux-foundation.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 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.