Re: [PATCH v6 07/10] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-11-14 Thread Jason Wang
在 2022/11/11 21:02, Eugenio Perez Martin 写道: On Fri, Nov 11, 2022 at 8:41 AM Jason Wang wrote: 在 2022/11/10 21:22, Eugenio Perez Martin 写道: On Thu, Nov 10, 2022 at 6:51 AM Jason Wang wrote: On Wed, Nov 9, 2022 at 1:08 AM Eugenio Pérez wrote: So the caller can choose which ASID is destin

Re: [PATCH v6 07/10] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-11-11 Thread Eugenio Perez Martin
On Fri, Nov 11, 2022 at 8:41 AM Jason Wang wrote: > > > 在 2022/11/10 21:22, Eugenio Perez Martin 写道: > > On Thu, Nov 10, 2022 at 6:51 AM Jason Wang wrote: > >> On Wed, Nov 9, 2022 at 1:08 AM Eugenio Pérez wrote: > >>> So the caller can choose which ASID is destined. > >>> > >>> No need to update

Re: [PATCH v6 07/10] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-11-10 Thread Jason Wang
在 2022/11/10 21:22, Eugenio Perez Martin 写道: On Thu, Nov 10, 2022 at 6:51 AM Jason Wang wrote: On Wed, Nov 9, 2022 at 1:08 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 updat

Re: [PATCH v6 07/10] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-11-10 Thread Eugenio Perez Martin
On Thu, Nov 10, 2022 at 6:51 AM Jason Wang wrote: > > On Wed, Nov 9, 2022 at 1:08 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 v6 07/10] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-11-09 Thread Jason Wang
On Wed, Nov 9, 2022 at 1:08 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 passthroug

[PATCH v6 07/10] vdpa: Add asid parameter to vhost_vdpa_dma_map/unmap

2022-11-08 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-