Re: [Freedreno] [PATCH 16/17] iommu: remove DOMAIN_ATTR_IO_PGTABLE_CFG

2021-03-05 Thread Will Deacon
On Thu, Mar 04, 2021 at 03:11:08PM -0800, Rob Clark wrote: > On Thu, Mar 4, 2021 at 7:48 AM Robin Murphy wrote: > > > > On 2021-03-01 08:42, Christoph Hellwig wrote: > > > Signed-off-by: Christoph Hellwig > > > > Moreso than the previous patch, where the feature is at least relatively > > generic

Re: [PATCH] qxl: Fix uninitialised struct field head.surface_id

2021-03-05 Thread Gerd Hoffmann
On Thu, Mar 04, 2021 at 09:49:28AM +, Colin King wrote: > From: Colin Ian King > > The surface_id struct field in head is not being initialized and > static analysis warns that this is being passed through to > dev->monitors_config->heads[i] on an assignment. Clear up this > warning by initia

Re: [RFC PATCH 04/18] virt/mshv: request version ioctl

2021-03-05 Thread Vitaly Kuznetsov
Nuno Das Neves writes: > On 2/9/2021 5:11 AM, Vitaly Kuznetsov wrote: >> Nuno Das Neves writes: >> ... >>> + >>> +3.1 MSHV_REQUEST_VERSION >>> + >>> +:Type: /dev/mshv ioctl >>> +:Parameters: pointer to a u32 >>> +:Returns: 0 on success >>> + >>> +Before issuing any other

Re: [RFC PATCH 01/10] vdpa: add get_config_size callback in vdpa_config_ops

2021-03-05 Thread Stefano Garzarella
On Thu, Mar 04, 2021 at 04:34:52PM +0800, Jason Wang wrote: On 2021/3/2 10:15 下午, Stefano Garzarella wrote: On Tue, Mar 02, 2021 at 12:14:13PM +0800, Jason Wang wrote: On 2021/2/16 5:44 下午, Stefano Garzarella wrote: This new callback is used to get the size of the configuration space of vDPA

Re: [RFC PATCH 10/10] vhost/vdpa: return configuration bytes read and written to user space

2021-03-05 Thread Stefano Garzarella
On Thu, Mar 04, 2021 at 04:31:22PM +0800, Jason Wang wrote: On 2021/3/2 10:06 下午, Stefano Garzarella wrote: On Tue, Mar 02, 2021 at 12:05:35PM +0800, Jason Wang wrote: On 2021/2/16 5:44 下午, Stefano Garzarella wrote: vdpa_get_config() and vdpa_set_config() now return the amount of bytes read

Re: [PATCH v6] i2c: virtio: add a virtio i2c frontend driver

2021-03-05 Thread Jie Deng
On 2021/3/5 15:23, Jason Wang wrote: +    virtqueue_kick(vq); + +    time_left = wait_for_completion_timeout(&vi->completion, adap->timeout); +    if (!time_left) { +    dev_err(&adap->dev, "virtio i2c backend timeout.\n"); +    ret = -ETIMEDOUT; +    goto err_unlock_free; So