From: Suzuki K Poulose <Suzuki.Poulose@arm.com>
To: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/6] coresight: Introduce support for Coresight Address Translation Unit
Date: Thu, 21 Jun 2018 10:37:25 +0100 [thread overview]
Message-ID: <76e0bc22-468c-6215-de54-3e4ead42e17c@arm.com> (raw)
In-Reply-To: <20180620214157.GA20697@xps15>
Hi Mathieu,
On 20/06/1822:41, Mathieu Poirier wrote:
> Hi Suzuki,
>
> On Mon, Jun 18, 2018 at 11:56:16AM +0100, Suzuki K Poulose wrote:
>> Add the initial support for Coresight Address Translation Unit, which
>> augments the TMC in Coresight SoC-600 by providing an improved Scatter
>> Gather mechanism. CATU is always connected to a single TMC-ETR and
>> converts the AXI address with a translated address (from a given SG
>> table with specific format). The CATU should be programmed in pass
>> through mode and enabled if the ETR doesn't translation by CATU.
>
> To me this sentence look broken.
>
Yes, it is broken. It should have been :
"The CATU should be programmed in pass through mode and enabled
even if the ETR doesn't use the translation by CATU."
>> +static int catu_disable_hw(struct catu_drvdata *drvdata)
>> +{
>> + int rc = 0;
>> +
>> + if (catu_wait_for_ready(drvdata)) {
>> + dev_info(drvdata->dev, "Timeout while waiting for READY\n");
>> + rc = -EAGAIN;
>> + }
>> +
>> + catu_write_control(drvdata, 0);
>
> Is waiting for the ready bit before switching the component off comes from
> experimentation with the HW (i.e FPGA)? From what the reference manual
> indicate, CONTROL.ENABLE should be set to 0 first, and then wait for
> STATUS.READY.
You're right. It should be in the reverse order. I will fix it in the next version.
Thanks
Suzuki
next prev parent reply other threads:[~2018-06-21 9:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-18 10:56 [PATCH 0/6] coresight: Coresight Address Translation Unit support Suzuki K Poulose
2018-06-18 10:56 ` [PATCH 1/6] coresight: Cleanup device subtype struct Suzuki K Poulose
2018-06-18 10:56 ` [PATCH 2/6] coresight: Add helper device type Suzuki K Poulose
2018-06-18 10:56 ` [PATCH 3/6] coresight: Introduce support for Coresight Address Translation Unit Suzuki K Poulose
2018-06-20 21:41 ` Mathieu Poirier
2018-06-21 9:37 ` Suzuki K Poulose [this message]
2018-06-18 10:56 ` [PATCH 4/6] dts: bindings: Document device tree binding for CATU Suzuki K Poulose
2018-06-18 10:56 ` [PATCH 5/6] coresight: catu: Add support for scatter gather tables Suzuki K Poulose
2018-06-21 17:13 ` Mathieu Poirier
2018-06-22 9:01 ` Suzuki K Poulose
2018-06-22 14:38 ` Mathieu Poirier
2018-06-18 10:56 ` [PATCH 6/6] coresight: catu: Plug in CATU as a backend for ETR buffer Suzuki K Poulose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76e0bc22-468c-6215-de54-3e4ead42e17c@arm.com \
--to=suzuki.poulose@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®