[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 19/20] kconfig: Activate IOMMUFD for s390x machines
From: |
Matthew Rosato |
Subject: |
Re: [PATCH v5 19/20] kconfig: Activate IOMMUFD for s390x machines |
Date: |
Thu, 9 Nov 2023 18:00:27 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
On 11/9/23 6:45 AM, Zhenzhong Duan wrote:
> From: Cédric Le Goater <clg@redhat.com>
>
> Signed-off-by: Cédric Le Goater <clg@redhat.com>
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
> ---
> hw/s390x/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/s390x/Kconfig b/hw/s390x/Kconfig
> index 4c068d7960..26ad104485 100644
> --- a/hw/s390x/Kconfig
> +++ b/hw/s390x/Kconfig
> @@ -6,6 +6,7 @@ config S390_CCW_VIRTIO
> imply VFIO_CCW
> imply WDT_DIAG288
> imply PCIE_DEVICES
> + imply IOMMUFD
> select PCI_EXPRESS
> select S390_FLIC
> select S390_FLIC_KVM if KVM
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
I also ran tests against vfio-pci (mlx, ism, nvme), vfio-ap and vfio-ccw on
s390x with an iommufd-enabled host kernel + this series. Testing included
having qemu open both fds, passing in one fd and letting qemu open the other,
and passing in both fds.