Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp885524rdg; Fri, 11 Aug 2023 03:10:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFkwh2lRo5PGmPLWtvFjDwzNEQvxF4464Byj9VCcNMuYG8RW6MYi0TbaAxMCEnBu6YqqAt2 X-Received: by 2002:a17:906:2da:b0:997:e79c:99dc with SMTP id 26-20020a17090602da00b00997e79c99dcmr1431048ejk.74.1691748615710; Fri, 11 Aug 2023 03:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691748615; cv=none; d=google.com; s=arc-20160816; b=qUx/FyQxdPi6wMSb6c19pvMOnPBe0nTVHBmpx4mrZJmRrGFxWAtDm3yAf1gdAU2nop kVZrELuwpc6pOQLpqIuld7RW9M+NhdyfabUYzGmH4mfc062ghla4zhmHqXZ6ULPC25+T Cthach3SwQLBjHJ6LBBHZK51ndXSDXbq92InNXjbEzXmlw63MoWNEjxxYsa7oar0I2on lpGvQ6+K5so65faNPNbahcLv+hseWvmGmifS2tPoRbd6X3JFK0pSKnuG7JEb2hWr+QH7 Lcl09fowvi6nMIQSocfEwNCH7ptvLDU/GR39Vn3EIhqkL9XqnIym1QHsySPZQagdONit tZdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lHSv/YVXMKpspOcEGk2QclmqStPYbocP+X+PUc9NxxQ=; fh=HTgdX/+3V6sJJHS4iqQTYQozEoXooStSxC8R2wgLZU4=; b=JBiUeTpt2jnu7oveBnbhxstQU3d9CfYDrfNNJFcuIM4mxZeXCYajU2aky6HxlKypyw 26UtoAYSmVofXBEtsdkk2UCdVyCQRayJKac/npOM8Fl5cIQ3Sc2FT2nkA98OS2qw6grh +bpoG61g3DrQGVNmd2bf4KFfTI3W9dBUUiC89j4pbxmOK5XqlzcFeRgZIheX5ALgBS// dDaDQwwGaTb8gS6XaukUkZHHJkPjFn5zY5gomWE3KpY5jLvOlOq0mWrrbTz+BGtDQQJ8 0lIbNaS8tCr3a0G4X/Mo1VO2Px5vieQrjT6yZzDu0W8ntpCKgPh2yl6r3huzEScmIkch K0kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G283etGU; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t13-20020a1709060c4d00b009938248d370si3464098ejf.2.2023.08.11.03.09.51; Fri, 11 Aug 2023 03:10:15 -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=@linaro.org header.s=google header.b=G283etGU; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbjHKJFq (ORCPT + 99 others); Fri, 11 Aug 2023 05:05:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjHKJFn (ORCPT ); Fri, 11 Aug 2023 05:05:43 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F9E02D5B for ; Fri, 11 Aug 2023 02:05:43 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-686bea20652so1597190b3a.1 for ; Fri, 11 Aug 2023 02:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691744743; x=1692349543; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lHSv/YVXMKpspOcEGk2QclmqStPYbocP+X+PUc9NxxQ=; b=G283etGUt0OE1lwUnqMxEyCvWRSgiWIMtaR/HKnbDPmjRhnPWzTTMMi9h2zJ1IXno9 8yzSzQRynCiUZYNklGWhaX5jYvw3x75XIfTWzwzaUI1d+sYFX04BKpR8v/JdXT5i0FT1 Xzoe4EsLkHtlYC+8Sx+I5ibFxKBnKvEN+cntn34PtbFjE8TkVE5IC4y7LjJ4o5G1Pexw AVgzeZtyzH1Tgr/wVeExwoxVGIq4ZfI8KkroP47isWbGsyV+ZgzI8D3sFBBqX0VefWzB 4/5qQufBpu9vzwSsMkcdn1vb8Si1eOixu9VRkCRe3ZDn02ePViYvyB6q6XZKevY6UZnJ fbOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691744743; x=1692349543; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lHSv/YVXMKpspOcEGk2QclmqStPYbocP+X+PUc9NxxQ=; b=Vd4AlMCh0mvgoMGVvKRN0QlujZl7128w4UTPbD4ko8+ki6+NnMwj3ZrgQpps4wQJaz jb4rp4iDfbJODO12PnSXJui+oRJea7C84pJxus4B3fOK1P9M3UIgbV8I1LGXy2fn0skX kN45zcXiQ3+hXRBkSK1+VosqZjfiNA/ZLdx3C5dE6XFvqwtBib+sM9oaSXn7FsnDHxK6 4GArQNItU/ylfWR3Crr0y6UNjGhunWIHSvUeL2LpFOpgMcL9xnWfyXBz6LRszfDN3kQE Ielm/QGhey5psXKXaLEJbj8HtaizGq925u4KbK/8ijnNshfNu+0DEGBf9iMsIGDH+8Ge Yo7w== X-Gm-Message-State: AOJu0YwfMREnRAJ7LuAK9l0sBJpLd64CXpKW2W+0DzDYuFpFZzK/0p9e pqYr5++PL0QsrQPQrH89mO/r1THJ2DnPb0zwXuys5Q== X-Received: by 2002:a17:90a:fee:b0:26b:e2b:6c8d with SMTP id 101-20020a17090a0fee00b0026b0e2b6c8dmr893454pjz.41.1691744742843; Fri, 11 Aug 2023 02:05:42 -0700 (PDT) MIME-Version: 1.0 References: <20230811034600.944386-1-anshuman.khandual@arm.com> <20230811034600.944386-4-anshuman.khandual@arm.com> In-Reply-To: <20230811034600.944386-4-anshuman.khandual@arm.com> From: Mike Leach Date: Fri, 11 Aug 2023 10:05:31 +0100 Message-ID: Subject: Re: [PATCH V3 3/3] Documentation: coresight: Add cc_threshold tunable To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com, Catalin Marinas , Will Deacon , James Clark , Leo Yan , Jonathan Corbet , linux-doc@vger.kernel.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 On Fri, 11 Aug 2023 at 04:46, 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 > 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 > Reviewed by: Mike Leach -- Mike Leach Principal Engineer, ARM Ltd. Manchester Design Centre. UK