All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID
@ 2016-07-05  8:05 Olivier Schonken
  2016-07-05  8:05 ` [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes Olivier Schonken
  2016-07-05 16:15 ` [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Mathieu Poirier
  0 siblings, 2 replies; 8+ messages in thread
From: Olivier Schonken @ 2016-07-05  8:05 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
 drivers/hwtracing/coresight/coresight-etm3x.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/hwtracing/coresight/coresight-etm3x.c b/drivers/hwtracing/coresight/coresight-etm3x.c
index d83ab82..0f5d400 100644
--- a/drivers/hwtracing/coresight/coresight-etm3x.c
+++ b/drivers/hwtracing/coresight/coresight-etm3x.c
@@ -885,6 +885,11 @@ static struct amba_id etm_ids[] = {
 		.mask	= 0x0003ffff,
 		.data	= "ETM 3.3",
 	},
+	{	/* ETM 3.5 - Cortex-A5 */
+		.id	= 0x0003b955,
+		.mask	= 0x0003ffff,
+		.data	= "ETM 3.5",
+	},
 	{	/* ETM 3.5 */
 		.id	= 0x0003b956,
 		.mask	= 0x0003ffff,
-- 
1.9.1

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

* [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes
  2016-07-05  8:05 [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Olivier Schonken
@ 2016-07-05  8:05 ` Olivier Schonken
  2016-07-05 16:16   ` Mathieu Poirier
                     ` (2 more replies)
  2016-07-05 16:15 ` [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Mathieu Poirier
  1 sibling, 3 replies; 8+ messages in thread
From: Olivier Schonken @ 2016-07-05  8:05 UTC (permalink / raw)
  To: linux-arm-kernel

Add node to support SAMA5D2 Embedded Trace Macrocell and Embedded
Trace Buffer.

This patch depends on coresight-etm3x: Add ARM ETM-A5 peripheral ID
for proper coresight functionality.
It also depends on clocksource: timer-atmel-pit: enable mck to not
stall SAMA5D2 on bootup.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
 arch/arm/boot/dts/sama5d2.dtsi | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 5d63206..bde24ab 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -77,6 +77,35 @@
 		interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
 	};
 
+	etb {
+		compatible = "arm,coresight-etb10", "arm,primecell";
+		reg = <0x740000 0x1000>;
+
+		clocks = <&mck>;
+		clock-names = "apb_pclk";
+
+		port {
+			etb_in: endpoint {
+				slave-mode;
+				remote-endpoint = <&etm_out>;
+			};
+		};
+	};
+
+	etm {
+		compatible = "arm,coresight-etm3x", "arm,primecell";
+		reg = <0x73C000 0x1000>;
+
+		clocks = <&mck>;
+		clock-names = "apb_pclk";
+
+		port {
+			etm_out: endpoint {
+				remote-endpoint = <&etb_in>;
+			};
+		};
+	};
+
 	memory {
 		reg = <0x20000000 0x20000000>;
 	};
-- 
1.9.1

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

* [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID
  2016-07-05  8:05 [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Olivier Schonken
  2016-07-05  8:05 ` [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes Olivier Schonken
@ 2016-07-05 16:15 ` Mathieu Poirier
  1 sibling, 0 replies; 8+ messages in thread
From: Mathieu Poirier @ 2016-07-05 16:15 UTC (permalink / raw)
  To: linux-arm-kernel

On 5 July 2016 at 02:05, Olivier Schonken <olivier.schonken@gmail.com> wrote:
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
> ---
>  drivers/hwtracing/coresight/coresight-etm3x.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/drivers/hwtracing/coresight/coresight-etm3x.c b/drivers/hwtracing/coresight/coresight-etm3x.c
> index d83ab82..0f5d400 100644
> --- a/drivers/hwtracing/coresight/coresight-etm3x.c
> +++ b/drivers/hwtracing/coresight/coresight-etm3x.c
> @@ -885,6 +885,11 @@ static struct amba_id etm_ids[] = {
>                 .mask   = 0x0003ffff,
>                 .data   = "ETM 3.3",
>         },
> +       {       /* ETM 3.5 - Cortex-A5 */
> +               .id     = 0x0003b955,
> +               .mask   = 0x0003ffff,
> +               .data   = "ETM 3.5",
> +       },
>         {       /* ETM 3.5 */
>                 .id     = 0x0003b956,
>                 .mask   = 0x0003ffff,
> --
> 1.9.1
>

Applied - thanks.
Mathieu

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

* [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes
  2016-07-05  8:05 ` [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes Olivier Schonken
@ 2016-07-05 16:16   ` Mathieu Poirier
  2016-07-20  8:17     ` Olivier Schonken
  2016-07-20  9:17   ` Boris Brezillon
  2016-08-08 10:08   ` Alexandre Belloni
  2 siblings, 1 reply; 8+ messages in thread
From: Mathieu Poirier @ 2016-07-05 16:16 UTC (permalink / raw)
  To: linux-arm-kernel

On 5 July 2016 at 02:05, Olivier Schonken <olivier.schonken@gmail.com> wrote:
> Add node to support SAMA5D2 Embedded Trace Macrocell and Embedded
> Trace Buffer.
>
> This patch depends on coresight-etm3x: Add ARM ETM-A5 peripheral ID
> for proper coresight functionality.
> It also depends on clocksource: timer-atmel-pit: enable mck to not
> stall SAMA5D2 on bootup.
>
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
> ---
>  arch/arm/boot/dts/sama5d2.dtsi | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 5d63206..bde24ab 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -77,6 +77,35 @@
>                 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
>         };
>
> +       etb {
> +               compatible = "arm,coresight-etb10", "arm,primecell";
> +               reg = <0x740000 0x1000>;
> +
> +               clocks = <&mck>;
> +               clock-names = "apb_pclk";
> +
> +               port {
> +                       etb_in: endpoint {
> +                               slave-mode;
> +                               remote-endpoint = <&etm_out>;
> +                       };
> +               };
> +       };
> +
> +       etm {
> +               compatible = "arm,coresight-etm3x", "arm,primecell";
> +               reg = <0x73C000 0x1000>;
> +
> +               clocks = <&mck>;
> +               clock-names = "apb_pclk";
> +
> +               port {
> +                       etm_out: endpoint {
> +                               remote-endpoint = <&etb_in>;
> +                       };
> +               };
> +       };
> +
>         memory {
>                 reg = <0x20000000 0x20000000>;
>         };
> --
> 1.9.1
>

Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>

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

* [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes
  2016-07-05 16:16   ` Mathieu Poirier
@ 2016-07-20  8:17     ` Olivier Schonken
  2016-07-20  9:16       ` Alexandre Belloni
  0 siblings, 1 reply; 8+ messages in thread
From: Olivier Schonken @ 2016-07-20  8:17 UTC (permalink / raw)
  To: linux-arm-kernel

Hi All

Just wondering if there are still some issues regarding the sama5d2
ETM and ETB nodes patch that I have to change/update.
If I should resend at a better time for it to not get lost in the
noise just let me know.

I see that I accidentily left Boris out in the initial resend of the
patch.  My apologies.  Will forward the initial send to him as well.

Regards

Olivier Schonken

On 5 July 2016 at 18:16, Mathieu Poirier <mathieu.poirier@linaro.org> wrote:
> On 5 July 2016 at 02:05, Olivier Schonken <olivier.schonken@gmail.com> wrote:
>> Add node to support SAMA5D2 Embedded Trace Macrocell and Embedded
>> Trace Buffer.
>>
>> This patch depends on coresight-etm3x: Add ARM ETM-A5 peripheral ID
>> for proper coresight functionality.
>> It also depends on clocksource: timer-atmel-pit: enable mck to not
>> stall SAMA5D2 on bootup.
>>
>> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
>> ---
>>  arch/arm/boot/dts/sama5d2.dtsi | 29 +++++++++++++++++++++++++++++
>>  1 file changed, 29 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
>> index 5d63206..bde24ab 100644
>> --- a/arch/arm/boot/dts/sama5d2.dtsi
>> +++ b/arch/arm/boot/dts/sama5d2.dtsi
>> @@ -77,6 +77,35 @@
>>                 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
>>         };
>>
>> +       etb {
>> +               compatible = "arm,coresight-etb10", "arm,primecell";
>> +               reg = <0x740000 0x1000>;
>> +
>> +               clocks = <&mck>;
>> +               clock-names = "apb_pclk";
>> +
>> +               port {
>> +                       etb_in: endpoint {
>> +                               slave-mode;
>> +                               remote-endpoint = <&etm_out>;
>> +                       };
>> +               };
>> +       };
>> +
>> +       etm {
>> +               compatible = "arm,coresight-etm3x", "arm,primecell";
>> +               reg = <0x73C000 0x1000>;
>> +
>> +               clocks = <&mck>;
>> +               clock-names = "apb_pclk";
>> +
>> +               port {
>> +                       etm_out: endpoint {
>> +                               remote-endpoint = <&etb_in>;
>> +                       };
>> +               };
>> +       };
>> +
>>         memory {
>>                 reg = <0x20000000 0x20000000>;
>>         };
>> --
>> 1.9.1
>>
>
> Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>

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

* [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes
  2016-07-20  8:17     ` Olivier Schonken
@ 2016-07-20  9:16       ` Alexandre Belloni
  0 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2016-07-20  9:16 UTC (permalink / raw)
  To: linux-arm-kernel

On 20/07/2016 at 10:17:09 +0200, Olivier Schonken wrote :
> Hi All
> 
> Just wondering if there are still some issues regarding the sama5d2
> ETM and ETB nodes patch that I have to change/update.
> If I should resend at a better time for it to not get lost in the
> noise just let me know.
> 

No action is needed on your side. This patch is still on my todo list
and I'm planning to merge it for 4.9.

At first it was a bit late for 4.8 and finally, I forgot to take it
inside my last DT pull request. It is my mistake, sorry about that.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes
  2016-07-05  8:05 ` [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes Olivier Schonken
  2016-07-05 16:16   ` Mathieu Poirier
@ 2016-07-20  9:17   ` Boris Brezillon
  2016-08-08 10:08   ` Alexandre Belloni
  2 siblings, 0 replies; 8+ messages in thread
From: Boris Brezillon @ 2016-07-20  9:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue,  5 Jul 2016 10:05:50 +0200
Olivier Schonken <olivier.schonken@gmail.com> wrote:

> Add node to support SAMA5D2 Embedded Trace Macrocell and Embedded
> Trace Buffer.
> 
> This patch depends on coresight-etm3x: Add ARM ETM-A5 peripheral ID
> for proper coresight functionality.
> It also depends on clocksource: timer-atmel-pit: enable mck to not
> stall SAMA5D2 on bootup.
> 
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> ---
>  arch/arm/boot/dts/sama5d2.dtsi | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 5d63206..bde24ab 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -77,6 +77,35 @@
>  		interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
>  	};
>  
> +	etb {
> +		compatible = "arm,coresight-etb10", "arm,primecell";
> +		reg = <0x740000 0x1000>;
> +
> +		clocks = <&mck>;
> +		clock-names = "apb_pclk";
> +
> +		port {
> +			etb_in: endpoint {
> +				slave-mode;
> +				remote-endpoint = <&etm_out>;
> +			};
> +		};
> +	};
> +
> +	etm {
> +		compatible = "arm,coresight-etm3x", "arm,primecell";
> +		reg = <0x73C000 0x1000>;
> +
> +		clocks = <&mck>;
> +		clock-names = "apb_pclk";
> +
> +		port {
> +			etm_out: endpoint {
> +				remote-endpoint = <&etb_in>;
> +			};
> +		};
> +	};
> +
>  	memory {
>  		reg = <0x20000000 0x20000000>;
>  	};

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

* [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes
  2016-07-05  8:05 ` [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes Olivier Schonken
  2016-07-05 16:16   ` Mathieu Poirier
  2016-07-20  9:17   ` Boris Brezillon
@ 2016-08-08 10:08   ` Alexandre Belloni
  2 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2016-08-08 10:08 UTC (permalink / raw)
  To: linux-arm-kernel

On 05/07/2016 at 10:05:50 +0200, Olivier Schonken wrote :
> Add node to support SAMA5D2 Embedded Trace Macrocell and Embedded
> Trace Buffer.
> 
> This patch depends on coresight-etm3x: Add ARM ETM-A5 peripheral ID
> for proper coresight functionality.
> It also depends on clocksource: timer-atmel-pit: enable mck to not
> stall SAMA5D2 on bootup.
> 
> Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
> ---
>  arch/arm/boot/dts/sama5d2.dtsi | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-08-08 10:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-05  8:05 [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Olivier Schonken
2016-07-05  8:05 ` [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes Olivier Schonken
2016-07-05 16:16   ` Mathieu Poirier
2016-07-20  8:17     ` Olivier Schonken
2016-07-20  9:16       ` Alexandre Belloni
2016-07-20  9:17   ` Boris Brezillon
2016-08-08 10:08   ` Alexandre Belloni
2016-07-05 16:15 ` [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Mathieu Poirier

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.