Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1359659

Re: [PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask
Date 2016-03-17 10:30 +0100
Message-ID <rdCpJ-5uU-35@gated-at.bofh.it> (permalink)
References <rdCpJ-5uU-13@gated-at.bofh.it> <rdCpJ-5uU-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday 17 March 2016 10:20:21 Arnd Bergmann wrote:
> While fixing another bug, I noticed that bcma manually sets up
> a dma_mask pointer for its child devices. We have a generic
> helper for that now, which should be able to cope better with
> any variations that might be needed to deal with cache coherency,
> unusual DMA address offsets, iommus, or limited DMA masks, none
> of which are currently handled here.
> 
> This changes the core to use the of_dma_configure(), like
> we do for platform devices that are probed directly from
> DT.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> 
> This patch needs to be tested to ensure we don't introduce
> regressions, and should probably go into 4.7 as a cleanup.
> 

I had meant to send at least a build-tested version of this,
sorry for the premature submission that breaks the build.

v2 coming.

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask Arnd Bergmann <arnd@arndb.de> - 2016-03-17 10:30 +0100
  Re: [PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask Arnd Bergmann <arnd@arndb.de> - 2016-03-17 10:30 +0100

csiph-web