[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/3] virtio-iommu: Support VIRTIO_IOMMU_F_BYPASS_CONFIG
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH 0/3] virtio-iommu: Support VIRTIO_IOMMU_F_BYPASS_CONFIG |
Date: |
Tue, 11 Jan 2022 10:40:28 -0500 |
On Tue, Jan 11, 2022 at 10:02:12AM +0100, Eric Auger wrote:
> Hi Jean, Michael,
>
> On 9/30/21 8:50 PM, Jean-Philippe Brucker wrote:
> > Replace the VIRTIO_IOMMU_F_BYPASS feature with
> > VIRTIO_IOMMU_F_BYPASS_CONFIG, which enables a config space bit to switch
> > global bypass on and off.
> >
> > Add a boot-bypass option, which defaults to 'on' to be in line with
> > other vIOMMUs and to allow running firmware/bootloader that are unaware
> > of the IOMMU.
> >
> > See the spec change for more rationale
> > https://lists.oasis-open.org/archives/virtio-dev/202109/msg00137.html
>
> I guess the kernel bits should be merged in 5.17?
>
> Thanks
>
> Eric
They are in fact in my tree and set to go into 5.16.
They've been in linux-next for a whole cycle now.
But if you feel I'm rushing things, pls let me know.
Also, pls let me know whether my tree actually works well for you!
> >
> > Jean-Philippe Brucker (3):
> > NOMERGE: virtio-iommu: Add definitions for
> > VIRTIO_IOMMU_F_BYPASS_CONFIG
> > virtio-iommu: Default to bypass during boot
> > virtio-iommu: Support bypass domain
> >
> > include/hw/virtio/virtio-iommu.h | 1 +
> > include/standard-headers/linux/virtio_iommu.h | 10 +++-
> > hw/virtio/virtio-iommu.c | 60 ++++++++++++++++---
> > hw/virtio/trace-events | 4 +-
> > 4 files changed, 64 insertions(+), 11 deletions(-)
> >