Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4417907ioa; Wed, 27 Apr 2022 03:30:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeQ81xqBEOHEFGQLYgBJRknWg0CkEJ1JqcKqw6DKgChoBu9gIRZPJbZtrIH/8E+7/SYXiC X-Received: by 2002:a17:902:cf0c:b0:15b:63a4:9f47 with SMTP id i12-20020a170902cf0c00b0015b63a49f47mr27646474plg.1.1651055431774; Wed, 27 Apr 2022 03:30:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651055431; cv=none; d=google.com; s=arc-20160816; b=lnQJ1IargfhP3bLoE5fP0y2SKgqaFRf1ZZhbjB3aYSXvjRejzCfldD8TeFLohjE6OC 5v3PhjxOPILPXQC/S/lel1c93Dp8fdCz73Ya5UxQ/KWm1EjXwtANYDOCrzQnKgyO2fT5 irnoJZNJpllDEp29ERD/Oaep1KY1vSWi1DztA6Aon6+4Vnckbbb6tTVkBtF0KqQJNC0E 6+0CtvxvljKEvwulxVDx70Lrpq1QDhgHIlSiukPFonbOGMrPvGm66ZkLTglwwN+fuJPk NX+N6InDfc6B2B8gY1/xVGAZir1erE52wXBjECgcvqVeKt/fWXOmFr0sN9WX6ctl2JvH tr6g== 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=hChyWsHfWQJfa18GkRLGve1CqQvmNmaVgDbAHpM5q0A=; b=de8fbfJlZ+UucUTrUjcFZkgJH3teHtNkr8MAWrP5Lh61mYq/IaIrCr2N7stZH8MJgG P0PMoSNAvIc6txfCgy2pvH/mKKTnUfjr7K+HhCR8/bUQiKStbQxKYFHfn78EKllglImz ISy+6KNhjofkWfQMklZAEvslcO2mbFPDfXwlRyyk2EHLnL7hZPE60unWgbOCqp9x18VR GZA+vpdqtv0PI9mz+H/ETrvyxeTUXa6cH3+z5Nr0+qS+vsL0foMSDwrGpQgGCe+F1gsi 9t3phTAjJqjIkQT0hj6ZBfQkeeI5oFQn+L9DmFK1fdgpVhbp6q/0LapE1DC/2IF0IQil 7eGg== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 202-20020a6303d3000000b003ab157365d9si1128348pgd.611.2022.04.27.03.30.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:30:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E0E0F286A82; Wed, 27 Apr 2022 02:45:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359099AbiD0H4H (ORCPT + 99 others); Wed, 27 Apr 2022 03:56:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359090AbiD0H4E (ORCPT ); Wed, 27 Apr 2022 03:56:04 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6CC1B13FDA0 for ; Wed, 27 Apr 2022 00:52:54 -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 383FCED1; Wed, 27 Apr 2022 00:52:54 -0700 (PDT) Received: from [10.57.7.196] (unknown [10.57.7.196]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BF4A63F5A1; Wed, 27 Apr 2022 00:52:52 -0700 (PDT) Message-ID: <38c8a684-5fcc-cfb3-424c-d353a7bafe03@arm.com> Date: Wed, 27 Apr 2022 08:52:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v3] arch_topology: Trace the update thermal pressure Content-Language: en-US To: Greg KH Cc: linux-kernel@vger.kernel.org, sudeep.holla@arm.com, dietmar.eggemann@arm.com, vincent.guittot@linaro.org, rafael@kernel.org, rostedt@goodmis.org, mingo@redhat.com References: <20220427073551.19032-1-lukasz.luba@arm.com> From: Lukasz Luba In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 4/27/22 08:44, Greg KH wrote: > On Wed, Apr 27, 2022 at 08:35:51AM +0100, Lukasz Luba wrote: >> Add trace event to capture the moment of the call for updating the thermal >> pressure value. It's helpful to investigate how often those events occur >> in a system dealing with throttling. This trace event is needed since the >> old 'cdev_update' might not be used by some drivers. >> >> The old 'cdev_update' trace event only provides a cooling state >> value: [0, n]. That state value then needs additional tools to translate >> it: state -> freq -> capacity -> thermal pressure. This new trace event >> just stores proper thermal pressure value in the trace buffer, no need >> for additional logic. This is helpful for cooperation when someone can >> simply sends to the list the trace buffer output from the platform (no >> need from additional information from other subsystems). >> >> There are also platforms which due to some design reasons don't use >> cooling devices and thus don't trigger old 'cdev_update' trace event. >> They are also important and measuring latency for the thermal signal >> raising/decaying characteristics is in scope. This new trace event >> would cover them as well. >> >> We already have a trace point 'pelt_thermal_tp' which after a change to >> trace event can be paired with this new 'thermal_pressure_update' and >> derive more insight what is going on in the system under thermal pressure >> (and why). >> >> Reported-by: kernel test robot > > The kernel test robot did not report that you needed to add a new trace > event :( > I got feedback from the test robot for v1, which figured out that the riscv configuration is broken. You can find it here https://lore.kernel.org/lkml/202204201654.vcszVDGb-lkp@intel.com/ So, I've added that tag following: "If you fix the issue, kindly add following tag as appropriate" Should this only be honored when a patch actually got into next and then following patch with a fix would have that tag?