[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with iom
From: |
Duan, Zhenzhong |
Subject: |
RE: [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with iommufd BE |
Date: |
Tue, 31 Oct 2023 02:27:39 +0000 |
>-----Original Message-----
>From: Cédric Le Goater <clg@redhat.com>
>Sent: Monday, October 30, 2023 10:05 PM
>Subject: Re: [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with
>iommufd BE
>
>On 10/26/23 12:30, Zhenzhong Duan wrote:
>> As pci hot reset path need to reference pci specific functions
>> and data structures, adding container level callback functions
>> for legacy and iommufd BE and referencing those pci specific
>> func/data is no better than implementing reset support with
>> iommufd BE directly in pci.c
>
>yes but it includes a large section of IOMMUFD code in pci.c
>which is ugly. Please make this an VFIOIOMMUOps handler instead.
OK, let me try it.
Thanks
Zhenzhong
- [PATCH v3 26/37] vfio/iommufd: Implement the iommufd backend, (continued)
- [PATCH v3 26/37] vfio/iommufd: Implement the iommufd backend, Zhenzhong Duan, 2023/10/26
- [PATCH v3 27/37] vfio/iommufd: Switch to manual hwpt allocation, Zhenzhong Duan, 2023/10/26
- [PATCH v3 28/37] vfio/iommufd: Add support for iova_ranges, Zhenzhong Duan, 2023/10/26
- [PATCH v3 30/37] vfio/pci: Extract out a helper vfio_pci_get_pci_hot_reset_info, Zhenzhong Duan, 2023/10/26
- [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with iommufd BE, Zhenzhong Duan, 2023/10/26
- [PATCH v3 29/37] vfio/iommufd: Bypass EEH if iommufd backend, Zhenzhong Duan, 2023/10/26
[PATCH v3 32/37] vfio/pci: Allow the selection of a given iommu backend, Zhenzhong Duan, 2023/10/26
[PATCH v3 33/37] vfio/pci: Make vfio cdev pre-openable by passing a file handle, Zhenzhong Duan, 2023/10/26
[PATCH v3 35/37] vfio/platform: Make vfio cdev pre-openable by passing a file handle, Zhenzhong Duan, 2023/10/26
[PATCH v3 34/37] vfio: Allow the selection of a given iommu backend for platform ap and ccw, Zhenzhong Duan, 2023/10/26
[PATCH v3 36/37] vfio/ap: Make vfio cdev pre-openable by passing a file handle, Zhenzhong Duan, 2023/10/26