linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dts: juno: Enable coresight tmc scatter gather in ETR
@ 2018-09-11  8:47 Suzuki K Poulose
  2018-09-11 10:35 ` Sudeep Holla
  0 siblings, 1 reply; 4+ messages in thread
From: Suzuki K Poulose @ 2018-09-11  8:47 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-kernel, mathieu.poirier, coresight, robert.walker,
	devicetree, robh, Suzuki K Poulose, Mike Leach, Sudeep Holla,
	Liviu Dudau, Lorenzo Pierlisi

We do not enable scatter-gather mode in the TMC-ETR by default
to prevent malfunctioning of systems where the ETR may not be
properly connected to the memory subsystem to allow for simultaneous
READ/WRITE transactions when used in SG mode. Instead we whitelist
the platforms where we know that it is safe to use the mode.

All revisions of Juno have a proper ETR connection and hence
white list them.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pierlisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
 arch/arm64/boot/dts/arm/juno-base.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index ce56a4a..3596e5d 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -199,6 +199,7 @@
 		clocks = <&soc_smc50mhz>;
 		clock-names = "apb_pclk";
 		power-domains = <&scpi_devpd 0>;
+		arm,scatter-gather;
 		port {
 			etr_in_port: endpoint {
 				slave-mode;
-- 
2.7.4


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

* Re: [PATCH] dts: juno: Enable coresight tmc scatter gather in ETR
  2018-09-11  8:47 [PATCH] dts: juno: Enable coresight tmc scatter gather in ETR Suzuki K Poulose
@ 2018-09-11 10:35 ` Sudeep Holla
  2018-09-11 14:47   ` Mathieu Poirier
  0 siblings, 1 reply; 4+ messages in thread
From: Sudeep Holla @ 2018-09-11 10:35 UTC (permalink / raw)
  To: Suzuki K Poulose, linux-arm-kernel
  Cc: Sudeep Holla, linux-kernel, mathieu.poirier, coresight,
	robert.walker, devicetree, robh, Mike Leach, Liviu Dudau,
	Lorenzo Pierlisi

On 11/09/18 09:47, Suzuki K Poulose wrote:
> We do not enable scatter-gather mode in the TMC-ETR by default
> to prevent malfunctioning of systems where the ETR may not be
> properly connected to the memory subsystem to allow for simultaneous
> READ/WRITE transactions when used in SG mode. Instead we whitelist
> the platforms where we know that it is safe to use the mode.
>
> All revisions of Juno have a proper ETR connection and hence
> white list them.
>

Applied conditionally, this conflicts with the patch Mathieu has in his
branch. He needs to drop that so that I can take both of them via ARM SoC.

--
Regards,
Sudeep

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

* Re: [PATCH] dts: juno: Enable coresight tmc scatter gather in ETR
  2018-09-11 10:35 ` Sudeep Holla
@ 2018-09-11 14:47   ` Mathieu Poirier
  2018-09-11 15:23     ` Sudeep Holla
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Poirier @ 2018-09-11 14:47 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: Suzuki K. Poulose, linux-arm-kernel, Linux Kernel Mailing List,
	coresight, Robert Walker, devicetree, Rob Herring, Mike Leach,
	Liviu Dudau, Lorenzo Pieralisi

On Tue, 11 Sep 2018 at 04:35, Sudeep Holla <sudeep.holla@arm.com> wrote:
>
> On 11/09/18 09:47, Suzuki K Poulose wrote:
> > We do not enable scatter-gather mode in the TMC-ETR by default
> > to prevent malfunctioning of systems where the ETR may not be
> > properly connected to the memory subsystem to allow for simultaneous
> > READ/WRITE transactions when used in SG mode. Instead we whitelist
> > the platforms where we know that it is safe to use the mode.
> >
> > All revisions of Juno have a proper ETR connection and hence
> > white list them.
> >
>
> Applied conditionally, this conflicts with the patch Mathieu has in his
> branch. He needs to drop that so that I can take both of them via ARM SoC.

As I communicated yesterday, I've already dropped that patch from my tree.

>
> --
> Regards,
> Sudeep

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

* Re: [PATCH] dts: juno: Enable coresight tmc scatter gather in ETR
  2018-09-11 14:47   ` Mathieu Poirier
@ 2018-09-11 15:23     ` Sudeep Holla
  0 siblings, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2018-09-11 15:23 UTC (permalink / raw)
  To: Mathieu Poirier
  Cc: Suzuki K. Poulose, linux-arm-kernel, Linux Kernel Mailing List,
	coresight, Robert Walker, devicetree, Rob Herring, Mike Leach,
	Liviu Dudau, Lorenzo Pieralisi, Sudeep Holla

On Tue, Sep 11, 2018 at 08:47:27AM -0600, Mathieu Poirier wrote:
> On Tue, 11 Sep 2018 at 04:35, Sudeep Holla <sudeep.holla@arm.com> wrote:
> >
> > On 11/09/18 09:47, Suzuki K Poulose wrote:
> > > We do not enable scatter-gather mode in the TMC-ETR by default
> > > to prevent malfunctioning of systems where the ETR may not be
> > > properly connected to the memory subsystem to allow for simultaneous
> > > READ/WRITE transactions when used in SG mode. Instead we whitelist
> > > the platforms where we know that it is safe to use the mode.
> > >
> > > All revisions of Juno have a proper ETR connection and hence
> > > white list them.
> > >
> >
> > Applied conditionally, this conflicts with the patch Mathieu has in his
> > branch. He needs to drop that so that I can take both of them via ARM SoC.
> 
> As I communicated yesterday, I've already dropped that patch from my tree.

Thanks Mathieu, I have applied both the patches already.

--
Regards,
Sudeep

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

end of thread, other threads:[~2018-09-11 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11  8:47 [PATCH] dts: juno: Enable coresight tmc scatter gather in ETR Suzuki K Poulose
2018-09-11 10:35 ` Sudeep Holla
2018-09-11 14:47   ` Mathieu Poirier
2018-09-11 15:23     ` 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).