Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1239069rdb; Wed, 20 Sep 2023 03:53:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1Ko9BtsPJ0e4nS+vJJ/pMfvkgpdeWi6p0QzNsECTGZmuk1yseGe35B4t/JN47LvvDy+eK X-Received: by 2002:a92:c267:0:b0:34f:bd1f:54f2 with SMTP id h7-20020a92c267000000b0034fbd1f54f2mr2942981ild.8.1695207202362; Wed, 20 Sep 2023 03:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695207202; cv=none; d=google.com; s=arc-20160816; b=EtbP6czJZ9J3FFdkIxxpNvYG0Gk3qj4qlLtXVQpWGran+/Xx2ehzNH/XT2ohQfmCd1 rwdkF118P/DBKEnUGpbnJevUtmAI04gwHBofjufsRPmDxDVJ6G+aHEURiWIh2aUGtXmj dqGmG0Ysv8Gl2SW+gTlSa4L3y6/Zek47LRqPPRMGVyXmAM2xEcxIz3LeSjl8TTWLwo4f bqRw83lSk7rbc0wNj5h2ElZRgHrFodJQ4eICpY2EugfPazs7Dk+Kdg0hCA8dNvqjfqPF HzV+DhFPxPFwvMHZys0UnobId0v10TD9Baq4FROoN2i0/7rNhMsJbfTKwh0Iq1dLqSHO SYUQ== 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=8Ze59NQ1NeCoLKqkm41psGec6YAsBqRTJhL8QwyLs3o=; fh=NEPKLnaEIzbRDW+nZzCgzuB94HRTOURck3w+V1BCipM=; b=BhPzKqfSNKePPcYBNDcT4z7EYP04GjvcBz6uYfiDLf0pOxxnfPboMPFyV4+qnLNJxM bNKlEbX6F2k638yJwjjzMK5xeMy9VicpSKgc1yKXfL0pKwwpFqiPkY9lxpgHiKBPMDF/ Fdd52WVD/0Wne2MhDxPFSZN1vaKe/yGJ1/hO1R4YzyvlmNYdWPWLB33L/3xXTBsj0Hg3 ZCyKiGktNDpFR0epssV+Hr3Mi/gj9b4CFO5ow0hVNFsGTSc+BwE8I7zPJD0obGeDs2FN NCpxOg4knzji8YPv/CzsSGKTvb7VCGppkz4TVNclNWsBQejl2smOn0TK+Ic53axyzrDi NtCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id s11-20020a65584b000000b00578a26aee75si3652946pgr.295.2023.09.20.03.53.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:53:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9A610801BC94; Wed, 20 Sep 2023 03:41:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233786AbjITKlV (ORCPT + 99 others); Wed, 20 Sep 2023 06:41:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232192AbjITKlU (ORCPT ); Wed, 20 Sep 2023 06:41:20 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3BA8AB6; Wed, 20 Sep 2023 03:41:14 -0700 (PDT) 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 DD8441FB; Wed, 20 Sep 2023 03:41:50 -0700 (PDT) Received: from [10.163.63.253] (unknown [10.163.63.253]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AC0713F5A1; Wed, 20 Sep 2023 03:41:05 -0700 (PDT) Message-ID: <1caff361-3680-3e65-f66e-f61938242de5@arm.com> Date: Wed, 20 Sep 2023 16:11:02 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH V5 - RESEND 3/3] Documentation: coresight: Add cc_threshold tunable Content-Language: en-US To: Suzuki K Poulose , linux-arm-kernel@lists.infradead.org Cc: Catalin Marinas , Will Deacon , Mike Leach , Jonathan Corbet , linux-doc@vger.kernel.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org References: <20230915093649.435163-1-anshuman.khandual@arm.com> <20230915093649.435163-4-anshuman.khandual@arm.com> From: Anshuman Khandual In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.7 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:41:25 -0700 (PDT) On 9/20/23 14:55, Suzuki K Poulose wrote: > On 15/09/2023 10:36, Anshuman Khandual wrote: >> This updates config option to include 'cc_threshold' tunable value. >> >> Cc: Suzuki K Poulose >> Cc: Mike Leach >> Cc: James Clark >> Cc: Jonathan Corbet >> Cc: coresight@lists.linaro.org >> Cc: linux-arm-kernel@lists.infradead.org >> Cc: linux-doc@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Reviewed by: Mike Leach >> Signed-off-by: Anshuman Khandual >> --- >>   Documentation/trace/coresight/coresight.rst | 4 ++++ >>   1 file changed, 4 insertions(+) >> >> diff --git a/Documentation/trace/coresight/coresight.rst b/Documentation/trace/coresight/coresight.rst >> index 4a71ea6cb390..ce55adb80b82 100644 >> --- a/Documentation/trace/coresight/coresight.rst >> +++ b/Documentation/trace/coresight/coresight.rst >> @@ -624,6 +624,10 @@ They are also listed in the folder /sys/bus/event_source/devices/cs_etm/format/ >>      * - timestamp >>        - Session local version of the system wide setting: :ref:`ETMv4_MODE_TIMESTAMP >>          ` >> +   * - cc_threshold >> +     - Cycle count threshold value. If nothing is provided here or the provided value is 0, then the >> +       default value i.e 0x100 will be used. If provided value is less than minimum cycles threshold >> +       value, as indicated via TRCIDR3.CCITMIN, then the minimum value will be used instead. >>     How to use the STM module >>   ------------------------- > > The patch as such looks good to me. If possible, could you fold this into the previous patch ? Being a documentation update, may be it's better to have this in a separate patch.