Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp452790rdb; Tue, 16 Jan 2024 05:44:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNxbf+Vh1AggtniDq2+b2FviWZoKoVTpzu58hoS8aT21ob3JVx8pRSsnsoc3naIq/zFtOH X-Received: by 2002:a05:6402:64d:b0:556:b324:40bd with SMTP id u13-20020a056402064d00b00556b32440bdmr3704969edx.20.1705412656624; Tue, 16 Jan 2024 05:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705412656; cv=none; d=google.com; s=arc-20160816; b=p8hi3qWhtCTtyNaXYHloeaSZ3GGIBy/T4TmMPxp+kcaDXjA9wTTCGVKopqFz8NHfzJ QogmX2eT8NQES0J69t1vmU7Zp/F5hwRPzlm0QhsNQDdVcDCuyRDQMFixubSD8lqOWTYG geOrHAnC27UQ5wqmDbtq/qy27DKI9V68zorhqxGRVMO1TMgwxUOHFLBxOJHh5+SSV+Sw pMlRRZ9ZDLrHNa47dvqZFdHBar6A+f3BtHHsuOjGj/+HtNOYFSFamTdKLv8bKRLa5VjF BFxCIEBTl7CeEsSnISI57JRDbN0tCb9q1rm2/QzVbbcabUiHc4A0w20Gi5x2YgxjQ82o 8mWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=hgkJsvLXSkMZAGgEpSC1pWd4L7spQM3dZb5HOlMlhAA=; fh=Aft2da3RPlliLLB16rvKAxS3OUI0/5Wv1y7fHqA2Vqk=; b=kmCLg/wvyv/M8WsYT1x7VHK657t+1pyMwejyotj8dDoc+Jw1e+6ZhSk+o93oLx1DFu Kd32/zdllkHZQuJrR3qEqFBbHYd6v5Gb5vaQcEVbKDD73tqWE7cjbiGszCipiUVjOHCc qzx9ocvi8MjKAQAzS6XOBEsGFQtcXCqAKedEf1GQa7Izz4byp1UXnMwOtycdgR1eYn1I W+Tpxkw54t4wmTJ7eCn+dcT0XkQCyJEoNvXfImpasz/sEC4hPlXd+kxBvNgwJEqsVGXC BcujWhGVwvejh0d3Gu5VWs3EkrTDFSsdCzMZj+OQ6VNu6SXTFtmjSECBTQ3/M9NT7gZz xxcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-27429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fk7-20020a056402398700b0055710ccafdasi4980772edb.219.2024.01.16.05.44.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 05:44:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-27429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 61AD71F24183 for ; Tue, 16 Jan 2024 13:44:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80C391BDD3; Tue, 16 Jan 2024 13:44:07 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D46351BC53; Tue, 16 Jan 2024 13:44:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B87462F4; Tue, 16 Jan 2024 05:44:48 -0800 (PST) Received: from [10.1.197.1] (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 94CCD3F6C4; Tue, 16 Jan 2024 05:43:55 -0800 (PST) Message-ID: Date: Tue, 16 Jan 2024 13:43:49 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/2] coresight: core: Add device name support Content-Language: en-US To: Mao Jinlong , Mike Leach , James Clark , Leo Yan , Alexander Shishkin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-msm@vger.kernel.org References: <20240115164252.26510-1-quic_jinlmao@quicinc.com> From: Suzuki K Poulose In-Reply-To: <20240115164252.26510-1-quic_jinlmao@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 15/01/2024 16:42, Mao Jinlong wrote: > With current design, the name of the non-cpu bounded coresight > component is the device type with the number. And with 'ls' command > we can get the register address of the component. But from these > information, we can't know what the HW or system the component belongs > to. Add device-name in DT to support it. > > cti_sys0 -> ../../../devices/platform/soc@0/138f0000.cti/cti_sys0 > cti_sys1 -> ../../../devices/platform/soc@0/13900000.cti/cti_sys1 > tpdm0 -> ../../../devices/platform/soc@0/10b0d000.tpdm/tpdm0 > tpdm1 -> ../../../devices/platform/soc@0/10c28000.tpdm/tpdm1 > tpdm2 -> ../../../devices/platform/soc@0/10c29000.tpdm/tpdm2 Please could you rebase this on for-next/queue (which has all bells and whistles enabled to report Warnings), fixing the reported issue by kernel test robot ? Suzuki > > Change since V1: > 1. Change coresight-name to device name. > 2. Add the device-name in coresight dt bindings. > > Mao Jinlong (2): > coresight: core: Add device name support > dt-bindings: arm: Add device-name in the coresight components > > .../bindings/arm/arm,coresight-catu.yaml | 5 +++ > .../bindings/arm/arm,coresight-cpu-debug.yaml | 5 +++ > .../bindings/arm/arm,coresight-cti.yaml | 5 +++ > .../arm/arm,coresight-dummy-sink.yaml | 5 +++ > .../arm/arm,coresight-dummy-source.yaml | 5 +++ > .../arm/arm,coresight-dynamic-funnel.yaml | 5 +++ > .../arm/arm,coresight-dynamic-replicator.yaml | 5 +++ > .../bindings/arm/arm,coresight-etb10.yaml | 5 +++ > .../bindings/arm/arm,coresight-etm.yaml | 5 +++ > .../arm/arm,coresight-static-funnel.yaml | 5 +++ > .../arm/arm,coresight-static-replicator.yaml | 5 +++ > .../bindings/arm/arm,coresight-stm.yaml | 5 +++ > .../bindings/arm/arm,coresight-tmc.yaml | 5 +++ > .../bindings/arm/arm,coresight-tpiu.yaml | 5 +++ > .../bindings/arm/qcom,coresight-tpda.yaml | 5 +++ > .../bindings/arm/qcom,coresight-tpdm.yaml | 5 +++ > drivers/hwtracing/coresight/coresight-core.c | 33 ++++++++++--------- > .../hwtracing/coresight/coresight-platform.c | 31 +++++++++++++++++ > include/linux/coresight.h | 1 + > 19 files changed, 130 insertions(+), 15 deletions(-) >