Re: [PATCH 1/4] vdpa: introduce .reset_map operation callback

2023-10-15 Thread Jason Wang
On Fri, Oct 13, 2023 at 3:36 PM Si-Wei Liu wrote: > > > > On 10/12/2023 7:49 PM, Jason Wang wrote: > > On Tue, Oct 10, 2023 at 5:05 PM Si-Wei Liu wrote: > >> Device specific IOMMU parent driver who wishes to see mapping to be > >> decoupled from virtio or vdpa device life cycle (device reset) can

Re: [PATCH 1/4] vdpa: introduce .reset_map operation callback

2023-10-13 Thread Si-Wei Liu
On 10/12/2023 7:49 PM, Jason Wang wrote: On Tue, Oct 10, 2023 at 5:05 PM Si-Wei Liu wrote: Device specific IOMMU parent driver who wishes to see mapping to be decoupled from virtio or vdpa device life cycle (device reset) can use it to restore memory mapping in the device IOMMU to the initial

Re: [PATCH 1/4] vdpa: introduce .reset_map operation callback

2023-10-12 Thread Jason Wang
On Tue, Oct 10, 2023 at 5:05 PM Si-Wei Liu wrote: > > Device specific IOMMU parent driver who wishes to see mapping to be > decoupled from virtio or vdpa device life cycle (device reset) can use > it to restore memory mapping in the device IOMMU to the initial or > default state. The reset of mapp

[PATCH 1/4] vdpa: introduce .reset_map operation callback

2023-10-10 Thread Si-Wei Liu
Device specific IOMMU parent driver who wishes to see mapping to be decoupled from virtio or vdpa device life cycle (device reset) can use it to restore memory mapping in the device IOMMU to the initial or default state. The reset of mapping is done per address space basis. The reason why a separa