Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1206915rdb; Wed, 20 Sep 2023 02:45:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmKU3PVLl/XffZoBDd4xH9ffYEklrTQzMv8LPK0X0cxCNigTaFt6CxO8c3bY6Ta3bObxPz X-Received: by 2002:a05:6a00:885:b0:690:c1e5:9359 with SMTP id q5-20020a056a00088500b00690c1e59359mr2323982pfj.17.1695203136499; Wed, 20 Sep 2023 02:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695203136; cv=none; d=google.com; s=arc-20160816; b=U+1QeiLcQ+gl8JP8xMijdv0YYiWpjQ9AtnJGGwvWOcw8L/qU71N1+1K+vPnGo/pR1p SXGsoqD3Fv2a4QMEsow9eN5hL3DXHGrdv4fqaqy9wQNzmVvs3rOzDcy8Rtq1VH4ZsS+A SiPkl1Vm56UWtXolJtXBtLDerQ/d7g8xzMlLHFoJRzobMT6GEUtRTVOjYm1Ajx8cgCqY vmFfcxS5ooVv8Z9wSmqHC97x+KHxIoq6s9MfAL/l9D1wUpVFkk/nf9NrRaSImb4QD4su hFc41aiEhWA2esrQ73VQAbrvuNpXgC5Gc5oJCJ0FE1KpXdWZXVZCjmMIDlYIkXhQ+L7Z idnQ== 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=StHnuTBhfFhxKkaayyTsF3AHTl3iQq6im2R2FzyZwek=; fh=1a3QGmPTxYx3IBgiQ6SIbW9F7Xq7bUvaoyldCVrvxRI=; b=NnycCXjwfu9MskKYhCmMmqyDFQTWy1xCSWcsA4ngkaS1dK1zLXBRDAEf5y0ev5bAiA G8hmIrLLbGxfnyTHxM/LIY7CS9WmCMa2dgwrmpiyHq0bA7/RQCjXUGa8cyWjNLlg3Acb wjNfhS84VVIPRWa5M3rI1Xl14Uoaldl+peCHuhabktNN65VABRPHPwAYQqMQ+kqHCQ5k zul082tP9aXPDrP7q0ew6PCzyBVHDtnk/ra239gCifthPo7dn8v3AmH+0v7MHXzbDeX4 PnIlvksBywVGXaBJvBtTVi2W+uJvizg2xQ4wi0hXOdNMPyN7zjWSAv9F6pCTdfS0S7iF Yb7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g7-20020a056a000b8700b0068fe2453ab6si11869936pfj.353.2023.09.20.02.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 02:45:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 0DBEF8182DFE; Wed, 20 Sep 2023 02:26:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233986AbjITJ0G (ORCPT + 99 others); Wed, 20 Sep 2023 05:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234046AbjITJZ7 (ORCPT ); Wed, 20 Sep 2023 05:25:59 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7655810D1; Wed, 20 Sep 2023 02:25:23 -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 22BA1C15; Wed, 20 Sep 2023 02:26:00 -0700 (PDT) Received: from [10.1.197.1] (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8048A3F5A1; Wed, 20 Sep 2023 02:25:21 -0700 (PDT) Message-ID: Date: Wed, 20 Sep 2023 10:25:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH V5 - RESEND 3/3] Documentation: coresight: Add cc_threshold tunable Content-Language: en-US To: Anshuman Khandual , linux-arm-kernel@lists.infradead.org Cc: 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 References: <20230915093649.435163-1-anshuman.khandual@arm.com> <20230915093649.435163-4-anshuman.khandual@arm.com> From: Suzuki K Poulose In-Reply-To: <20230915093649.435163-4-anshuman.khandual@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 20 Sep 2023 02:26:31 -0700 (PDT) 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 ? Suzuki