On Mon, Oct 30, 2023 at 10:00:35AM +0100, Cédric Le Goater wrote:
> On 10/23/23 10:24, Cédric Le Goater wrote:
> > From: Yi Liu <yi.l....@intel.com>
> > 
> > This patch modifies pci_setup_iommu() to set PCIIOMMUOps
> > instead of setting PCIIOMMUFunc. PCIIOMMUFunc is used to
> > get an address space for a PCI device in vendor specific
> > way. The PCIIOMMUOps still offers this functionality. But
> > using PCIIOMMUOps leaves space to add more iommu related
> > vendor specific operations.
> > 
> > Cc: Kevin Tian <kevin.t...@intel.com>
> > Cc: Jacob Pan <jacob.jun....@linux.intel.com>
> > Cc: Peter Xu <pet...@redhat.com>
> > Cc: Eric Auger <eric.au...@redhat.com>
> > Cc: Yi Sun <yi.y....@linux.intel.com>
> > Cc: David Gibson <da...@gibson.dropbear.id.au>
> > Cc: "Michael S. Tsirkin" <m...@redhat.com>
> > Cc: Eric Auger <eric.au...@redhat.com>
> > Cc: Peter Maydell <peter.mayd...@linaro.org>
> > Cc: Paolo Bonzini <pbonz...@redhat.com>
> > Cc: Peter Xu <pet...@redhat.com>
> > Cc: Jason Wang <jasow...@redhat.com>
> > Cc: Andrey Smirnov <andrew.smir...@gmail.com>
> > Cc: Helge Deller <del...@gmx.de>
> > Cc: Hervé Poussineau <hpous...@reactos.org>
> > Cc: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
> > Cc: BALATON Zoltan <bala...@eik.bme.hu>
> > Cc: Elena Ufimtseva <elena.ufimts...@oracle.com>
> > Cc: Jagannathan Raman <jag.ra...@oracle.com>
> > Cc: Matthew Rosato <mjros...@linux.ibm.com>
> > Cc: Eric Farman <far...@linux.ibm.com>
> > Cc: Halil Pasic <pa...@linux.ibm.com>
> > Cc: Christian Borntraeger <borntrae...@linux.ibm.com>
> > Cc: Thomas Huth <th...@redhat.com>
> > Cc: Helge Deller <del...@gmx.de>
> > Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
> > Reviewed-by: Peter Xu <pet...@redhat.com>
> > Signed-off-by: Yi Liu <yi.l....@intel.com>
> > Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> > Reviewed-by: Eric Auger <eric.au...@redhat.com>
> > [ clg: - refreshed on latest QEMU
> >         - included hw/remote/iommu.c
> >         - documentation update
> >         - asserts in pci_setup_iommu()
> >         - removed checks on iommu_bus->iommu_ops->get_address_space
> >         - included Elroy PCI host (PA-RISC) ]
> > Signed-off-by: Cédric Le Goater <c...@redhat.com>
> > ---
> > 
> >   Hello,
> > 
> >   Initially sent by Yi Liu as part of series "intel_iommu: expose
> >   Shared Virtual Addressing to VMs" [1], this patch would also simplify
> >   the changes Joao wants to introduce in "vfio: VFIO migration support
> >   with vIOMMU" [2].
> > 
> >   Has anyone objections ?
> > 
> >   Thanks,
> > 
> >   C.
> > 
> >   [1] 
> > https://lore.kernel.org/qemu-devel/20210302203827.437645-5-yi.l....@intel.com/
> >   [2] 
> > https://lore.kernel.org/qemu-devel/20230622214845.3980-1-joao.m.mart...@oracle.com/
> 
> 
> Applied to vfio-next.
> 
> Thanks,
> 
> C.


Okay.
Acked-by: Michael S. Tsirkin <m...@redhat.com>


Reply via email to