* [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-10-26 0:36 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 0:36 UTC (permalink / raw) To: davem, kyungmin.park, m.szyprowski, sam, arnd; +Cc: sparclinux, LKML, shuahkhan From 9e8feb61482288c5a5dd609e0dd17c1a262a48a3 Mon Sep 17 00:00:00 2001 From: Shuah Khan <shuahkhan@gmail.com> Date: Thu, 25 Oct 2012 18:31:42 -0600 Subject: [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan <shuah.khan@hp.com> --- arch/sparc/include/asm/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/dma-mapping.h b/arch/sparc/include/asm/dma-mapping.h index 8493fd3..05fe53f 100644 --- a/arch/sparc/include/asm/dma-mapping.h +++ b/arch/sparc/include/asm/dma-mapping.h @@ -59,6 +59,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size, static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) { + debug_dma_mapping_error(dev, dma_addr); return (dma_addr = DMA_ERROR_CODE); } -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-10-26 0:36 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 0:36 UTC (permalink / raw) To: davem, kyungmin.park, m.szyprowski, sam, arnd; +Cc: sparclinux, LKML, shuahkhan >From 9e8feb61482288c5a5dd609e0dd17c1a262a48a3 Mon Sep 17 00:00:00 2001 From: Shuah Khan <shuahkhan@gmail.com> Date: Thu, 25 Oct 2012 18:31:42 -0600 Subject: [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan <shuah.khan@hp.com> --- arch/sparc/include/asm/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/dma-mapping.h b/arch/sparc/include/asm/dma-mapping.h index 8493fd3..05fe53f 100644 --- a/arch/sparc/include/asm/dma-mapping.h +++ b/arch/sparc/include/asm/dma-mapping.h @@ -59,6 +59,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size, static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) { + debug_dma_mapping_error(dev, dma_addr); return (dma_addr == DMA_ERROR_CODE); } -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH RFT RESEND] sparc: dma-mapping: support debug_dma_mapping_error 2012-10-26 0:36 ` Shuah Khan @ 2012-10-26 0:38 ` Shuah Khan -1 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 0:38 UTC (permalink / raw) To: davem, kyungmin.park, sam, arnd, m.szyprowski; +Cc: sparclinux, LKML, shuahkhan Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan <shuah.khan@hp.com> --- arch/sparc/include/asm/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/dma-mapping.h b/arch/sparc/include/asm/dma-mapping.h index 8493fd3..05fe53f 100644 --- a/arch/sparc/include/asm/dma-mapping.h +++ b/arch/sparc/include/asm/dma-mapping.h @@ -59,6 +59,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size, static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) { + debug_dma_mapping_error(dev, dma_addr); return (dma_addr = DMA_ERROR_CODE); } -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH RFT RESEND] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-10-26 0:38 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 0:38 UTC (permalink / raw) To: davem, kyungmin.park, sam, arnd, m.szyprowski; +Cc: sparclinux, LKML, shuahkhan Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan <shuah.khan@hp.com> --- arch/sparc/include/asm/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/dma-mapping.h b/arch/sparc/include/asm/dma-mapping.h index 8493fd3..05fe53f 100644 --- a/arch/sparc/include/asm/dma-mapping.h +++ b/arch/sparc/include/asm/dma-mapping.h @@ -59,6 +59,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size, static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) { + debug_dma_mapping_error(dev, dma_addr); return (dma_addr == DMA_ERROR_CODE); } -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-10-26 0:38 ` Shuah Khan @ 2012-10-26 16:13 ` Shuah Khan -1 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 16:13 UTC (permalink / raw) To: davem, kyungmin.park, arnd, m.szyprowski, sam; +Cc: sparclinux, LKML, shuahkhan Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan <shuah.khan@hp.com> --- arch/sparc/include/asm/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/dma-mapping.h b/arch/sparc/include/asm/dma-mapping.h index 8493fd3..05fe53f 100644 --- a/arch/sparc/include/asm/dma-mapping.h +++ b/arch/sparc/include/asm/dma-mapping.h @@ -59,6 +59,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size, static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) { + debug_dma_mapping_error(dev, dma_addr); return (dma_addr = DMA_ERROR_CODE); } -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-10-26 16:13 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 16:13 UTC (permalink / raw) To: davem, kyungmin.park, arnd, m.szyprowski, sam; +Cc: sparclinux, LKML, shuahkhan Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan <shuah.khan@hp.com> --- arch/sparc/include/asm/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/dma-mapping.h b/arch/sparc/include/asm/dma-mapping.h index 8493fd3..05fe53f 100644 --- a/arch/sparc/include/asm/dma-mapping.h +++ b/arch/sparc/include/asm/dma-mapping.h @@ -59,6 +59,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size, static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) { + debug_dma_mapping_error(dev, dma_addr); return (dma_addr == DMA_ERROR_CODE); } -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-10-26 16:13 ` Shuah Khan @ 2012-10-26 19:01 ` David Miller -1 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-10-26 19:01 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: Shuah Khan <shuah.khan@hp.com> Date: Fri, 26 Oct 2012 10:13:09 -0600 > Add support for debug_dma_mapping_error() call to avoid warning from > debug_dma_unmap() interface when it checks for mapping error checked > status. Without this patch, device driver failed to check map error > warning is generated. > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> Why are you resending this? When you resend patches, you have to give a reason. Did the patch change? Are you updating the CC: list of the patch posting? Are you correcting something else? ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-10-26 19:01 ` David Miller 0 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-10-26 19:01 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: Shuah Khan <shuah.khan@hp.com> Date: Fri, 26 Oct 2012 10:13:09 -0600 > Add support for debug_dma_mapping_error() call to avoid warning from > debug_dma_unmap() interface when it checks for mapping error checked > status. Without this patch, device driver failed to check map error > warning is generated. > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> Why are you resending this? When you resend patches, you have to give a reason. Did the patch change? Are you updating the CC: list of the patch posting? Are you correcting something else? ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-10-26 19:01 ` David Miller @ 2012-10-26 19:10 ` David Miller -1 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-10-26 19:10 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: David Miller <davem@davemloft.net> Date: Fri, 26 Oct 2012 15:01:53 -0400 (EDT) > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 26 Oct 2012 10:13:09 -0600 > >> Add support for debug_dma_mapping_error() call to avoid warning from >> debug_dma_unmap() interface when it checks for mapping error checked >> status. Without this patch, device driver failed to check map error >> warning is generated. >> >> Signed-off-by: Shuah Khan <shuah.khan@hp.com> > > Why are you resending this? > > When you resend patches, you have to give a reason. Did the patch > change? Are you updating the CC: list of the patch posting? Are > you correcting something else? In fact you sent this _3_ times. Please, don't do this, or at least explain why you are reposting something each time. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-10-26 19:10 ` David Miller 0 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-10-26 19:10 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: David Miller <davem@davemloft.net> Date: Fri, 26 Oct 2012 15:01:53 -0400 (EDT) > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 26 Oct 2012 10:13:09 -0600 > >> Add support for debug_dma_mapping_error() call to avoid warning from >> debug_dma_unmap() interface when it checks for mapping error checked >> status. Without this patch, device driver failed to check map error >> warning is generated. >> >> Signed-off-by: Shuah Khan <shuah.khan@hp.com> > > Why are you resending this? > > When you resend patches, you have to give a reason. Did the patch > change? Are you updating the CC: list of the patch posting? Are > you correcting something else? In fact you sent this _3_ times. Please, don't do this, or at least explain why you are reposting something each time. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-10-26 19:10 ` David Miller @ 2012-10-26 21:40 ` Shuah Khan -1 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 21:40 UTC (permalink / raw) To: David Miller Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-10-26 at 15:10 -0400, David Miller wrote: > From: David Miller <davem@davemloft.net> > Date: Fri, 26 Oct 2012 15:01:53 -0400 (EDT) > > > From: Shuah Khan <shuah.khan@hp.com> > > Date: Fri, 26 Oct 2012 10:13:09 -0600 > > > >> Add support for debug_dma_mapping_error() call to avoid warning from > >> debug_dma_unmap() interface when it checks for mapping error checked > >> status. Without this patch, device driver failed to check map error > >> warning is generated. > >> > >> Signed-off-by: Shuah Khan <shuah.khan@hp.com> > > > > Why are you resending this? > > > > When you resend patches, you have to give a reason. Did the patch > > change? Are you updating the CC: list of the patch posting? Are > > you correcting something else? > > In fact you sent this _3_ times. Please, don't do this, or at least > explain why you are reposting something each time. I am really sorry for the noise. I forgot to mark this explicitly for linux-next the first time and this patch depends on a patch that went into linux-next. I sent a few patches for several architectures and lost track. I meant to add explanation before I hit send. The reason for resend is to tag it for linux-next. -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-10-26 21:40 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-10-26 21:40 UTC (permalink / raw) To: David Miller Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-10-26 at 15:10 -0400, David Miller wrote: > From: David Miller <davem@davemloft.net> > Date: Fri, 26 Oct 2012 15:01:53 -0400 (EDT) > > > From: Shuah Khan <shuah.khan@hp.com> > > Date: Fri, 26 Oct 2012 10:13:09 -0600 > > > >> Add support for debug_dma_mapping_error() call to avoid warning from > >> debug_dma_unmap() interface when it checks for mapping error checked > >> status. Without this patch, device driver failed to check map error > >> warning is generated. > >> > >> Signed-off-by: Shuah Khan <shuah.khan@hp.com> > > > > Why are you resending this? > > > > When you resend patches, you have to give a reason. Did the patch > > change? Are you updating the CC: list of the patch posting? Are > > you correcting something else? > > In fact you sent this _3_ times. Please, don't do this, or at least > explain why you are reposting something each time. I am really sorry for the noise. I forgot to mark this explicitly for linux-next the first time and this patch depends on a patch that went into linux-next. I sent a few patches for several architectures and lost track. I meant to add explanation before I hit send. The reason for resend is to tag it for linux-next. -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-10-26 16:13 ` Shuah Khan @ 2012-11-10 0:38 ` David Miller -1 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-11-10 0:38 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: Shuah Khan <shuah.khan@hp.com> Date: Fri, 26 Oct 2012 10:13:09 -0600 > Add support for debug_dma_mapping_error() call to avoid warning from > debug_dma_unmap() interface when it checks for mapping error checked > status. Without this patch, device driver failed to check map error > warning is generated. > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> This doesn't even compile: /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma _mapping_error' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors In file included from include/linux/dma-mapping.h:76:0, from include/linux/skbuff.h:33, from include/linux/icmpv6.h:4, from include/linux/ipv6.h:58, from include/net/ipv6.h:16, from include/linux/sunrpc/clnt.h:26, from include/linux/nfs_fs.h:30, from init/do_mounts.c:30: ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-11-10 0:38 ` David Miller 0 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-11-10 0:38 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: Shuah Khan <shuah.khan@hp.com> Date: Fri, 26 Oct 2012 10:13:09 -0600 > Add support for debug_dma_mapping_error() call to avoid warning from > debug_dma_unmap() interface when it checks for mapping error checked > status. Without this patch, device driver failed to check map error > warning is generated. > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> This doesn't even compile: /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma _mapping_error' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors In file included from include/linux/dma-mapping.h:76:0, from include/linux/skbuff.h:33, from include/linux/icmpv6.h:4, from include/linux/ipv6.h:58, from include/net/ipv6.h:16, from include/linux/sunrpc/clnt.h:26, from include/linux/nfs_fs.h:30, from init/do_mounts.c:30: ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-11-10 0:38 ` David Miller @ 2012-11-10 0:52 ` Shuah Khan -1 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-11-10 0:52 UTC (permalink / raw) To: David Miller Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 26 Oct 2012 10:13:09 -0600 > > > Add support for debug_dma_mapping_error() call to avoid warning from > > debug_dma_unmap() interface when it checks for mapping error checked > > status. Without this patch, device driver failed to check map error > > warning is generated. > > > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> > > This doesn't even compile: > > /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': > /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma > _mapping_error' [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > In file included from include/linux/dma-mapping.h:76:0, > from include/linux/skbuff.h:33, > from include/linux/icmpv6.h:4, > from include/linux/ipv6.h:58, > from include/net/ipv6.h:16, > from include/linux/sunrpc/clnt.h:26, > from include/linux/nfs_fs.h:30, > from init/do_mounts.c:30: The problem the dependent patch is in linux-next and not in arch trees yet. That is why I am trying it get this through linux-next and/or dma-debug tree. I am open to suggestions on what is the best route. linux-next commit-id is: commit 6c9c6d6301287e369a754d628230fa6e50cdb74b I have another one that I sent to linux-next that fixes the dependency on get_dma_ops(): https://lkml.org/lkml/2012/11/3/219 Thanks, -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-11-10 0:52 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-11-10 0:52 UTC (permalink / raw) To: David Miller Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 26 Oct 2012 10:13:09 -0600 > > > Add support for debug_dma_mapping_error() call to avoid warning from > > debug_dma_unmap() interface when it checks for mapping error checked > > status. Without this patch, device driver failed to check map error > > warning is generated. > > > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> > > This doesn't even compile: > > /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': > /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma > _mapping_error' [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > In file included from include/linux/dma-mapping.h:76:0, > from include/linux/skbuff.h:33, > from include/linux/icmpv6.h:4, > from include/linux/ipv6.h:58, > from include/net/ipv6.h:16, > from include/linux/sunrpc/clnt.h:26, > from include/linux/nfs_fs.h:30, > from init/do_mounts.c:30: The problem the dependent patch is in linux-next and not in arch trees yet. That is why I am trying it get this through linux-next and/or dma-debug tree. I am open to suggestions on what is the best route. linux-next commit-id is: commit 6c9c6d6301287e369a754d628230fa6e50cdb74b I have another one that I sent to linux-next that fixes the dependency on get_dma_ops(): https://lkml.org/lkml/2012/11/3/219 Thanks, -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-11-10 0:52 ` Shuah Khan @ 2012-11-10 0:54 ` David Miller -1 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-11-10 0:54 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: Shuah Khan <shuah.khan@hp.com> Date: Fri, 09 Nov 2012 17:52:23 -0700 > On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: >> From: Shuah Khan <shuah.khan@hp.com> >> Date: Fri, 26 Oct 2012 10:13:09 -0600 >> >> > Add support for debug_dma_mapping_error() call to avoid warning from >> > debug_dma_unmap() interface when it checks for mapping error checked >> > status. Without this patch, device driver failed to check map error >> > warning is generated. >> > >> > Signed-off-by: Shuah Khan <shuah.khan@hp.com> >> >> This doesn't even compile: >> >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma >> _mapping_error' [-Werror=implicit-function-declaration] >> cc1: some warnings being treated as errors >> In file included from include/linux/dma-mapping.h:76:0, >> from include/linux/skbuff.h:33, >> from include/linux/icmpv6.h:4, >> from include/linux/ipv6.h:58, >> from include/net/ipv6.h:16, >> from include/linux/sunrpc/clnt.h:26, >> from include/linux/nfs_fs.h:30, >> from init/do_mounts.c:30: > > The problem the dependent patch is in linux-next and not in arch trees > yet. That is why I am trying it get this through linux-next and/or > dma-debug tree. I am open to suggestions on what is the best route. Then please put this in via the dma-debug tree: Acked-by: David S. Miller <davem@davemloft.net> ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-11-10 0:54 ` David Miller 0 siblings, 0 replies; 24+ messages in thread From: David Miller @ 2012-11-10 0:54 UTC (permalink / raw) To: shuah.khan Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan From: Shuah Khan <shuah.khan@hp.com> Date: Fri, 09 Nov 2012 17:52:23 -0700 > On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: >> From: Shuah Khan <shuah.khan@hp.com> >> Date: Fri, 26 Oct 2012 10:13:09 -0600 >> >> > Add support for debug_dma_mapping_error() call to avoid warning from >> > debug_dma_unmap() interface when it checks for mapping error checked >> > status. Without this patch, device driver failed to check map error >> > warning is generated. >> > >> > Signed-off-by: Shuah Khan <shuah.khan@hp.com> >> >> This doesn't even compile: >> >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma >> _mapping_error' [-Werror=implicit-function-declaration] >> cc1: some warnings being treated as errors >> In file included from include/linux/dma-mapping.h:76:0, >> from include/linux/skbuff.h:33, >> from include/linux/icmpv6.h:4, >> from include/linux/ipv6.h:58, >> from include/net/ipv6.h:16, >> from include/linux/sunrpc/clnt.h:26, >> from include/linux/nfs_fs.h:30, >> from init/do_mounts.c:30: > > The problem the dependent patch is in linux-next and not in arch trees > yet. That is why I am trying it get this through linux-next and/or > dma-debug tree. I am open to suggestions on what is the best route. Then please put this in via the dma-debug tree: Acked-by: David S. Miller <davem@davemloft.net> ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-11-10 0:54 ` David Miller @ 2012-11-10 1:21 ` Shuah Khan -1 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-11-10 1:21 UTC (permalink / raw) To: David Miller, Joerg Roedel Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-11-09 at 19:54 -0500, David Miller wrote: > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 09 Nov 2012 17:52:23 -0700 > > > On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: > >> From: Shuah Khan <shuah.khan@hp.com> > >> Date: Fri, 26 Oct 2012 10:13:09 -0600 > >> > >> > Add support for debug_dma_mapping_error() call to avoid warning from > >> > debug_dma_unmap() interface when it checks for mapping error checked > >> > status. Without this patch, device driver failed to check map error > >> > warning is generated. > >> > > >> > Signed-off-by: Shuah Khan <shuah.khan@hp.com> > >> > >> This doesn't even compile: > >> > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma > >> _mapping_error' [-Werror=implicit-function-declaration] > >> cc1: some warnings being treated as errors > >> In file included from include/linux/dma-mapping.h:76:0, > >> from include/linux/skbuff.h:33, > >> from include/linux/icmpv6.h:4, > >> from include/linux/ipv6.h:58, > >> from include/net/ipv6.h:16, > >> from include/linux/sunrpc/clnt.h:26, > >> from include/linux/nfs_fs.h:30, > >> from init/do_mounts.c:30: > > > > The problem the dependent patch is in linux-next and not in arch trees > > yet. That is why I am trying it get this through linux-next and/or > > dma-debug tree. I am open to suggestions on what is the best route. > > Then please put this in via the dma-debug tree: > > Acked-by: David S. Miller <davem@davemloft.net> Thanks -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-11-10 1:21 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-11-10 1:21 UTC (permalink / raw) To: David Miller, Joerg Roedel Cc: kyungmin.park, arnd, m.szyprowski, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-11-09 at 19:54 -0500, David Miller wrote: > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 09 Nov 2012 17:52:23 -0700 > > > On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: > >> From: Shuah Khan <shuah.khan@hp.com> > >> Date: Fri, 26 Oct 2012 10:13:09 -0600 > >> > >> > Add support for debug_dma_mapping_error() call to avoid warning from > >> > debug_dma_unmap() interface when it checks for mapping error checked > >> > status. Without this patch, device driver failed to check map error > >> > warning is generated. > >> > > >> > Signed-off-by: Shuah Khan <shuah.khan@hp.com> > >> > >> This doesn't even compile: > >> > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma > >> _mapping_error' [-Werror=implicit-function-declaration] > >> cc1: some warnings being treated as errors > >> In file included from include/linux/dma-mapping.h:76:0, > >> from include/linux/skbuff.h:33, > >> from include/linux/icmpv6.h:4, > >> from include/linux/ipv6.h:58, > >> from include/net/ipv6.h:16, > >> from include/linux/sunrpc/clnt.h:26, > >> from include/linux/nfs_fs.h:30, > >> from init/do_mounts.c:30: > > > > The problem the dependent patch is in linux-next and not in arch trees > > yet. That is why I am trying it get this through linux-next and/or > > dma-debug tree. I am open to suggestions on what is the best route. > > Then please put this in via the dma-debug tree: > > Acked-by: David S. Miller <davem@davemloft.net> Thanks -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error 2012-11-10 0:54 ` David Miller @ 2012-11-15 17:39 ` Shuah Khan -1 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-11-15 17:39 UTC (permalink / raw) To: David Miller, m.szyprowski Cc: kyungmin.park, arnd, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-11-09 at 19:54 -0500, David Miller wrote: > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 09 Nov 2012 17:52:23 -0700 > > > On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: > >> From: Shuah Khan <shuah.khan@hp.com> > >> Date: Fri, 26 Oct 2012 10:13:09 -0600 > >> > >> > Add support for debug_dma_mapping_error() call to avoid warning from > >> > debug_dma_unmap() interface when it checks for mapping error checked > >> > status. Without this patch, device driver failed to check map error > >> > warning is generated. > >> > > >> > Signed-off-by: Shuah Khan <shuah.khan@hp.com> > >> > >> This doesn't even compile: > >> > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma > >> _mapping_error' [-Werror=implicit-function-declaration] > >> cc1: some warnings being treated as errors > >> In file included from include/linux/dma-mapping.h:76:0, > >> from include/linux/skbuff.h:33, > >> from include/linux/icmpv6.h:4, > >> from include/linux/ipv6.h:58, > >> from include/net/ipv6.h:16, > >> from include/linux/sunrpc/clnt.h:26, > >> from include/linux/nfs_fs.h:30, > >> from init/do_mounts.c:30: > > > > The problem the dependent patch is in linux-next and not in arch trees > > yet. That is why I am trying it get this through linux-next and/or > > dma-debug tree. I am open to suggestions on what is the best route. > > Then please put this in via the dma-debug tree: > > Acked-by: David S. Miller <davem@davemloft.net> Marek, This is for sparc to go through your tree. Thanks, -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT RESEND linux-next] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-11-15 17:39 ` Shuah Khan 0 siblings, 0 replies; 24+ messages in thread From: Shuah Khan @ 2012-11-15 17:39 UTC (permalink / raw) To: David Miller, m.szyprowski Cc: kyungmin.park, arnd, sam, sparclinux, linux-kernel, shuahkhan On Fri, 2012-11-09 at 19:54 -0500, David Miller wrote: > From: Shuah Khan <shuah.khan@hp.com> > Date: Fri, 09 Nov 2012 17:52:23 -0700 > > > On Fri, 2012-11-09 at 19:38 -0500, David Miller wrote: > >> From: Shuah Khan <shuah.khan@hp.com> > >> Date: Fri, 26 Oct 2012 10:13:09 -0600 > >> > >> > Add support for debug_dma_mapping_error() call to avoid warning from > >> > debug_dma_unmap() interface when it checks for mapping error checked > >> > status. Without this patch, device driver failed to check map error > >> > warning is generated. > >> > > >> > Signed-off-by: Shuah Khan <shuah.khan@hp.com> > >> > >> This doesn't even compile: > >> > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h: In function 'dma_mapping_error': > >> /home/davem/src/GIT/sparc/arch/sparc/include/asm/dma-mapping.h:62:2: error: implicit declaration of function 'debug_dma > >> _mapping_error' [-Werror=implicit-function-declaration] > >> cc1: some warnings being treated as errors > >> In file included from include/linux/dma-mapping.h:76:0, > >> from include/linux/skbuff.h:33, > >> from include/linux/icmpv6.h:4, > >> from include/linux/ipv6.h:58, > >> from include/net/ipv6.h:16, > >> from include/linux/sunrpc/clnt.h:26, > >> from include/linux/nfs_fs.h:30, > >> from init/do_mounts.c:30: > > > > The problem the dependent patch is in linux-next and not in arch trees > > yet. That is why I am trying it get this through linux-next and/or > > dma-debug tree. I am open to suggestions on what is the best route. > > Then please put this in via the dma-debug tree: > > Acked-by: David S. Miller <davem@davemloft.net> Marek, This is for sparc to go through your tree. Thanks, -- Shuah ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error 2012-10-26 0:36 ` Shuah Khan @ 2012-11-17 12:22 ` Joerg Roedel -1 siblings, 0 replies; 24+ messages in thread From: Joerg Roedel @ 2012-11-17 12:22 UTC (permalink / raw) To: Shuah Khan Cc: davem, kyungmin.park, m.szyprowski, sam, arnd, sparclinux, LKML, shuahkhan On Thu, Oct 25, 2012 at 06:36:13PM -0600, Shuah Khan wrote: > >From 9e8feb61482288c5a5dd609e0dd17c1a262a48a3 Mon Sep 17 00:00:00 2001 > From: Shuah Khan <shuahkhan@gmail.com> > Date: Thu, 25 Oct 2012 18:31:42 -0600 > Subject: [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error > > Add support for debug_dma_mapping_error() call to avoid warning from > debug_dma_unmap() interface when it checks for mapping error checked > status. Without this patch, device driver failed to check map error > warning is generated. > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> Applied to dma-debug, thanks. Btw, what about the patches for the other archs? They should depend on the dma-debug branch too and should also be there, no? Joerg ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error @ 2012-11-17 12:22 ` Joerg Roedel 0 siblings, 0 replies; 24+ messages in thread From: Joerg Roedel @ 2012-11-17 12:22 UTC (permalink / raw) To: Shuah Khan Cc: davem, kyungmin.park, m.szyprowski, sam, arnd, sparclinux, LKML, shuahkhan On Thu, Oct 25, 2012 at 06:36:13PM -0600, Shuah Khan wrote: > >From 9e8feb61482288c5a5dd609e0dd17c1a262a48a3 Mon Sep 17 00:00:00 2001 > From: Shuah Khan <shuahkhan@gmail.com> > Date: Thu, 25 Oct 2012 18:31:42 -0600 > Subject: [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error > > Add support for debug_dma_mapping_error() call to avoid warning from > debug_dma_unmap() interface when it checks for mapping error checked > status. Without this patch, device driver failed to check map error > warning is generated. > > Signed-off-by: Shuah Khan <shuah.khan@hp.com> Applied to dma-debug, thanks. Btw, what about the patches for the other archs? They should depend on the dma-debug branch too and should also be there, no? Joerg ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2012-11-17 12:22 UTC | newest] Thread overview: 24+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-10-26 0:36 [PATCH RFT] sparc: dma-mapping: support debug_dma_mapping_error Shuah Khan 2012-10-26 0:36 ` Shuah Khan 2012-10-26 0:38 ` [PATCH RFT RESEND] " Shuah Khan 2012-10-26 0:38 ` Shuah Khan 2012-10-26 16:13 ` [PATCH RFT RESEND linux-next] " Shuah Khan 2012-10-26 16:13 ` Shuah Khan 2012-10-26 19:01 ` David Miller 2012-10-26 19:01 ` David Miller 2012-10-26 19:10 ` David Miller 2012-10-26 19:10 ` David Miller 2012-10-26 21:40 ` Shuah Khan 2012-10-26 21:40 ` Shuah Khan 2012-11-10 0:38 ` David Miller 2012-11-10 0:38 ` David Miller 2012-11-10 0:52 ` Shuah Khan 2012-11-10 0:52 ` Shuah Khan 2012-11-10 0:54 ` David Miller 2012-11-10 0:54 ` David Miller 2012-11-10 1:21 ` Shuah Khan 2012-11-10 1:21 ` Shuah Khan 2012-11-15 17:39 ` Shuah Khan 2012-11-15 17:39 ` Shuah Khan 2012-11-17 12:22 ` [PATCH RFT] " Joerg Roedel 2012-11-17 12:22 ` Joerg Roedel
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.