Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4455756rdb; Fri, 15 Sep 2023 02:49:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdwilWSzXxklSWTeO1lyoFHpNsObduRHBQypfwd0KD4TGnd/SWikBzbxKKfAajAQ2t8nky X-Received: by 2002:a05:6a20:734c:b0:159:e4ab:15ce with SMTP id v12-20020a056a20734c00b00159e4ab15cemr1221782pzc.15.1694771388451; Fri, 15 Sep 2023 02:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694771388; cv=none; d=google.com; s=arc-20160816; b=To0p//bLYInEILwxk4jPrguNqkrb7zxwRbCtZUssIGl6Y+1RPjdZ3Pi5+It/BiVKdk FlfYYeAOSnRxbMzZoVAm+XQow4faEf5nhfaBSFrj92eyVrHMnhwhkqJBF8VLXQjDzBRH q4wjrkAQnWi+SCeqc/tQiudtfa34K5uUJ3IOeVQ1ZuQCZbF2vgKp9kvEhUedCq6+SFyF nloTHHyVvcQdp2PZYhB+CRDhdqKMg1xQXnW/gI+5a2s+r1UV1lCbm+a+WnlHgh2QWcpK 6TsiiuMDNb97jOJy/LggznaXUNMqbkNH/XcE2mYjMj5LUBYV/VFgIR1i0Lo8H8iHNJ9Q UkVg== 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=/ABFvXitoUhGgvKWgVLSjE34Xutdrpxjmzw+8l/wgFw=; fh=1B1+mkCYVeZZz1DAsIIoOA2jU5pSNu/8Q01YDfzUzC8=; b=mNVTmT7ETLrCA+JrKwGWOeUxtHvfdgGTZeXtKHx96ARVSlEVj73vtAaLHIiGgwwc9r e3v+ivbl3Uvg5xFwg1vPXwVhwMCZB0IoDh2UL/o7tpdu3tA5PpOCUXBFxO61pi4gGvL9 eLacJ+Kf57J2NwtPJXJupGqMMsPM249mSCg30+Seh3k8Jn6FR99na4cOcDT7tlcWZsmN Eq5wqH9TIGXEnyc6ohKK+x5etPbE+X+lQTcnXEQYX/Gx6uzV3l/LTxD6cBzNoJCBP70I dL57MElqJL5JzZVJWsgwsjNa6hhoM8dDxfZTAZzoNA51y9y6jgtgXYBrUsCNvvFV7AIx DJQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z1-20020a63c041000000b0057744d09d09si918314pgi.130.2023.09.15.02.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 1E21983B0079; Fri, 15 Sep 2023 02:37:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233758AbjIOJh1 (ORCPT + 99 others); Fri, 15 Sep 2023 05:37:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233707AbjIOJhZ (ORCPT ); Fri, 15 Sep 2023 05:37:25 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 00EB82126; Fri, 15 Sep 2023 02:37:19 -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 0EBCEC15; Fri, 15 Sep 2023 02:37:57 -0700 (PDT) Received: from a077893.arm.com (unknown [10.163.62.147]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 980DF3F67D; Fri, 15 Sep 2023 02:37:15 -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 V5 - RESEND 3/3] Documentation: coresight: Add cc_threshold tunable Date: Fri, 15 Sep 2023 15:06:49 +0530 Message-Id: <20230915093649.435163-4-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230915093649.435163-1-anshuman.khandual@arm.com> References: <20230915093649.435163-1-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 fry.vger.email 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 (fry.vger.email [0.0.0.0]); Fri, 15 Sep 2023 02:37:41 -0700 (PDT) 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 ------------------------- -- 2.25.1