Re: [PATCH 0/4] dma-buf: Silence dma_fence __rcu sparse warnings
On Tue, Nov 07, 2017 at 01:37:10PM +0530, Sumit Semwal wrote: > Hi Ville, > > On 3 November 2017 at 13:18, Christian Königwrote: > > Patch #4 is Reviewed-by: Christian König . > > > > The rest is Acked-by: Christian König . > > > > Regards, > > Christian. > > > > > > Am 02.11.2017 um 21:03 schrieb Ville Syrjala: > >> > >> From: Ville Syrjälä > >> > >> When building drm+i915 I get around 150 lines of sparse noise from > >> dma_fence __rcu warnings. This series eliminates all of that. > >> > >> The first two patches were already posted by Chris, but there wasn't > >> any real reaction, so I figured I'd repost with a wider Cc list. > >> > >> As for the other two patches, I'm no expert on dma_fence and I didn't > >> spend a lot of time looking at it so I can't be sure I annotated all > >> the accesses correctly. But I figured someone will scream at me if > >> I got it wrong ;) > >> > >> Cc: Dave Airlie > >> Cc: Jason Ekstrand > >> Cc: linaro-mm-...@lists.linaro.org > >> Cc: linux-media@vger.kernel.org > >> Cc: Alex Deucher > >> Cc: Christian König > >> Cc: Sumit Semwal > >> Cc: Chris Wilson > >> > >> Chris Wilson (2): > >>drm/syncobj: Mark up the fence as an RCU protected pointer > >>dma-buf/fence: Sparse wants __rcu on the object itself > >> > >> Ville Syrjälä (2): > >>drm/syncobj: Use proper methods for accessing rcu protected pointers > >>dma-buf: Use rcu_assign_pointer() to set rcu protected pointers > > For patches 2 (with Daniel's minor comment) and 4, please feel free to add my > Acked-by: Sumit Semwal > >> > >> drivers/dma-buf/reservation.c | 2 +- > >> drivers/gpu/drm/drm_syncobj.c | 11 +++ > >> include/drm/drm_syncobj.h | 2 +- > >> include/linux/dma-fence.h | 2 +- > >> 4 files changed, 10 insertions(+), 7 deletions(-) > >> > > > > Best, > Sumit. -- Ville Syrjälä Intel OTC
Re: [PATCH 0/4] dma-buf: Silence dma_fence __rcu sparse warnings
Hi Ville, On 3 November 2017 at 13:18, Christian Königwrote: > Patch #4 is Reviewed-by: Christian König . > > The rest is Acked-by: Christian König . > > Regards, > Christian. > > > Am 02.11.2017 um 21:03 schrieb Ville Syrjala: >> >> From: Ville Syrjälä >> >> When building drm+i915 I get around 150 lines of sparse noise from >> dma_fence __rcu warnings. This series eliminates all of that. >> >> The first two patches were already posted by Chris, but there wasn't >> any real reaction, so I figured I'd repost with a wider Cc list. >> >> As for the other two patches, I'm no expert on dma_fence and I didn't >> spend a lot of time looking at it so I can't be sure I annotated all >> the accesses correctly. But I figured someone will scream at me if >> I got it wrong ;) >> >> Cc: Dave Airlie >> Cc: Jason Ekstrand >> Cc: linaro-mm-...@lists.linaro.org >> Cc: linux-media@vger.kernel.org >> Cc: Alex Deucher >> Cc: Christian König >> Cc: Sumit Semwal >> Cc: Chris Wilson >> >> Chris Wilson (2): >>drm/syncobj: Mark up the fence as an RCU protected pointer >>dma-buf/fence: Sparse wants __rcu on the object itself >> >> Ville Syrjälä (2): >>drm/syncobj: Use proper methods for accessing rcu protected pointers >>dma-buf: Use rcu_assign_pointer() to set rcu protected pointers For patches 2 (with Daniel's minor comment) and 4, please feel free to add my Acked-by: Sumit Semwal > >> drivers/dma-buf/reservation.c | 2 +- >> drivers/gpu/drm/drm_syncobj.c | 11 +++ >> include/drm/drm_syncobj.h | 2 +- >> include/linux/dma-fence.h | 2 +- >> 4 files changed, 10 insertions(+), 7 deletions(-) >> > Best, Sumit.
Re: [PATCH 0/4] dma-buf: Silence dma_fence __rcu sparse warnings
Patch #4 is Reviewed-by: Christian König. The rest is Acked-by: Christian König . Regards, Christian. Am 02.11.2017 um 21:03 schrieb Ville Syrjala: From: Ville Syrjälä When building drm+i915 I get around 150 lines of sparse noise from dma_fence __rcu warnings. This series eliminates all of that. The first two patches were already posted by Chris, but there wasn't any real reaction, so I figured I'd repost with a wider Cc list. As for the other two patches, I'm no expert on dma_fence and I didn't spend a lot of time looking at it so I can't be sure I annotated all the accesses correctly. But I figured someone will scream at me if I got it wrong ;) Cc: Dave Airlie Cc: Jason Ekstrand Cc: linaro-mm-...@lists.linaro.org Cc: linux-media@vger.kernel.org Cc: Alex Deucher Cc: Christian König Cc: Sumit Semwal Cc: Chris Wilson Chris Wilson (2): drm/syncobj: Mark up the fence as an RCU protected pointer dma-buf/fence: Sparse wants __rcu on the object itself Ville Syrjälä (2): drm/syncobj: Use proper methods for accessing rcu protected pointers dma-buf: Use rcu_assign_pointer() to set rcu protected pointers drivers/dma-buf/reservation.c | 2 +- drivers/gpu/drm/drm_syncobj.c | 11 +++ include/drm/drm_syncobj.h | 2 +- include/linux/dma-fence.h | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-)