Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2586128rwl; Mon, 27 Mar 2023 02:15:40 -0700 (PDT) X-Google-Smtp-Source: AKy350Yo2HBhYI37ialhea4MvTy5MCHbxIPAEXQufSWBC0U58VYG7CDMvm1nW9kpx7uAqRTlJ8PU X-Received: by 2002:a17:90a:db97:b0:236:6a28:f784 with SMTP id h23-20020a17090adb9700b002366a28f784mr11824098pjv.3.1679908540274; Mon, 27 Mar 2023 02:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679908540; cv=none; d=google.com; s=arc-20160816; b=uPl8ZKd4YFtF61O0StnItU+myiIaHnElNGrX1m2mO/gIOxuIVOXUikHDDzGzhCiRiP eSskhAlHVWd3r0C0UPoQb5xZe90+lUE1oeg355Pq3uuyph0bJI0g8R57Aes64vkNdmeT KeC49kRoB/KO69u/LQsuVX9yByq/ZmV4dRNmEuwAPk49i80UXi6XhvhIKCYehZFEAsIo u48LcJtZUaNJLPkGfNpcMohYPgW+L0kY48LkESHB4ub3tlIGl0lFm+Xsp/2CL38+bv1K d7aSI/OtwVqUmMj2QLG7ie87nrfYLVXRl7CppWiHcFZP0T6bUqLGi6MfsDfpUiSFoWUR hYNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=U+HDfMOK6mt01vLKx9M61jm7G0UKOkdZaWj7Uz9FpTk=; b=THztKRE7A2Mf5psjyrHFO4+iwF5MomSIKZuLhoB72pAn4rUFN9A86PuXIQCU54PpZv 8ciWt8Jv8n+uxK8LgLdCoWno6Jf9DpjI03Iyiwhe39vJs5HqZ+NRHg0EMfvuJ2Jt+44g RdL3fQqKXiIsRCahLyKLyni1jreVZHyZ+ZyTBh1F2G6wcNYAXdJBhCpe1+omx1U6tL1n fjnuq9A9gHhvjMZVi8cPlXYZsPN+Z/pdNQKUPz2RyR3f5AhDn1NGAPIwEdfuoWn8GQJS wjY2S0fPce6HASFQLGci7sYY1ntNNuUzU4sgOEImCMCY2OOBl27Su8IipMD9VmBFak6E Jd1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aE+TZGdK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot18-20020a17090b3b5200b0023fc91ee498si5793092pjb.188.2023.03.27.02.15.27; Mon, 27 Mar 2023 02:15:40 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aE+TZGdK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233002AbjC0JNV (ORCPT + 99 others); Mon, 27 Mar 2023 05:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232951AbjC0JNR (ORCPT ); Mon, 27 Mar 2023 05:13:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6561D1BD3; Mon, 27 Mar 2023 02:13:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EB7C761151; Mon, 27 Mar 2023 09:13:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98696C433D2; Mon, 27 Mar 2023 09:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1679908393; bh=i2DixOICfTfUPwZLMVJoKRB8PiwZdHjvi1UBGoZXtjM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aE+TZGdKB+QTUlhkYnSe5/ij+7cpn3cOYgImMe+fvgtL5gv02Mtjdje2CHFXX7BBk RxwjoHfbYNos1c3FeezzhWjbXBDbZkDUjKLUoJ7XC4R2xqwb3SoKrOonLoGOOapzNi s3JL0ESeq9HuqGi8H7RS4kIJbiQ1h0dBnIpH5NNk= Date: Mon, 27 Mar 2023 11:13:10 +0200 From: Greg Kroah-Hartman To: Hao Zhang Cc: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski , Andy Gross , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jonathan Corbet , Leo Yan , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Jinlong Mao , Yuanfang Zhang , Tao Zhang , Trilok Soni , linux-arm-msm@vger.kernel.org, Bjorn Andersson , linux-doc@vger.kernel.org Subject: Re: [PATCH v2 3/3] Documentation: trace: Add documentation for Coresight Dummy Trace Message-ID: References: <20230324061608.33609-1-quic_hazha@quicinc.com> <20230324061608.33609-4-quic_hazha@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230324061608.33609-4-quic_hazha@quicinc.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Fri, Mar 24, 2023 at 02:16:08PM +0800, Hao Zhang wrote: > Add documentation for Coresight Dummy Trace under trace/coresight. > > Signed-off-by: Hao Zhang > --- > .../trace/coresight/coresight-dummy.rst | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/trace/coresight/coresight-dummy.rst > > diff --git a/Documentation/trace/coresight/coresight-dummy.rst b/Documentation/trace/coresight/coresight-dummy.rst > new file mode 100644 > index 000000000000..819cabab8623 > --- /dev/null > +++ b/Documentation/trace/coresight/coresight-dummy.rst > @@ -0,0 +1,58 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +============================= > +Coresight Dummy Trace Module > +============================= > + > + :Author: Hao Zhang > + :Date: March 2023 > + > +Introduction > +--------------------------- > + > +Coresight Dummy Trace Module is for the specific devices that HLOS don't > +have permission to access or configure. Such as Coresight sink EUD, some > +TPDMs etc. So there need driver to register dummy devices as Coresight > +devices. Provide Coresight API for dummy device operations, such as > +enabling and disabling dummy devices. Build the Coresight path for dummy > +sink or dummy source for debugging. > + > +Sysfs files and directories > +--------------------------- > + > +Root: ``/sys/bus/coresight/devices/dummy`` sysfs files are documented in Documentation/ABI/ not in random .rst files, sorry. Please use the correct format described there, not a random one like this :) thanks, greg k-h