Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp586465rwb; Wed, 28 Sep 2022 06:44:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7z27BAOWk672HA9r0JnqCkMJ3oZz8rX+hmNaWNunsOciGIBO9Et3rxeJOvj6QCEoN+Xqjy X-Received: by 2002:a63:6c08:0:b0:43c:7d2a:606 with SMTP id h8-20020a636c08000000b0043c7d2a0606mr20262191pgc.318.1664372658898; Wed, 28 Sep 2022 06:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664372658; cv=none; d=google.com; s=arc-20160816; b=EZANLTAt7qCbjxaKFQ1Un3tyPvhiJp5u81lUaxUeCJk09VKOEoqzgnSbwWauop04yA dS8gQ6HXgdk8f2ogtBDWan/dpbHDDQJB/PlIywP9UUowPmxeuTe3c4duDpQq1UubYjuL bzNHNRc8LzHbhlkk9f0KEtL5P3SbweXf1DPr3W8vKZjeSfASgdi6aKsziOUufsxxGSXG f9cll/ShtB6cHXA9RR4IkOKv2sdKshd2um5/mSKgfQEjqe6L1me1QvgjHmMKUiW9uyHl AZau0Nl0aWfrMhEMwaLJVue2j1BG9HzBkwbxQUsVvTDQMRJMI3CaANvo5Tn9ompgWj4l U6Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ySYkj3zeY0jHOAug8wol6mC8GqpPRyKrK7st0Kk5LQc=; b=LuzCAqiwZXseGAkGpbJscRX6R6fJO/A18QpIifByoihJdYwAUx6goa6znypV28xiWU 9S/FsLAUTfPdmKSjGn/3ZQVW4I/m0ERi2+/VA8pyqPc1DI3isnThIDhCNStBCiHQpJq2 f+d50jj5MzZtdQuCUZYP5fsEPcNUkZIW92BloFTNZ/uV57WvgrJDz6WkQD6zM7Xj7dVT EaVR7SbTPVF+6ibwnr1eK1Qclj0qI+Ks3TQIYsoGay27EzKdftIfDjEjiELfEj6trTFu BrLtLWEIRXdqahx6WnGTR1woy1CDlF6qLhlhRB86TlII0wpP4TV6EZhQZ65BhLHoEXp/ +q6g== 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 x36-20020a631724000000b0043c2b08e6e4si5525289pgl.695.2022.09.28.06.44.07; Wed, 28 Sep 2022 06:44:18 -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 S233296AbiI1Mmh (ORCPT + 99 others); Wed, 28 Sep 2022 08:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231703AbiI1Mmf (ORCPT ); Wed, 28 Sep 2022 08:42:35 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC0682E691; Wed, 28 Sep 2022 05:42:34 -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 4428A1063; Wed, 28 Sep 2022 05:42:41 -0700 (PDT) Received: from e126311.manchester.arm.com (unknown [10.57.66.67]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 214A63F73D; Wed, 28 Sep 2022 05:42:32 -0700 (PDT) Date: Wed, 28 Sep 2022 13:42:22 +0100 From: Kajetan Puchalski To: rafael@kernel.org Cc: daniel.lezcano@linaro.org, lukasz.luba@arm.com, Dietmar.Eggemann@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/1] cpuidle: teo: Introduce optional util-awareness Message-ID: References: <20220915164411.2496380-1-kajetan.puchalski@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220915164411.2496380-1-kajetan.puchalski@arm.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 Hi Rafael, Just a gentle ping here. Could you please take a look at this discussion? I'd like to address some comments I received, especially on the subject of making it reduce the state by one as opposed to going all the way to 0 to account for different hardware and how we can accomodate different architectures in the implementation of that mechanism. Before I send a v2 it'd be great to know your opinions on this and whether I should still send it as a TEO patch or fork it into a separate governor and make the changes there as both Doug and I seem to prefer. Thank you in advance for you time, Kajetan On Thu, Sep 15, 2022 at 05:44:10PM +0100, Kajetan Puchalski wrote: > At the very least this approach seems promising so I wanted to discuss it in RFC form first. > Thank you for taking your time to read this! > > [1] https://github.com/mrkajetanp/lisa-notebooks/blob/a2361a5b647629bfbfc676b942c8e6498fb9bd03/idle_util_aware.pdf > > Kajetan Puchalski (1): > cpuidle: teo: Introduce optional util-awareness > > drivers/cpuidle/Kconfig | 12 +++++ > drivers/cpuidle/governors/teo.c | 86 +++++++++++++++++++++++++++++++++ > 2 files changed, 98 insertions(+) > > -- > 2.37.1 >