* [PATCH] arm64: dts: juno: update definition for programmable replicator.
@ 2017-02-17 19:13 Mike Leach
[not found] ` <1487358790-2618-1-git-send-email-mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Mike Leach @ 2017-02-17 19:13 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A,
coresight-cunTk1MwBs8s++Sfvej+rw, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
sudeep.holla-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: Mike Leach
Juno platforms have a programmable replicator splitting the trace output to
TPIU and ETR. Currently this is not being programmed as it is being treated
as a none-programmable replicator - which is the default operational mode
for these devices. The TPIU in the system is enabled by default, and this
combination is causing back-pressure in the trace system resulting in
overflows at the source.
Replaces the existing definition with one that defines the programmable
replicator, using the "qcom,coresight-replicator1x" driver that provides
the correct functionality for CoreSight programmable replicators.
Signed-off-by: Mike Leach <mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index 9d799d9..6546e23 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -372,12 +372,14 @@
};
};
- coresight-replicator {
- /*
- * Non-configurable replicators don't show up on the
- * AMBA bus. As such no need to add "arm,primecell".
- */
- compatible = "arm,coresight-replicator";
+ coresight-replicator@20120000 {
+
+ compatible = "qcom,coresight-replicator1x", "arm,primecell";
+ reg = <0 0x20120000 0 0x1000>;
+
+ clocks = <&soc_smc50mhz>;
+ clock-names = "apb_pclk";
+ power-domains = <&scpi_devpd 0>;
ports {
#address-cells = <1>;
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <1487358790-2618-1-git-send-email-mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2017-02-20 18:50 ` Mathieu Poirier
2017-02-21 11:02 ` Sudeep Holla
1 sibling, 0 replies; 9+ messages in thread
From: Mathieu Poirier @ 2017-02-20 18:50 UTC (permalink / raw)
To: Mike Leach
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
coresight-cunTk1MwBs8s++Sfvej+rw, Rob Herring, Sudeep Holla,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On 17 February 2017 at 12:13, Mike Leach <mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
> Juno platforms have a programmable replicator splitting the trace output to
> TPIU and ETR. Currently this is not being programmed as it is being treated
> as a none-programmable replicator - which is the default operational mode
> for these devices. The TPIU in the system is enabled by default, and this
> combination is causing back-pressure in the trace system resulting in
> overflows at the source.
>
> Replaces the existing definition with one that defines the programmable
> replicator, using the "qcom,coresight-replicator1x" driver that provides
> the correct functionality for CoreSight programmable replicators.
>
> Signed-off-by: Mike Leach <mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
> index 9d799d9..6546e23 100644
> --- a/arch/arm64/boot/dts/arm/juno-base.dtsi
> +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
> @@ -372,12 +372,14 @@
> };
> };
>
> - coresight-replicator {
> - /*
> - * Non-configurable replicators don't show up on the
> - * AMBA bus. As such no need to add "arm,primecell".
> - */
> - compatible = "arm,coresight-replicator";
> + coresight-replicator@20120000 {
> +
There is an extra line that is not needed here. And we can probably
change "coresight-replicator" to "replicator" now that it can be
discovered on the AMBA bus.
Other than that:
Tested-by: Mathieu Poirier <mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> + compatible = "qcom,coresight-replicator1x", "arm,primecell";
> + reg = <0 0x20120000 0 0x1000>;
> +
> + clocks = <&soc_smc50mhz>;
> + clock-names = "apb_pclk";
> + power-domains = <&scpi_devpd 0>;
>
> ports {
> #address-cells = <1>;
> --
> 2.7.4
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <1487358790-2618-1-git-send-email-mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-02-20 18:50 ` Mathieu Poirier
@ 2017-02-21 11:02 ` Sudeep Holla
[not found] ` <2ba59da5-fc79-ab53-2f2a-2ddc6e5e9c3d-5wv7dgnIgG8@public.gmane.org>
1 sibling, 1 reply; 9+ messages in thread
From: Sudeep Holla @ 2017-02-21 11:02 UTC (permalink / raw)
To: Mike Leach, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A,
coresight-cunTk1MwBs8s++Sfvej+rw, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
devicetree-u79uwXL29TY76Z2rM5mHXA, Sudeep Holla
Hi Mike,
On 17/02/17 19:13, Mike Leach wrote:
> Juno platforms have a programmable replicator splitting the trace output to
> TPIU and ETR. Currently this is not being programmed as it is being treated
> as a none-programmable replicator - which is the default operational mode
> for these devices. The TPIU in the system is enabled by default, and this
> combination is causing back-pressure in the trace system resulting in
> overflows at the source.
>
> Replaces the existing definition with one that defines the programmable
> replicator, using the "qcom,coresight-replicator1x" driver that provides
> the correct functionality for CoreSight programmable replicators.
>
I assume this is just enhancement and not a fix. Since it's too late for
v4.11 (already in merge window now), I will queue this for v4.12
> Signed-off-by: Mike Leach <mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
> index 9d799d9..6546e23 100644
> --- a/arch/arm64/boot/dts/arm/juno-base.dtsi
> +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
> @@ -372,12 +372,14 @@
> };
> };
>
> - coresight-replicator {
> - /*
> - * Non-configurable replicators don't show up on the
> - * AMBA bus. As such no need to add "arm,primecell".
> - */
> - compatible = "arm,coresight-replicator";
> + coresight-replicator@20120000 {
> +
> + compatible = "qcom,coresight-replicator1x", "arm,primecell";
> + reg = <0 0x20120000 0 0x1000>;
> +
> + clocks = <&soc_smc50mhz>;
> + clock-names = "apb_pclk";
> + power-domains = <&scpi_devpd 0>;
>
> ports {
> #address-cells = <1>;
>
--
Regards,
Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <2ba59da5-fc79-ab53-2f2a-2ddc6e5e9c3d-5wv7dgnIgG8@public.gmane.org>
@ 2017-02-21 12:34 ` Mike Leach
[not found] ` <DB6PR0802MB219850A35C8DAD5CB2858C1C8C510-Su+keVU6bdiU6P2sXUe/YkdOKmgb957onBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-02-21 15:47 ` Mathieu Poirier
1 sibling, 1 reply; 9+ messages in thread
From: Mike Leach @ 2017-02-21 12:34 UTC (permalink / raw)
To: Mike Leach,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
coresight-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Sudeep Holla
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 3227 bytes --]
Hi Sudeep
> -----Original Message-----
> From: CoreSight [mailto:coresight-bounces@lists.linaro.org] On Behalf Of
> Sudeep Holla
> Sent: 21 February 2017 11:03
> To: Mike Leach; linux-arm-kernel@lists.infradead.org
> Cc: devicetree@vger.kernel.org; coresight@lists.linaro.org;
> robh+dt@kernel.org; Sudeep Holla
> Subject: Re: [PATCH] arm64: dts: juno: update definition for programmable
> replicator.
>
> Hi Mike,
>
> On 17/02/17 19:13, Mike Leach wrote:
> > Juno platforms have a programmable replicator splitting the trace
> > output to TPIU and ETR. Currently this is not being programmed as it
> > is being treated as a none-programmable replicator - which is the
> > default operational mode for these devices. The TPIU in the system is
> > enabled by default, and this combination is causing back-pressure in
> > the trace system resulting in overflows at the source.
> >
> > Replaces the existing definition with one that defines the
> > programmable replicator, using the "qcom,coresight-replicator1x"
> > driver that provides the correct functionality for CoreSight programmable
> replicators.
> >
>
> I assume this is just enhancement and not a fix.
I guess it depends on your point of view - with this update the trace overflows I was seeing disappear, as the trace path to TPIU is blocked.
So it affects the quality of collected trace using the ETR rather than a binary didn't work / works now change.
> Since it's too late for
> v4.11 (already in merge window now), I will queue this for v4.12
>
Thanks.
Mike
> > Signed-off-by: Mike Leach <mike.leach@linaro.org>
> > ---
> > arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------
> > 1 file changed, 8 insertions(+), 6 deletions(-)
> >
> > diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi
> > b/arch/arm64/boot/dts/arm/juno-base.dtsi
> > index 9d799d9..6546e23 100644
> > --- a/arch/arm64/boot/dts/arm/juno-base.dtsi
> > +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
> > @@ -372,12 +372,14 @@
> > };
> > };
> >
> > -coresight-replicator {
> > -/*
> > - * Non-configurable replicators don't show up on the
> > - * AMBA bus. As such no need to add "arm,primecell".
> > - */
> > -compatible = "arm,coresight-replicator";
> > +coresight-replicator@20120000 {
> > +
> > +compatible = "qcom,coresight-replicator1x", "arm,primecell";
> > +reg = <0 0x20120000 0 0x1000>;
> > +
> > +clocks = <&soc_smc50mhz>;
> > +clock-names = "apb_pclk";
> > +power-domains = <&scpi_devpd 0>;
> >
> > ports {
> > #address-cells = <1>;
> >
>
> --
> Regards,
> Sudeep
> _______________________________________________
> CoreSight mailing list
> CoreSight@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/coresight
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·zøzÚÞz)í
æèw*\x1fjg¬±¨\x1e¶Ý¢j.ïÛ°\½½MúgjÌæa×\x02' ©Þ¢¸\f¢·¦j:+v¨wèjØm¶ÿ¾\a«êçzZ+ùÝ¢j"ú!¶i
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <DB6PR0802MB219850A35C8DAD5CB2858C1C8C510-Su+keVU6bdiU6P2sXUe/YkdOKmgb957onBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
@ 2017-02-21 12:37 ` Sudeep Holla
[not found] ` <798053cd-ae5a-dc04-12c9-9df9e0d66b4d-5wv7dgnIgG8@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Sudeep Holla @ 2017-02-21 12:37 UTC (permalink / raw)
To: Mike Leach, Mike Leach
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Sudeep Holla, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
coresight-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
On 21/02/17 12:34, Mike Leach wrote:
> Hi Sudeep
>
>> -----Original Message-----
>> From: CoreSight [mailto:coresight-bounces-cunTk1MwBs8s++Sfvej+rw@public.gmane.org] On Behalf Of
>> Sudeep Holla
>> Sent: 21 February 2017 11:03
>> To: Mike Leach; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
>> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; coresight-cunTk1MwBs8s++Sfvej+rw@public.gmane.org;
>> robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; Sudeep Holla
>> Subject: Re: [PATCH] arm64: dts: juno: update definition for programmable
>> replicator.
>>
>> Hi Mike,
>>
>> On 17/02/17 19:13, Mike Leach wrote:
>>> Juno platforms have a programmable replicator splitting the trace
>>> output to TPIU and ETR. Currently this is not being programmed as it
>>> is being treated as a none-programmable replicator - which is the
>>> default operational mode for these devices. The TPIU in the system is
>>> enabled by default, and this combination is causing back-pressure in
>>> the trace system resulting in overflows at the source.
>>>
>>> Replaces the existing definition with one that defines the
>>> programmable replicator, using the "qcom,coresight-replicator1x"
>>> driver that provides the correct functionality for CoreSight programmable
>> replicators.
>>>
>>
>> I assume this is just enhancement and not a fix.
>
> I guess it depends on your point of view - with this update the trace
> overflows I was seeing disappear, as the trace path to TPIU is
> blocked. So it affects the quality of collected trace using the ETR
> rather than a binary didn't work / works now change.
>
OK, could you add the warning overflow messages if you get, so that it's
very clear from the change log. Then I can see if it can be pushed as fix.
--
Regards,
Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <798053cd-ae5a-dc04-12c9-9df9e0d66b4d-5wv7dgnIgG8@public.gmane.org>
@ 2017-02-21 12:46 ` Mike Leach
[not found] ` <CAJ9a7VhKtS-nrSBWQzMWkO1E1BajZY2aGBurdRAB05tGy2xs9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Mike Leach @ 2017-02-21 12:46 UTC (permalink / raw)
To: Sudeep Holla
Cc: Mike Leach,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
coresight-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
The messages are not a normal linux / kernel warning message, but a
result of the offline trace decode process:-
110739: I_OVERFLOW : Overflow.
110741: I_ASYNC : Alignment Synchronisation.
110754: I_TRACE_INFO : Trace Info.; PCTL=0x0
110757: I_TRACE_ON : Trace On.
If this is sufficient with an explanation I'm happy to add it to the patch.
Mike
On 21 February 2017 at 12:37, Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org> wrote:
>
>
> On 21/02/17 12:34, Mike Leach wrote:
>> Hi Sudeep
>>
>>> -----Original Message-----
>>> From: CoreSight [mailto:coresight-bounces-cunTk1MwBs8s++Sfvej+rw@public.gmane.org] On Behalf Of
>>> Sudeep Holla
>>> Sent: 21 February 2017 11:03
>>> To: Mike Leach; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
>>> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; coresight-cunTk1MwBs8s++Sfvej+rw@public.gmane.org;
>>> robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; Sudeep Holla
>>> Subject: Re: [PATCH] arm64: dts: juno: update definition for programmable
>>> replicator.
>>>
>>> Hi Mike,
>>>
>>> On 17/02/17 19:13, Mike Leach wrote:
>>>> Juno platforms have a programmable replicator splitting the trace
>>>> output to TPIU and ETR. Currently this is not being programmed as it
>>>> is being treated as a none-programmable replicator - which is the
>>>> default operational mode for these devices. The TPIU in the system is
>>>> enabled by default, and this combination is causing back-pressure in
>>>> the trace system resulting in overflows at the source.
>>>>
>>>> Replaces the existing definition with one that defines the
>>>> programmable replicator, using the "qcom,coresight-replicator1x"
>>>> driver that provides the correct functionality for CoreSight programmable
>>> replicators.
>>>>
>>>
>>> I assume this is just enhancement and not a fix.
>>
>> I guess it depends on your point of view - with this update the trace
>> overflows I was seeing disappear, as the trace path to TPIU is
>> blocked. So it affects the quality of collected trace using the ETR
>> rather than a binary didn't work / works now change.
>>
>
> OK, could you add the warning overflow messages if you get, so that it's
> very clear from the change log. Then I can see if it can be pushed as fix.
>
> --
> Regards,
> Sudeep
--
Mike Leach
Principal Engineer, ARM Ltd.
Blackburn Design Centre. UK
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <CAJ9a7VhKtS-nrSBWQzMWkO1E1BajZY2aGBurdRAB05tGy2xs9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-02-21 13:53 ` Sudeep Holla
0 siblings, 0 replies; 9+ messages in thread
From: Sudeep Holla @ 2017-02-21 13:53 UTC (permalink / raw)
To: Mike Leach
Cc: Sudeep Holla, Mike Leach,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
coresight-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Hi Mike,
On 21/02/17 12:46, Mike Leach wrote:
> The messages are not a normal linux / kernel warning message, but a
> result of the offline trace decode process:-
>
> 110739: I_OVERFLOW : Overflow.
> 110741: I_ASYNC : Alignment Synchronisation.
> 110754: I_TRACE_INFO : Trace Info.; PCTL=0x0
> 110757: I_TRACE_ON : Trace On.
>
> If this is sufficient with an explanation I'm happy to add it to the patch.
>
Oh OK, then no need to add to changelog as it requires the knowledge of
this tool to understand which is not part of the kernel tree. I will try
to push it as a fix and lets see how that goes.
--
Regards,
Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <2ba59da5-fc79-ab53-2f2a-2ddc6e5e9c3d-5wv7dgnIgG8@public.gmane.org>
2017-02-21 12:34 ` Mike Leach
@ 2017-02-21 15:47 ` Mathieu Poirier
[not found] ` <CANLsYkzRayLerx7+gLiqJ9yVSCf+GEiyRqnFZopQ1i3EB-yGFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
1 sibling, 1 reply; 9+ messages in thread
From: Mathieu Poirier @ 2017-02-21 15:47 UTC (permalink / raw)
To: Sudeep Holla
Cc: Mike Leach,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
coresight-cunTk1MwBs8s++Sfvej+rw, Rob Herring,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On 21 February 2017 at 04:02, Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org> wrote:
> Hi Mike,
>
> On 17/02/17 19:13, Mike Leach wrote:
>> Juno platforms have a programmable replicator splitting the trace output to
>> TPIU and ETR. Currently this is not being programmed as it is being treated
>> as a none-programmable replicator - which is the default operational mode
>> for these devices. The TPIU in the system is enabled by default, and this
>> combination is causing back-pressure in the trace system resulting in
>> overflows at the source.
>>
>> Replaces the existing definition with one that defines the programmable
>> replicator, using the "qcom,coresight-replicator1x" driver that provides
>> the correct functionality for CoreSight programmable replicators.
>>
>
> I assume this is just enhancement and not a fix. Since it's too late for
> v4.11 (already in merge window now), I will queue this for v4.12
>
>> Signed-off-by: Mike Leach <mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>> ---
>> arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------
>> 1 file changed, 8 insertions(+), 6 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
>> index 9d799d9..6546e23 100644
>> --- a/arch/arm64/boot/dts/arm/juno-base.dtsi
>> +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
>> @@ -372,12 +372,14 @@
>> };
>> };
>>
>> - coresight-replicator {
>> - /*
>> - * Non-configurable replicators don't show up on the
>> - * AMBA bus. As such no need to add "arm,primecell".
>> - */
>> - compatible = "arm,coresight-replicator";
>> + coresight-replicator@20120000 {
>> +
As stated in a previous post please remove the extra line and the
"coresight-". Since programmable replicators show up on the AMBA bus
there is no need to differentiate them from other CoreSight devices.
Thanks,
Mathieu
>> + compatible = "qcom,coresight-replicator1x", "arm,primecell";
>> + reg = <0 0x20120000 0 0x1000>;
>> +
>> + clocks = <&soc_smc50mhz>;
>> + clock-names = "apb_pclk";
>> + power-domains = <&scpi_devpd 0>;
>>
>> ports {
>> #address-cells = <1>;
>>
>
> --
> Regards,
> Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: juno: update definition for programmable replicator.
[not found] ` <CANLsYkzRayLerx7+gLiqJ9yVSCf+GEiyRqnFZopQ1i3EB-yGFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-02-21 15:54 ` Sudeep Holla
0 siblings, 0 replies; 9+ messages in thread
From: Sudeep Holla @ 2017-02-21 15:54 UTC (permalink / raw)
To: Mathieu Poirier, Mike Leach
Cc: Sudeep Holla,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
coresight-cunTk1MwBs8s++Sfvej+rw, Rob Herring,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On 21/02/17 15:47, Mathieu Poirier wrote:
> On 21 February 2017 at 04:02, Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org> wrote:
>> Hi Mike,
>>
>> On 17/02/17 19:13, Mike Leach wrote:
>>> Juno platforms have a programmable replicator splitting the trace output to
>>> TPIU and ETR. Currently this is not being programmed as it is being treated
>>> as a none-programmable replicator - which is the default operational mode
>>> for these devices. The TPIU in the system is enabled by default, and this
>>> combination is causing back-pressure in the trace system resulting in
>>> overflows at the source.
>>>
>>> Replaces the existing definition with one that defines the programmable
>>> replicator, using the "qcom,coresight-replicator1x" driver that provides
>>> the correct functionality for CoreSight programmable replicators.
>>>
>>
>> I assume this is just enhancement and not a fix. Since it's too late for
>> v4.11 (already in merge window now), I will queue this for v4.12
>>
>>> Signed-off-by: Mike Leach <mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>>> ---
>>> arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------
>>> 1 file changed, 8 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
>>> index 9d799d9..6546e23 100644
>>> --- a/arch/arm64/boot/dts/arm/juno-base.dtsi
>>> +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
>>> @@ -372,12 +372,14 @@
>>> };
>>> };
>>>
>>> - coresight-replicator {
>>> - /*
>>> - * Non-configurable replicators don't show up on the
>>> - * AMBA bus. As such no need to add "arm,primecell".
>>> - */
>>> - compatible = "arm,coresight-replicator";
>>> + coresight-replicator@20120000 {
>>> +
>
> As stated in a previous post please remove the extra line and the
> "coresight-". Since programmable replicators show up on the AMBA bus
> there is no need to differentiate them from other CoreSight devices.
>
Already done in my local branch ;) along with you tags.
Also I away when merge window closes, so I will be able to send only at
-rc2. ARM SoC team generally prefer to rebase fixes on top of -rc1.
--
Regards,
Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-02-21 15:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17 19:13 [PATCH] arm64: dts: juno: update definition for programmable replicator Mike Leach
[not found] ` <1487358790-2618-1-git-send-email-mike.leach-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-02-20 18:50 ` Mathieu Poirier
2017-02-21 11:02 ` Sudeep Holla
[not found] ` <2ba59da5-fc79-ab53-2f2a-2ddc6e5e9c3d-5wv7dgnIgG8@public.gmane.org>
2017-02-21 12:34 ` Mike Leach
[not found] ` <DB6PR0802MB219850A35C8DAD5CB2858C1C8C510-Su+keVU6bdiU6P2sXUe/YkdOKmgb957onBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-02-21 12:37 ` Sudeep Holla
[not found] ` <798053cd-ae5a-dc04-12c9-9df9e0d66b4d-5wv7dgnIgG8@public.gmane.org>
2017-02-21 12:46 ` Mike Leach
[not found] ` <CAJ9a7VhKtS-nrSBWQzMWkO1E1BajZY2aGBurdRAB05tGy2xs9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-02-21 13:53 ` Sudeep Holla
2017-02-21 15:47 ` Mathieu Poirier
[not found] ` <CANLsYkzRayLerx7+gLiqJ9yVSCf+GEiyRqnFZopQ1i3EB-yGFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-02-21 15:54 ` Sudeep Holla
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).