linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API
@ 2012-11-23 21:29 Shuah Khan
  2012-11-26 10:57 ` Marek Szyprowski
  2012-11-26 11:22 ` Joerg Roedel
  0 siblings, 2 replies; 7+ messages in thread
From: Shuah Khan @ 2012-11-23 21:29 UTC (permalink / raw)
  To: Joerg Roedel, a-jacquiot, fenghua.yu, catalin.marinas, lethal,
	benh, ralf, tony.luck, davem, m.szyprowski, msalter, monstr,
	Ming Lei
  Cc: linux-mips, linux-ia64, linux-c6x-dev, linux-sh,
	microblaze-uclinux, LKML, shuahkhan, sparclinux, linuxppc-dev,
	linux-arm-kernel

An earlier patch added dma mapping error debug feature to dma_debug
infrastructure. References:

https://lkml.org/lkml/2012/10/8/296
https://lkml.org/lkml/2012/11/3/219

The following series of patches adds the call to debug_dma_mapping_error() to
architecture specific dma_mapping_error() interfaces on the following
architectures that support CONFIG_DMA_API_DEBUG.

arm64
c6x
ia64
microblaze
mips
powerpc
sh
sparc
tile

arm - Change is already in Marek's dma-mapping tree[1] 
https://patchwork.kernel.org/patch/1625601/

microblaze - Change is already in linux-next. Including it for completeness
linux-next commit f229605441030bcd315c21d97b25889d63ed0130

x86 - done in the first patch that added the feature.

ARM64: dma_debug: add debug_dma_mapping_error support
c6x: dma_debug: add debug_dma_mapping_error support
ia64: dma_debug: add debug_dma_mapping_error support
microblaze: dma-mapping: support debug_dma_mapping_error
mips: dma_debug: add debug_dma_mapping_error support
powerpc: dma_debug: add debug_dma_mapping_error support
sh: dma_debug: add debug_dma_mapping_error support
sparc: dma_debug: add debug_dma_mapping_error support
tile: dma_debug: add debug_dma_mapping_error support

Thanks,
-- Shuah

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API
  2012-11-23 21:29 [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API Shuah Khan
@ 2012-11-26 10:57 ` Marek Szyprowski
  2012-11-26 11:20   ` Joerg Roedel
  2012-12-02 14:06   ` Joerg Roedel
  2012-11-26 11:22 ` Joerg Roedel
  1 sibling, 2 replies; 7+ messages in thread
From: Marek Szyprowski @ 2012-11-26 10:57 UTC (permalink / raw)
  To: shuah.khan
  Cc: linux-mips, linux-ia64, a-jacquiot, catalin.marinas, Ming Lei,
	shuahkhan, sparclinux, linux-c6x-dev, Joerg Roedel, linux-sh,
	msalter, fenghua.yu, microblaze-uclinux, linux-arm-kernel, monstr,
	tony.luck, LKML, ralf, lethal, linuxppc-dev, davem

Hello,

On 11/23/2012 10:29 PM, Shuah Khan wrote:
> An earlier patch added dma mapping error debug feature to dma_debug
> infrastructure. References:
>
> https://lkml.org/lkml/2012/10/8/296
> https://lkml.org/lkml/2012/11/3/219
>
> The following series of patches adds the call to debug_dma_mapping_error() to
> architecture specific dma_mapping_error() interfaces on the following
> architectures that support CONFIG_DMA_API_DEBUG.

I've took all the patches to the next-dma-debug branch in my tree, I sorry
that You have to wait so long for it. My branch is based on Joerg's
dma-debug branch and I've included it for testing in linux-next branch.

Joerg: would You mind if I handle pushing the whole branch to v3.8
via my kernel tree? Those changes should be kept close together to
avoid build breaks for bisecting.

Best regards
-- 
Marek Szyprowski
Samsung Poland R&D Center

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API
  2012-11-26 10:57 ` Marek Szyprowski
@ 2012-11-26 11:20   ` Joerg Roedel
  2012-12-02 14:06   ` Joerg Roedel
  1 sibling, 0 replies; 7+ messages in thread
From: Joerg Roedel @ 2012-11-26 11:20 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: linux-mips, linux-ia64, a-jacquiot, catalin.marinas, Ming Lei,
	shuahkhan, sparclinux, linux-c6x-dev, linux-sh, msalter,
	shuah.khan, fenghua.yu, microblaze-uclinux, linux-arm-kernel,
	monstr, tony.luck, LKML, ralf, lethal, linuxppc-dev, davem

On Mon, Nov 26, 2012 at 11:57:19AM +0100, Marek Szyprowski wrote:
> I've took all the patches to the next-dma-debug branch in my tree, I sorry
> that You have to wait so long for it. My branch is based on Joerg's
> dma-debug branch and I've included it for testing in linux-next branch.
> 
> Joerg: would You mind if I handle pushing the whole branch to v3.8
> via my kernel tree? Those changes should be kept close together to
> avoid build breaks for bisecting.

I'll apply the patches to my tree soon enough. But before that I'll wait
a little bit longer to give the arch maintainers the chance to add the
missing Acked-bys.


	Joerg

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API
  2012-11-23 21:29 [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API Shuah Khan
  2012-11-26 10:57 ` Marek Szyprowski
@ 2012-11-26 11:22 ` Joerg Roedel
  2012-11-26 16:09   ` Shuah Khan
  1 sibling, 1 reply; 7+ messages in thread
From: Joerg Roedel @ 2012-11-26 11:22 UTC (permalink / raw)
  To: Shuah Khan
  Cc: linux-mips, linux-ia64, a-jacquiot, catalin.marinas, Ming Lei,
	shuahkhan, sparclinux, m.szyprowski, linux-c6x-dev, linux-sh,
	msalter, fenghua.yu, microblaze-uclinux, linux-arm-kernel, monstr,
	tony.luck, LKML, ralf, lethal, linuxppc-dev, davem

Hi Shuah,

On Fri, Nov 23, 2012 at 02:29:02PM -0700, Shuah Khan wrote:
> x86 - done in the first patch that added the feature.
> 
> ARM64: dma_debug: add debug_dma_mapping_error support
> c6x: dma_debug: add debug_dma_mapping_error support
> ia64: dma_debug: add debug_dma_mapping_error support
> microblaze: dma-mapping: support debug_dma_mapping_error
> mips: dma_debug: add debug_dma_mapping_error support
> powerpc: dma_debug: add debug_dma_mapping_error support
> sh: dma_debug: add debug_dma_mapping_error support
> sparc: dma_debug: add debug_dma_mapping_error support
> tile: dma_debug: add debug_dma_mapping_error support

Have you compile-tested the invididual archs you are changing here?


	Joerg

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API
  2012-11-26 11:22 ` Joerg Roedel
@ 2012-11-26 16:09   ` Shuah Khan
  0 siblings, 0 replies; 7+ messages in thread
From: Shuah Khan @ 2012-11-26 16:09 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: linux-mips, linux-ia64, a-jacquiot, catalin.marinas, Ming Lei,
	shuahkhan, sparclinux, m.szyprowski, linux-c6x-dev, linux-sh,
	msalter, fenghua.yu, microblaze-uclinux, linux-arm-kernel, monstr,
	tony.luck, LKML, ralf, lethal, linuxppc-dev, davem

On Mon, 2012-11-26 at 12:22 +0100, Joerg Roedel wrote:
> Hi Shuah,
> 
> On Fri, Nov 23, 2012 at 02:29:02PM -0700, Shuah Khan wrote:
> > x86 - done in the first patch that added the feature.
> > 
> > ARM64: dma_debug: add debug_dma_mapping_error support
> > c6x: dma_debug: add debug_dma_mapping_error support
> > ia64: dma_debug: add debug_dma_mapping_error support
> > microblaze: dma-mapping: support debug_dma_mapping_error
> > mips: dma_debug: add debug_dma_mapping_error support
> > powerpc: dma_debug: add debug_dma_mapping_error support
> > sh: dma_debug: add debug_dma_mapping_error support
> > sparc: dma_debug: add debug_dma_mapping_error support
> > tile: dma_debug: add debug_dma_mapping_error support
> 
> Have you compile-tested the invididual archs you are changing here?
> 

Joerg,

Yes I compile tested all of them (except microblaze) on Nov 20th
linux_next git. The patch for microblaze is already in linux_next when I
tried to apply the patch to Nov 20th linux-next and figured that is
already covered and skipped that one.

-- Shuah

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API
  2012-11-26 10:57 ` Marek Szyprowski
  2012-11-26 11:20   ` Joerg Roedel
@ 2012-12-02 14:06   ` Joerg Roedel
  2012-12-03  8:51     ` Marek Szyprowski
  1 sibling, 1 reply; 7+ messages in thread
From: Joerg Roedel @ 2012-12-02 14:06 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: linux-mips, linux-ia64, a-jacquiot, catalin.marinas, Ming Lei,
	shuahkhan, sparclinux, linux-c6x-dev, linux-sh, msalter,
	shuah.khan, fenghua.yu, microblaze-uclinux, linux-arm-kernel,
	monstr, tony.luck, LKML, ralf, lethal, linuxppc-dev, davem

Hi Marek,
 
On Mon, Nov 26, 2012 at 11:57:19AM +0100, Marek Szyprowski wrote:

> I've took all the patches to the next-dma-debug branch in my tree, I sorry
> that You have to wait so long for it. My branch is based on Joerg's
> dma-debug branch and I've included it for testing in linux-next branch.

The patches are now two times in next. One version from my tree and one
from yours. Please remove the version from your tree, the patches should
go upstream via my dma-debug branch.


	Joerg

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API
  2012-12-02 14:06   ` Joerg Roedel
@ 2012-12-03  8:51     ` Marek Szyprowski
  0 siblings, 0 replies; 7+ messages in thread
From: Marek Szyprowski @ 2012-12-03  8:51 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: linux-mips, linux-ia64, a-jacquiot, catalin.marinas, Ming Lei,
	shuahkhan, sparclinux, linux-c6x-dev, linux-sh, msalter,
	shuah.khan, fenghua.yu, microblaze-uclinux, linux-arm-kernel,
	monstr, tony.luck, LKML, ralf, lethal, linuxppc-dev, davem


On 12/2/2012 3:06 PM, Joerg Roedel wrote:
> Hi Marek,
>   
> On Mon, Nov 26, 2012 at 11:57:19AM +0100, Marek Szyprowski wrote:
>
> > I've took all the patches to the next-dma-debug branch in my tree, I sorry
> > that You have to wait so long for it. My branch is based on Joerg's
> > dma-debug branch and I've included it for testing in linux-next branch.
>
> The patches are now two times in next. One version from my tree and one
> from yours. Please remove the version from your tree, the patches should
> go upstream via my dma-debug branch.

Ok, I've removed them from my dma-mapping-next tree. Please add/cherry-pick
the missing patch for ARM architecture, which I've accidentally already
pushed to mainline some time ago and then reverted. See commit
871ae57adc5ed092 (and 697575896670ba).

Best regards
-- 
Marek Szyprowski
Samsung Poland R&D Center

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-03  8:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-23 21:29 [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API Shuah Khan
2012-11-26 10:57 ` Marek Szyprowski
2012-11-26 11:20   ` Joerg Roedel
2012-12-02 14:06   ` Joerg Roedel
2012-12-03  8:51     ` Marek Szyprowski
2012-11-26 11:22 ` Joerg Roedel
2012-11-26 16:09   ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).