[SLOF] [PATCH slof v4 0/5] virtio: Enable iommu_platform=on
Alexey Kardashevskiy
aik at ozlabs.ru
Thu Dec 5 15:21:08 AEDT 2019
On 04/12/2019 14:21, Alexey Kardashevskiy wrote:
> This is my current queue of patches to enable IOMMU for virtio
> which is going to be required for secure guests, and is a right
> thing to do in general.
>
> In order to enable IOMMU, add this to a virtio-pci device:
>
> -device virtio-blk-pci,iommu_platform=off,disable-modern=off,disable-legacy=on
>
> This is based on sha1
> 8c6d46821071 Thomas Huth "ipv6: Fix gcc9 warnings".
>
> Please comment. Thanks.
I am pushing out 1/5..4/5, thanks for the reviews.
>
>
>
> Alexey Kardashevskiy (5):
> pci-phb: Reimplement dma-map-in/out
> virtio: Store queue descriptors in virtio_device
> virtio-net: Init queues after features negotiation
> dma: Define default dma methods for using by client/package instances
> virtio: Enable IOMMU
>
> board-qemu/slof/Makefile | 1 +
> lib/libvirtio/virtio-internal.h | 12 +-
> lib/libvirtio/virtio-net.h | 2 -
> lib/libvirtio/virtio.h | 30 +++--
> lib/libvirtio/virtio-9p.c | 41 +++---
> lib/libvirtio/virtio-blk.c | 56 ++++-----
> lib/libvirtio/virtio-net.c | 53 ++++----
> lib/libvirtio/virtio-scsi.c | 72 +++++------
> lib/libvirtio/virtio-serial.c | 88 ++++++-------
> lib/libvirtio/virtio.c | 207 ++++++++++++++++++++-----------
> board-qemu/slof/OF.fs | 3 +
> board-qemu/slof/pci-phb.fs | 95 ++++++--------
> slof/fs/dma-instance-function.fs | 28 +++++
> 13 files changed, 366 insertions(+), 322 deletions(-)
> create mode 100644 slof/fs/dma-instance-function.fs
>
--
Alexey
More information about the SLOF
mailing list