From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EA62C7EE23 for ; Mon, 29 May 2023 07:18:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229623AbjE2HSI (ORCPT ); Mon, 29 May 2023 03:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjE2HSH (ORCPT ); Mon, 29 May 2023 03:18:07 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41607A4; Mon, 29 May 2023 00:18:06 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34T6u7J6009420; Mon, 29 May 2023 07:17:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=o32+Zs65tVZRqYisIvSrSLdqpdjM/OYIVeuEGXaxkUY=; b=NV6aIBJ8RQk4XcBSZG0GoKVH3FYOmKnwGnBB9H+LFmqAHXGIm7X9ESlcH5Bg+B55mt/3 xqvUUm7Q0ooz6Y20uBR8+vaL+97qUDH47AuJFJwlmnZpdGogM0fMT96dv2sFZYptRS2E YGzLBV6i2RKAe12dU3Lek7Vi15RLHsAsBAVSgwQxcJs06gLQpsKqYWlcfZHInO6waXy3 ZUQVdq1th9AmjuX7k4cBm93dps4TAch0L/YTj57Rg9li3HMq3Tk21UJCZBnJ5FrApFi3 z225Ya2u8UBYmHSTShUKkjNzrlXWK1SR8yrWKjnv9MzkG8N/VH08l/hRZSEseeM5Cj9F Qw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3quawgjthc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 May 2023 07:17:42 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34T7HekE011850 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 May 2023 07:17:40 GMT Received: from [10.253.79.81] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 29 May 2023 00:17:35 -0700 Message-ID: <5c56a874-dc41-c68c-6f70-efcbc67c29b2@quicinc.com> Date: Mon, 29 May 2023 15:17:32 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v5 0/3] Add support to configure Coresight Dummy subunit To: Suzuki K Poulose , Mike Leach , Leo Yan , James Clark , Alexander Shishkin , Mathieu Poirier , Konrad Dybcio , "Rob Herring" , Krzysztof Kozlowski , Andy Gross , "Paul Walmsley" , Palmer Dabbelt , Albert Ou , Jonathan Corbet CC: Greg Kroah-Hartman , , , , , Tingwei Zhang , Jinlong Mao , "Yuanfang Zhang" , Tao Zhang , Trilok Soni , , "Bjorn Andersson" , References: <20230526100753.34581-1-quic_hazha@quicinc.com> Content-Language: en-US From: Hao Zhang In-Reply-To: <20230526100753.34581-1-quic_hazha@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: sFRmv892x0D2A7hEFZSgzFwuaCajquvT X-Proofpoint-GUID: sFRmv892x0D2A7hEFZSgzFwuaCajquvT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-29_04,2023-05-25_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 priorityscore=1501 mlxscore=0 phishscore=0 impostorscore=0 mlxlogscore=999 bulkscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305290062 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi, Add the missing information for this patch series. Thanks, Hao On 5/26/2023 6:07 PM, Hao Zhang wrote: Introduction of Coresight Dummy subunit The Coresight Dummy subunit is for Coresight Dummy component, there are some specific Coresight devices that HLOS don't have permission to access. Such as some TPDMs, they would be configured in NON-HLOS side, but it's necessary to build Coresight path for it to debug. So there need driver to register dummy devices as Coresight devices. Commit link: https://git.codelinaro.org/clo/linux-kernel/coresight/-/tree/coresight-dummy-v5 > Changes in V5: > 1. Follow the alphabetical order for the header files in > coresight-dummy.c. -- Suzuki K Poulose > 2. Update the maintainers. > 3. Split the Coresight Dummy YAML to 2 schema files. > -- Rob Herring & Krzysztof Kozlowski > 4. Update the coresight-dummy.rst file. -- Bagas Sanjaya > > Changes in V4: > 1. Remove traceid allocation in dummy_probe function since it is > currently not in use, will upstream it as the part of ATID filtering > in the further. -- Suzuki K Poulose > 2. Remove 'oneOf' as there is only one entry. -- Rob Herring > > Changes in V3: > 1. Use API "dev_dbg" to replace "dev_info". -- Suzuki K Poulose > 2. Drop "qcom" property and take it as a dummy framework. > -- Suzuki K Poulose > 3. Add new sub-type "CORESIGHT_DEV_SUBTYPE_SINK_DUMMY" to support > coresight dummy module -- Mike Leach > 4. Use compatibles "arm,coresight-dummy-source" and > "arm,coresight-dummy-sink" to replace property "qcom,dummy-source" and > "qcom,dummy-sink". -- Mike Leach > 5. Define source_devs and sink_devs DEVLIST to replace dummy_devs, make > it clear at the first level. -- Mike Leach > 6. Modify subject of YAML patch, drop "YAML schema". -- Krzysztof Kozlowski > 7. Drop some redundant items and correct syntax errors in yaml file. > -- Krzysztof Kozlowski & Rob Herring > 8. Correct required property of yaml file, constrain out ports to > dummy-source and in ports to dummy-sink. -- Mike Leach > 9. Drop "Sysfs files and directories" contents of coresight-dummy.rst. > -- Suzuki K Poulose/Greg Kroah-Hartman > 10.Correct syntax errors of coresight-dummy.rst. -- Bagas Sanjaya > > Changes in V2: > 1. Declare dummy_init and dummy_exit as static to fix missing-prototypes > warnings. -- kernel test robot > 2. Fix the errors of coresight-dummy yaml file. -- Rob Herring > > Hao Zhang (3): > Coresight: Add coresight dummy driver > dt-bindings: arm: Add support for Coresight dummy trace > Documentation: trace: Add documentation for Coresight Dummy Trace > > .../arm/arm,coresight-dummy-sink.yaml | 73 ++++++++ > .../arm/arm,coresight-dummy-source.yaml | 71 ++++++++ > .../trace/coresight/coresight-dummy.rst | 32 ++++ > drivers/hwtracing/coresight/Kconfig | 11 ++ > drivers/hwtracing/coresight/Makefile | 1 + > drivers/hwtracing/coresight/coresight-dummy.c | 163 ++++++++++++++++++ > include/linux/coresight.h | 1 + > 7 files changed, 352 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-dummy-sink.yaml > create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml > create mode 100644 Documentation/trace/coresight/coresight-dummy.rst > create mode 100644 drivers/hwtracing/coresight/coresight-dummy.c >