Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-26 Thread Mathieu Poirier
On 23 September 2014 23:45, Greg KH wrote: > On Thu, Sep 18, 2014 at 05:09:11PM -0600, Mathieu Poirier wrote: >> On 12 September 2014 12:16, Greg KH wrote: >> > On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: >> >> Good morning and thanks for the review. Pls see comments below.

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-26 Thread Mathieu Poirier
On 23 September 2014 23:45, Greg KH gre...@linuxfoundation.org wrote: On Thu, Sep 18, 2014 at 05:09:11PM -0600, Mathieu Poirier wrote: On 12 September 2014 12:16, Greg KH gre...@linuxfoundation.org wrote: On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: Good morning and

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-24 Thread Greg KH
On Thu, Sep 18, 2014 at 05:09:11PM -0600, Mathieu Poirier wrote: > On 12 September 2014 12:16, Greg KH wrote: > > On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: > >> Good morning and thanks for the review. Pls see comments below. > >> > >> Mathieu > >> > >> On 11 September 2014

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-24 Thread Greg KH
On Thu, Sep 18, 2014 at 05:09:11PM -0600, Mathieu Poirier wrote: On 12 September 2014 12:16, Greg KH gre...@linuxfoundation.org wrote: On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: Good morning and thanks for the review. Pls see comments below. Mathieu On 11

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-18 Thread Mathieu Poirier
On 12 September 2014 12:16, Greg KH wrote: > On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: >> Good morning and thanks for the review. Pls see comments below. >> >> Mathieu >> >> On 11 September 2014 14:33, Greg KH wrote: >> > Some first impressions in glancing at the code,

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-18 Thread Mathieu Poirier
On 12 September 2014 12:16, Greg KH gre...@linuxfoundation.org wrote: On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: Good morning and thanks for the review. Pls see comments below. Mathieu On 11 September 2014 14:33, Greg KH gre...@linuxfoundation.org wrote: Some first

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-16 Thread Mathieu Poirier
On 12 September 2014 12:44, Russell King - ARM Linux wrote: > Further to Greg's comments... > > On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org wrote: >> +int coresight_enable(struct coresight_device *csdev) >> +{ >> + int ret = 0; >> + LIST_HEAD(path); >> + >> +

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-16 Thread Mathieu Poirier
On 12 September 2014 12:44, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Further to Greg's comments... On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org wrote: +int coresight_enable(struct coresight_device *csdev) +{ + int ret = 0; + LIST_HEAD(path); +

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-12 Thread Russell King - ARM Linux
Further to Greg's comments... On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org wrote: > +int coresight_enable(struct coresight_device *csdev) > +{ > + int ret = 0; > + LIST_HEAD(path); > + > + WARN_ON(IS_ERR_OR_NULL(csdev)); Please don't do this kind of checking,

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-12 Thread Greg KH
On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: > Good morning and thanks for the review. Pls see comments below. > > Mathieu > > On 11 September 2014 14:33, Greg KH wrote: > > Some first impressions in glancing at the code, not a complete review at > > all: > > > > On Thu,

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-12 Thread Mathieu Poirier
Good morning and thanks for the review. Pls see comments below. Mathieu On 11 September 2014 14:33, Greg KH wrote: > Some first impressions in glancing at the code, not a complete review at > all: > > On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org wrote: >> --- /dev/null

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-12 Thread Mathieu Poirier
Good morning and thanks for the review. Pls see comments below. Mathieu On 11 September 2014 14:33, Greg KH gre...@linuxfoundation.org wrote: Some first impressions in glancing at the code, not a complete review at all: On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-12 Thread Greg KH
On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: Good morning and thanks for the review. Pls see comments below. Mathieu On 11 September 2014 14:33, Greg KH gre...@linuxfoundation.org wrote: Some first impressions in glancing at the code, not a complete review at all:

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-12 Thread Russell King - ARM Linux
Further to Greg's comments... On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org wrote: +int coresight_enable(struct coresight_device *csdev) +{ + int ret = 0; + LIST_HEAD(path); + + WARN_ON(IS_ERR_OR_NULL(csdev)); Please don't do this kind of checking, it

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-11 Thread Greg KH
Some first impressions in glancing at the code, not a complete review at all: On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org wrote: > --- /dev/null > +++ b/drivers/coresight/coresight.c > @@ -0,0 +1,663 @@ > +/* Copyright (c) 2012, The Linux Foundation. All rights reserved.

[PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-11 Thread mathieu . poirier
From: Pratik Patel CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suit a particular SoC tracing needs. These trace components can generally be classified as sources, links and sinks. Trace data produced by one or

[PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-11 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suit a particular SoC tracing needs. These trace components can generally be classified as sources, links and sinks. Trace

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-11 Thread Greg KH
Some first impressions in glancing at the code, not a complete review at all: On Thu, Sep 11, 2014 at 09:49:08AM -0600, mathieu.poir...@linaro.org wrote: --- /dev/null +++ b/drivers/coresight/coresight.c @@ -0,0 +1,663 @@ +/* Copyright (c) 2012, The Linux Foundation. All rights reserved. + *