SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories
@ 2014-07-14 20:47 Wolfram Sang
  2014-07-15  4:15 ` Simon Horman
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Wolfram Sang @ 2014-07-14 20:47 UTC (permalink / raw)
  To: linux-sh

From: Wolfram Sang <wsa+renesas@sang-engineering.com>

To be able to see debug messages during boot, enable the debug settings
from Kconfig also for drivers in subdirectories.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 drivers/dma/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
index c779e1eb2db2..aca5eb577d44 100644
--- a/drivers/dma/Makefile
+++ b/drivers/dma/Makefile
@@ -1,5 +1,5 @@
-ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
+subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
+subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
 
 obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
 obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
-- 
2.0.0


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

* Re: [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories
  2014-07-14 20:47 [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories Wolfram Sang
@ 2014-07-15  4:15 ` Simon Horman
  2014-07-15  5:43 ` Vinod Koul
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2014-07-15  4:15 UTC (permalink / raw)
  To: linux-sh

On Mon, Jul 14, 2014 at 10:47:26PM +0200, Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> 
> To be able to see debug messages during boot, enable the debug settings
> from Kconfig also for drivers in subdirectories.

Thanks, I have added this to the shdma-for-v3.17 branch.

> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>  drivers/dma/Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
> index c779e1eb2db2..aca5eb577d44 100644
> --- a/drivers/dma/Makefile
> +++ b/drivers/dma/Makefile
> @@ -1,5 +1,5 @@
> -ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> -ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
> +subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> +subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
>  
>  obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
>  obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
> -- 
> 2.0.0
> 

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

* Re: [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories
  2014-07-14 20:47 [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories Wolfram Sang
  2014-07-15  4:15 ` Simon Horman
@ 2014-07-15  5:43 ` Vinod Koul
  2014-07-15  7:44 ` Simon Horman
  2014-07-15 16:30 ` Vinod Koul
  3 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2014-07-15  5:43 UTC (permalink / raw)
  To: linux-sh

On Tue, Jul 15, 2014 at 01:15:45PM +0900, Simon Horman wrote:
> On Mon, Jul 14, 2014 at 10:47:26PM +0200, Wolfram Sang wrote:
> > From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> > 
> > To be able to see debug messages during boot, enable the debug settings
> > from Kconfig also for drivers in subdirectories.
> 
> Thanks, I have added this to the shdma-for-v3.17 branch.
Sorry, but this belong to dmaengine tree!

-- 
~Vinod

> 
> > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> > ---
> >  drivers/dma/Makefile | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
> > index c779e1eb2db2..aca5eb577d44 100644
> > --- a/drivers/dma/Makefile
> > +++ b/drivers/dma/Makefile
> > @@ -1,5 +1,5 @@
> > -ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> > -ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
> > +subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> > +subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
> >  
> >  obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
> >  obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
> > -- 
> > 2.0.0
> > 

-- 

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

* Re: [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories
  2014-07-14 20:47 [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories Wolfram Sang
  2014-07-15  4:15 ` Simon Horman
  2014-07-15  5:43 ` Vinod Koul
@ 2014-07-15  7:44 ` Simon Horman
  2014-07-15 16:30 ` Vinod Koul
  3 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2014-07-15  7:44 UTC (permalink / raw)
  To: linux-sh

On Tue, Jul 15, 2014 at 11:01:46AM +0530, Vinod Koul wrote:
> On Tue, Jul 15, 2014 at 01:15:45PM +0900, Simon Horman wrote:
> > On Mon, Jul 14, 2014 at 10:47:26PM +0200, Wolfram Sang wrote:
> > > From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> > > 
> > > To be able to see debug messages during boot, enable the debug settings
> > > from Kconfig also for drivers in subdirectories.
> > 
> > Thanks, I have added this to the shdma-for-v3.17 branch.
> Sorry, but this belong to dmaengine tree!

Thanks, I will drop it.

> -- 
> ~Vinod
> 
> > 
> > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> > > ---
> > >  drivers/dma/Makefile | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
> > > index c779e1eb2db2..aca5eb577d44 100644
> > > --- a/drivers/dma/Makefile
> > > +++ b/drivers/dma/Makefile
> > > @@ -1,5 +1,5 @@
> > > -ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> > > -ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
> > > +subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> > > +subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
> > >  
> > >  obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
> > >  obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
> > > -- 
> > > 2.0.0
> > > 
> 
> -- 
> 

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

* Re: [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories
  2014-07-14 20:47 [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories Wolfram Sang
                   ` (2 preceding siblings ...)
  2014-07-15  7:44 ` Simon Horman
@ 2014-07-15 16:30 ` Vinod Koul
  3 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2014-07-15 16:30 UTC (permalink / raw)
  To: linux-sh

On Mon, Jul 14, 2014 at 10:47:26PM +0200, Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> 
> To be able to see debug messages during boot, enable the debug settings
> from Kconfig also for drivers in subdirectories.
> 
Applied, thanks

-- 
~Vinod

> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>  drivers/dma/Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
> index c779e1eb2db2..aca5eb577d44 100644
> --- a/drivers/dma/Makefile
> +++ b/drivers/dma/Makefile
> @@ -1,5 +1,5 @@
> -ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> -ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
> +subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG)  := -DDEBUG
> +subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
>  
>  obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
>  obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
> -- 
> 2.0.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe dmaengine" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 

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

end of thread, other threads:[~2014-07-15 16:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 20:47 [PATCH v3] dmaengine: inherit debug settings from the subsystem for subdirectories Wolfram Sang
2014-07-15  4:15 ` Simon Horman
2014-07-15  5:43 ` Vinod Koul
2014-07-15  7:44 ` Simon Horman
2014-07-15 16:30 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox