Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp778237rdg; Thu, 10 Aug 2023 21:52:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzLwwEGlNHLM7HAf0UdsGwc99U5C1kCOVc1bb75oplLOvAvUivoRN4PwNRbOc7Ypc+NtFS X-Received: by 2002:a05:6358:6f09:b0:125:a552:4389 with SMTP id r9-20020a0563586f0900b00125a5524389mr950327rwn.22.1691729567243; Thu, 10 Aug 2023 21:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691729567; cv=none; d=google.com; s=arc-20160816; b=aZoJI/lQIgeMj58afhYn4+oeGLzM1m70/yISFCRH08hHpou/YhaeuJPw4uHXMPo1DZ vwuEwI7e7NjoeK+ZsChHVDfv4EFmo0pck+PEkU+ix97ADE7gXnxcMLoe2dHrAr0IBYwm On51is/itc9JwwY/AZgiv1vkSAdrpKauCQa5LplEqqv/ofMGvdxK59H1OOJ252fYOSzr QaBofefudm/3IDBWe+toAsf2tV1TwZt68eqZR32B7fJGdz3tY6dJNacdA3auYc1ddahH VxogqIBF7oW2yT19gRdOGZvHR1APQ5heqeTAW52uk5eAdksHrPloYAppg5vGWrBQ7DBo Xpig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Gm9M/FfQjttDN9oYkppuAfxaVnY9xigQZEyizj/jq10=; fh=i7k4OkcaLUFocIK64fg5M0UL6Z7MqFc0/WYsE6IUDvI=; b=bsa2/5wFnb7KQ6aj3Ik4k352KuJDzS2iCPDXam5S/mgAZvXpnEHUHw/Rw2Hg5azXRX DiPWW3JI3e72e2se0OWR33auFgs7N1Z4ujZlqBoU3f/f8hcl1Kxf3UxYzF2sQEHRalaN ci0GfBmQuRhr9/pe7i1Rm8vym6ay27COFK06GhKi7qwQ2lCxjQi0e3AfMGb1WdoC2YT+ 7ES4q2e13gwviGB79CeaINuw283tWmYU6jsyT4+LddocM1UlCKPb/2/I91xxbdDolyiB CLZA39Xe50vcmb16knk/pkZhI4bgUrtJC4lPZraN8fJQctxCEnBnA+vTLsh7Yb11Qx4E 85rQ== 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 i6-20020a636d06000000b0056561a624f2si1882759pgc.708.2023.08.10.21.52.35; Thu, 10 Aug 2023 21:52:47 -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; 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 S233288AbjHKDqe (ORCPT + 99 others); Thu, 10 Aug 2023 23:46:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233279AbjHKDqb (ORCPT ); Thu, 10 Aug 2023 23:46:31 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7DF4030C1; Thu, 10 Aug 2023 20:46:26 -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 A91FFD75; Thu, 10 Aug 2023 20:47:08 -0700 (PDT) Received: from a077893.arm.com (unknown [10.163.54.13]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0029E3F6C4; Thu, 10 Aug 2023 20:46:21 -0700 (PDT) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com Cc: Anshuman Khandual , Catalin Marinas , Will Deacon , Mike Leach , James Clark , Leo Yan , Jonathan Corbet , linux-doc@vger.kernel.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 3/3] Documentation: coresight: Add cc_threshold tunable Date: Fri, 11 Aug 2023 09:16:00 +0530 Message-Id: <20230811034600.944386-4-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230811034600.944386-1-anshuman.khandual@arm.com> References: <20230811034600.944386-1-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 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 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 ------------------------- -- 2.25.1