Re: [PATCH 1/4] dma-buf: fix incorrect dma-fence documentation

2025-02-17 Thread Dmitry Osipenko
On 2/11/25 19:31, Christian König wrote: > diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h > index e7ad819962e3..e230af0d123f 100644 > --- a/include/linux/dma-fence.h > +++ b/include/linux/dma-fence.h > @@ -169,8 +169,8 @@ struct dma_fence_ops { >* implementation know tha

Re: [PATCH 1/4] dma-buf: fix incorrect dma-fence documentation

2025-02-17 Thread Simona Vetter
On Tue, Feb 11, 2025 at 05:31:06PM +0100, Christian König wrote: > There isn't much worse than documentation giving an incorrect advise. > Grabbing a spinlock while interrupts are disabled usually means that you > must also disable interrupts for all other uses of this spinlock. > > Otherwise real

[PATCH 1/4] dma-buf: fix incorrect dma-fence documentation

2025-02-11 Thread Christian König
There isn't much worse than documentation giving an incorrect advise. Grabbing a spinlock while interrupts are disabled usually means that you must also disable interrupts for all other uses of this spinlock. Otherwise really hard to debug issues can occur. So fix that invalid documentation. Sign