Re: [PATCH v4 4/6] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-08-18 Thread Jason Wang
On Wed, Aug 10, 2022 at 1:04 AM Eugenio Perez Martin wrote: > > On Tue, Aug 9, 2022 at 9:21 AM Jason Wang wrote: > > > > On Sat, Aug 6, 2022 at 12:39 AM Eugenio Pérez wrote: > > > > > > So the caller can choose which ASID is destined. > > > > > > No need to update the batch functions as they wil

Re: [PATCH v4 4/6] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-08-09 Thread Eugenio Perez Martin
On Tue, Aug 9, 2022 at 9:21 AM Jason Wang wrote: > > On Sat, Aug 6, 2022 at 12:39 AM Eugenio Pérez wrote: > > > > So the caller can choose which ASID is destined. > > > > No need to update the batch functions as they will always be called from > > memory listener updates at the moment. Memory lis

Re: [PATCH v4 4/6] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-08-09 Thread Jason Wang
On Sat, Aug 6, 2022 at 12:39 AM Eugenio Pérez wrote: > > So the caller can choose which ASID is destined. > > No need to update the batch functions as they will always be called from > memory listener updates at the moment. Memory listener updates will > always update ASID 0, as it's the passthrou

[PATCH v4 4/6] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-08-05 Thread Eugenio Pérez
So the caller can choose which ASID is destined. No need to update the batch functions as they will always be called from memory listener updates at the moment. Memory listener updates will always update ASID 0, as it's the passthrough ASID. All vhost devices's ASID are 0 at this moment. Signed-