Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2501325rwb; Fri, 20 Jan 2023 03:55:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXtPcsBSF1gR1O+GA0YaaP/Shjd3qVQpK94mPA6N9VvY7LMdl5ka9GTkZDDj2Cxaspnp2HXz X-Received: by 2002:a17:902:8e89:b0:189:cef2:88e3 with SMTP id bg9-20020a1709028e8900b00189cef288e3mr15634126plb.57.1674215757481; Fri, 20 Jan 2023 03:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674215757; cv=none; d=google.com; s=arc-20160816; b=jIEKwQp7VdQoSwOiAWXFi5Q20uvx9mrXzZ2QHmsoe/81BJEHrgbo0qNyNZ51udlYWO 1jJp+id67kzQoqYbMHNp/lm6qLiUpuC26/IiDvSrccpUu6wgGh2l0gugKPL94ndu5O54 QjAhHao/CRHti+gibSL+grtZJ9sxPxpYlKW0F6gWYl07cQAHYiyKub+4FakJwjsU7gmI mG/kzsOlTTW8A35S7276MJ3aItOUZqdKAT6k7ItnRoAIfpAl8fuAZpvBUBJPmpqZszD9 HRFtgvUp8QAT+sCDSyihoZ0KzZD0n0jxEb8gzT/gPI9kligMY+XefNL578STbgPV+28S OwEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=K4GumqerIZ7u+GeJ/c0Bt4z2A42oQDMvyLcuJSGJCN4=; b=h8G9Yrc6ReJcitE3oxMGAAUzyDjxmoB7I60sHZGsQuvRT54lpYD6NSZBDnBPQLcd+U 6Q8bPKknpfes1KFoW1wU2J8Q5tZe1OfzOL6iH5PW6JlAFnUMYqvl2PqwRImItHyWdZ3n xVL/KjTNdHKhQWXry1ywzRAh8QjEmiNWrWsAv8MBXBcvSOWr5v3RvMvUwouzAh/0ekGZ +w4y//fNr25yare3WacUNwZ/gVtTU1NEN+NYS9RYi9mLSgH44GGoG6qTBfhnedLOIUIR jbCVJ0+fQg+f/3AIU4GIO7hBBr9/8Y6DbcP7rMfn3kBUOsf5Yh+ClSurkGCnyzxNbVSV 6kXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170902b40100b00179cf094dccsi38399476plr.526.2023.01.20.03.55.50; Fri, 20 Jan 2023 03:55:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230023AbjATLrY (ORCPT + 51 others); Fri, 20 Jan 2023 06:47:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbjATLrT (ORCPT ); Fri, 20 Jan 2023 06:47:19 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8F7499515B; Fri, 20 Jan 2023 03:46:25 -0800 (PST) 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 D2D5D1FB; Fri, 20 Jan 2023 03:47:06 -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 1BAA83F71A; Fri, 20 Jan 2023 03:46:22 -0800 (PST) Message-ID: <70d32270-cd55-0c7e-2a3f-394b452ce532@arm.com> Date: Fri, 20 Jan 2023 11:46:20 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v17 0/9] Coresight: Add support for TPDM and TPDA Content-Language: en-US To: Mao Jinlong , Mathieu Poirier , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski Cc: Leo Yan , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Tao Zhang , Trilok Soni , Hao Zhang , linux-arm-msm@vger.kernel.org, Bjorn Andersson References: <20230117145708.16739-1-quic_jinlmao@quicinc.com> From: Suzuki K Poulose In-Reply-To: <20230117145708.16739-1-quic_jinlmao@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/01/2023 14:56, Mao Jinlong wrote: > This series adds support for the trace performance monitoring and > diagnostics hardware (TPDM and TPDA). It is composed of two major > elements. > a) Changes for original coresight framework to support for TPDM and TPDA. > b) Add driver code for TPDM and TPDA. > ... > Mao Jinlong (9): > coresight: core: Use IDR for non-cpu bound sources' paths. > Coresight: Add coresight TPDM source driver https://lore.kernel.org/r/20230120095301.30792-1-quic_jinlmao@quicinc.com > dt-bindings: arm: Add CoreSight TPDM hardware > coresight-tpdm: Add DSB dataset support > coresight-tpdm: Add integration test support > Coresight: Add TPDA link driver https://lore.kernel.org/r/20230120095301.30792-2-quic_jinlmao@quicinc.com > dt-bindings: arm: Adds CoreSight TPDA hardware definitions > Documentation: trace: Add documentation for TPDM and TPDA I have queued patches 1-8, to the coresight next branch. https://git.kernel.org/coresight/c/758d638667d4 > arm64: dts: qcom: sm8250: Add tpdm mm/prng I assume this ^ would go in via soc tree. Thanks Suzuki > > .../testing/sysfs-bus-coresight-devices-tpdm | 13 + > .../bindings/arm/qcom,coresight-tpda.yaml | 129 +++++++++ > .../bindings/arm/qcom,coresight-tpdm.yaml | 93 +++++++ > .../trace/coresight/coresight-tpda.rst | 52 ++++ > .../trace/coresight/coresight-tpdm.rst | 43 +++ > MAINTAINERS | 1 + > arch/arm64/boot/dts/qcom/sm8250.dtsi | 164 +++++++++++ > drivers/hwtracing/coresight/Kconfig | 23 ++ > drivers/hwtracing/coresight/Makefile | 2 + > drivers/hwtracing/coresight/coresight-core.c | 42 ++- > drivers/hwtracing/coresight/coresight-tpda.c | 211 ++++++++++++++ > drivers/hwtracing/coresight/coresight-tpda.h | 35 +++ > drivers/hwtracing/coresight/coresight-tpdm.c | 259 ++++++++++++++++++ > drivers/hwtracing/coresight/coresight-tpdm.h | 62 +++++ > include/linux/coresight.h | 1 + > 15 files changed, 1118 insertions(+), 12 deletions(-) > create mode 100644 Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm > create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml > create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml > create mode 100644 Documentation/trace/coresight/coresight-tpda.rst > create mode 100644 Documentation/trace/coresight/coresight-tpdm.rst > create mode 100644 drivers/hwtracing/coresight/coresight-tpda.c > create mode 100644 drivers/hwtracing/coresight/coresight-tpda.h > create mode 100644 drivers/hwtracing/coresight/coresight-tpdm.c > create mode 100644 drivers/hwtracing/coresight/coresight-tpdm.h >