lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 10 Sep 2018 10:53:16 +0200
From:   Gerd Hoffmann <kraxel@...hat.com>
To:     Christoph Hellwig <hch@...radead.org>
Cc:     Jiandi An <jiandi@....com>, brijesh.singh@....com,
        srikar@...ux.vnet.ibm.com, "Michael S. Tsirkin" <mst@...hat.com>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Will Deacon <will.deacon@....com>,
        virtualization@...ts.linux-foundation.org, paulus@...ba.org,
        elfring@...rs.sourceforge.net,
        Anshuman Khandual <khandual@...ux.vnet.ibm.com>,
        robh@...nel.org, jean-philippe.brucker@....com, mpe@...erman.id.au,
        thomas.lendacky@....com, marc.zyngier@....com, linuxram@...ibm.com,
        david@...son.dropbear.id.au, linuxppc-dev@...ts.ozlabs.org,
        linux-kernel@...r.kernel.org, joe@...ches.com, jiandi.an@....com,
        robin.murphy@....com, haren@...ux.vnet.ibm.com
Subject: Re: [RFC 0/4] Virtio uses DMA API for all devices

> > this to set the VIRTIO_F_IOMMU_PLATFORM flag. But for example
> > QEMU has the use of iommu_platform attribute disabled for virtio-gpu
> > device.  So would also like to move towards not having to specify
> > the VIRTIO_F_IOMMU_PLATFORM flag.
> 
> Specifying VIRTIO_F_IOMMU_PLATFORM is the right thing for your 
> platform given that you can't directly use physical addresses.
> Please fix qemu so that virtio-gpu works with VIRTIO_F_IOMMU_PLATFORM.

This needs both host and guest side changes btw.

Guest side patch is in drm-misc (a3b815f09bb8) and should land in the
next merge window.

Host side patches are here:
  https://git.kraxel.org/cgit/qemu/log/?h=sirius/virtio-gpu-iommu

Should also land in the next qemu version.

cheers,
  Gerd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ