Re: [RFC 2/5] iommu/vt-d: Unlink device if failed to add to group

2020-01-11 Thread Lu Baolu
On 1/1/20 4:24 AM, Jon Derrick wrote: If the device fails to be added to the group, make sure to unlink the reference before returning. Signed-off-by: Jon Derrick Queued for v5.6. Best regards, baolu ___ iommu mailing list iommu@lists.linux-foundati

Re: [PATCH v11 2/4] uacce: add uacce driver

2020-01-11 Thread Greg Kroah-Hartman
On Sat, Jan 11, 2020 at 10:48:37AM +0800, Zhangfei Gao wrote: > +static int uacce_fops_open(struct inode *inode, struct file *filep) > +{ > + struct uacce_mm *uacce_mm = NULL; > + struct uacce_device *uacce; > + struct uacce_queue *q; > + int ret = 0; > + > + uacce = xa_load(&ua