Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Tao Zhang <quic_taozha@quicinc.com>
To: Suzuki K Poulose <suzuki.poulose@arm.com>,
	Mike Leach <mike.leach@linaro.org>,
	James Clark <james.clark@arm.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Mathieu Poirier <mathieu.poirier@linaro.org>,
	Leo Yan <leo.yan@linux.dev>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: <coresight@lists.linaro.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH v4 1/4] dt-bindings: arm: qcom,coresight-static-replicator: Add property for source filtering
Date: Sat, 26 Oct 2024 11:48:20 +0800	[thread overview]
Message-ID: <76ce5d6d-a468-4f49-bc56-da6db2a4c9ba@quicinc.com> (raw)
In-Reply-To: <30301f0b-5b04-4150-8159-5b8721486d6c@arm.com>


On 10/24/2024 6:36 PM, Suzuki K Poulose wrote:
> On 24/10/2024 10:14, Suzuki K Poulose wrote:
>> On 24/10/2024 07:53, Tao Zhang wrote:
>>> The is some "magic" hard coded filtering in the replicators,
>>> which only passes through trace from a particular "source". Add
>>> a new property "filter-src" to label a phandle to the coresight
>>> trace source device matching the hard coded filtering for the port.
>>
>> As mentioned in here in v3 review :
>>
>> https://lkml.org/lkml/2024/8/21/597
>>
>> Please do not use "src", expand it to "source"
>
> Just to confirm, this is only for the "bindings" string, not for the 
> variables used in the patches.

Yes, it is only used as the "bindings" string.


Best,

Tao

>
> Suzuki
>
>
>>
>> Rest looks fine.
>>
>> Suzuki
>>
>>>
>>> Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
>>> ---
>>>   .../arm/arm,coresight-static-replicator.yaml  | 19 
>>> ++++++++++++++++++-
>>>   1 file changed, 18 insertions(+), 1 deletion(-)
>>>
>>> diff --git 
>>> a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml 
>>> b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml 
>>>
>>> index 1892a091ac35..0d258c79eb94 100644
>>> --- 
>>> a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
>>> +++ 
>>> b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
>>> @@ -45,7 +45,22 @@ properties:
>>>       patternProperties:
>>>         '^port@[01]$':
>>>           description: Output connections to CoreSight Trace bus
>>> -        $ref: /schemas/graph.yaml#/properties/port
>>> +        $ref: /schemas/graph.yaml#/$defs/port-base
>>> +        unevaluatedProperties: false
>>> +
>>> +        properties:
>>> +          endpoint:
>>> +            $ref: /schemas/graph.yaml#/$defs/endpoint-base
>>> +            unevaluatedProperties: false
>>> +
>>> +            properties:
>>> +              filter-src:
>>> +                $ref: /schemas/types.yaml#/definitions/phandle
>>> +                description:
>>> +                  phandle to the coresight trace source device 
>>> matching the
>>> +                  hard coded filtering for this port
>>> +
>>> +              remote-endpoint: true
>>>   required:
>>>     - compatible
>>> @@ -72,6 +87,7 @@ examples:
>>>                   reg = <0>;
>>>                   replicator_out_port0: endpoint {
>>>                       remote-endpoint = <&etb_in_port>;
>>> +                    filter-src = <&tpdm_video>;
>>>                   };
>>>               };
>>> @@ -79,6 +95,7 @@ examples:
>>>                   reg = <1>;
>>>                   replicator_out_port1: endpoint {
>>>                       remote-endpoint = <&tpiu_in_port>;
>>> +                    filter-src = <&tpdm_mdss>;
>>>                   };
>>>               };
>>>           };
>>
>

  reply	other threads:[~2024-10-26  3:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-24  6:53 [PATCH v4 0/4] source filtering for multi-port output Tao Zhang
2024-10-24  6:53 ` [PATCH v4 1/4] dt-bindings: arm: qcom,coresight-static-replicator: Add property for source filtering Tao Zhang
2024-10-24  7:12   ` Krzysztof Kozlowski
2024-10-24  9:14   ` Suzuki K Poulose
2024-10-24 10:36     ` Suzuki K Poulose
2024-10-26  3:48       ` Tao Zhang [this message]
2024-10-26  3:45     ` Tao Zhang
2024-10-24  6:53 ` [PATCH v4 2/4] coresight: Add support for trace filtering by source Tao Zhang
2024-10-24  9:34   ` Suzuki K Poulose
2024-10-24  6:53 ` [PATCH v4 3/4] coresight: Add a helper to check if a device is source Tao Zhang
2024-10-24  9:37   ` Suzuki K Poulose
2024-10-24  6:53 ` [PATCH v4 4/4] coresight-tpda: Optimize the function of reading element size Tao Zhang

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=76ce5d6d-a468-4f49-bc56-da6db2a4c9ba@quicinc.com \
    --to=quic_taozha@quicinc.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=conor+dt@kernel.org \
    --cc=coresight@lists.linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=james.clark@arm.com \
    --cc=krzk+dt@kernel.org \
    --cc=leo.yan@linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=mike.leach@linaro.org \
    --cc=robh@kernel.org \
    --cc=suzuki.poulose@arm.com \
    /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