Re: [PATCH v4 02/13] driver core: Set DMA ownership during driver bind/unbind

From: Jason Gunthorpe
Date: Thu Dec 30 2021 - 19:37:05 EST


On Thu, Dec 23, 2021 at 03:23:54PM +0800, Lu Baolu wrote:

> > If this is a bug in the existing kernel, please submit it as a separate
> > patch so that it can be properly backported to all affected kernels.
> > Never bury it in an unrelated change that will never get sent to older
> > kernels.
>
> Sure! I will. Thank you!

I recall looking at this some time ago, and yes the ordering is not in
the strict pairwise error unwind one would expect, the extra calls
turned out to be harmless. Do check carefully..

Jason