Re: [RFC v2 01/13] vdpa: fix VHOST_BACKEND_F_IOTLB_ASID flag check

2023-01-15 Thread Jason Wang
在 2023/1/13 14:42, Eugenio Perez Martin 写道: On Fri, Jan 13, 2023 at 4:12 AM Jason Wang wrote: On Fri, Jan 13, 2023 at 1:24 AM Eugenio Pérez wrote: VHOST_BACKEND_F_IOTLB_ASID is the feature bit, not the bitmask. Since the device under test also provided VHOST_BACKEND_F_IOTLB_MSG_V2 and VHOST

Re: [RFC v2 01/13] vdpa: fix VHOST_BACKEND_F_IOTLB_ASID flag check

2023-01-12 Thread Eugenio Perez Martin
On Fri, Jan 13, 2023 at 4:12 AM Jason Wang wrote: > > On Fri, Jan 13, 2023 at 1:24 AM Eugenio Pérez wrote: > > > > VHOST_BACKEND_F_IOTLB_ASID is the feature bit, not the bitmask. Since > > the device under test also provided VHOST_BACKEND_F_IOTLB_MSG_V2 and > > VHOST_BACKEND_F_IOTLB_BATCH, this w

Re: [RFC v2 01/13] vdpa: fix VHOST_BACKEND_F_IOTLB_ASID flag check

2023-01-12 Thread Jason Wang
On Fri, Jan 13, 2023 at 1:24 AM Eugenio Pérez wrote: > > VHOST_BACKEND_F_IOTLB_ASID is the feature bit, not the bitmask. Since > the device under test also provided VHOST_BACKEND_F_IOTLB_MSG_V2 and > VHOST_BACKEND_F_IOTLB_BATCH, this went unnoticed. > > Fixes: c1a1008685 ("vdpa: always start CVQ i