Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp122548rwd; Mon, 12 Jun 2023 10:58:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ678z4KxXeJ5r8KqLbg+BA3FLTdF1guwamNbbWz2f439XAvfD+U1X83mzXcBsdoA/Wv7LMf X-Received: by 2002:a17:906:6a1e:b0:96f:88a3:3a0e with SMTP id qw30-20020a1709066a1e00b0096f88a33a0emr11994344ejc.0.1686592727063; Mon, 12 Jun 2023 10:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686592727; cv=none; d=google.com; s=arc-20160816; b=grtS6TargZPlSIrjXz7cm6L5B0/+GQ4NJglZs/gO9ci4MHaN6R3TUFnDzQD3WXKRiM g04Bl1Xae3vt5pIFdQJveDdm+DyFeSag5E9BXxTBgnmkcfUnQq/Zd8xdsFjq3Ohd86Wl W58OtKgggGhpglEAUsGm7U2TYlpu+JUenxxloun/3Hc39zMX7EwotHeeEUeJQucuAQ2q nMhAdj6aBu3aiN863tXPZBX78/zXCo15aCw+bZjXuXQvRTgmWc/RPezuuTzJwOqRfzJU sUm+EHBQISHn2kSYIupbQr3VQyG1AT/TYT6GfwRTf2u8KxVUz4RgT7xUBFfyR0+vUu4K DOWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=iXXnxitb0rrAekg+aw/GGFvCYDDj1yF/ALhC2Z6QrcQ=; b=TqRYLH6iVAr48b8K7gioaRfiMgUSv6tq8r0stcvYWltzPnPN/HWsipQK6a/wk2Zo8j PYwx9grjo4WZh0JCo+JXqBf3BxwLxnKnfx63QSsNL7J+ri4Auqcr3K6CftX1zSPpU5aV E2DqzgRGNEwgG3OuhY43VE30ZWUAxIO8Qumtu905AWvzP41vsNXNGhcOq9u9y9oDhyII dotkYgOCLm7UV3rsXlkPcagSzdWGfvxa7BdFFtWWH20kAcyzlY6/K+Fg5KzmYnT0LyD1 UojkBjQ7EcKWnXzn6alaBwEv+JjZwUsZxhqeap0aDGFeIsQ/a0OYu4zNg+6ctNSC/V2N hE7w== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z23-20020a170906715700b00960c27e4608si5365709ejj.399.2023.06.12.10.58.21; Mon, 12 Jun 2023 10:58:47 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234965AbjFLRni convert rfc822-to-8bit (ORCPT + 99 others); Mon, 12 Jun 2023 13:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234187AbjFLRnf (ORCPT ); Mon, 12 Jun 2023 13:43:35 -0400 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2023C10D8; Mon, 12 Jun 2023 10:43:32 -0700 (PDT) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-974539fd9f0so90599366b.0; Mon, 12 Jun 2023 10:43:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686591810; x=1689183810; h=content-transfer-encoding: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=cYgR5nhDdiJqEt5pcKq1yS5d2OMv5QXdG3YbAcYBSDM=; b=ZYLfKd33Ahmm1d17XHAx+fjFlNI9bJjS1Ob/HSGkYNLp++DniPGee7K+45UAgyojRB bEz3J5+zwGogw04O4oUzGJMIDPCtCjddeM0NYTMMKKSxF8V9mmEIam3xzFcsTGYv9oNX mGsYe7Z5C/NZyyW2EYHS9do7nyKE6Pq5CJo8BkD5OqtOn/S5XM+1qQBw/wIX3XVIgVsT DtmMyIkzWuSwHNbgQh0XvsDaNox7sN2Bp+EbSfUOUe0vhxUV/w5roUWdKqnsbrrYjevy icaTI2v8RUUGfDAq74eUwG19Ji6lUgAAbMLQh6xporbeXmqg2PXCOJETq8c4PnSeA70/ SFMQ== X-Gm-Message-State: AC+VfDzcvd65fktlH1EGzdsI9leirZh4FKj8Pnrx7ARoFcT3BHs6lsIT 9RkhbVwijmbpWuTW4ZPceqdveXdCZbLNPaL+U4o= X-Received: by 2002:a17:906:748a:b0:975:bb7:5dc3 with SMTP id e10-20020a170906748a00b009750bb75dc3mr8451381ejl.7.1686591810435; Mon, 12 Jun 2023 10:43:30 -0700 (PDT) MIME-Version: 1.0 References: <20230609124408.3788680-1-thierry.reding@gmail.com> <3c501536-2620-0022-df93-415d490fc1a5@linaro.org> In-Reply-To: <3c501536-2620-0022-df93-415d490fc1a5@linaro.org> From: "Rafael J. Wysocki" Date: Mon, 12 Jun 2023 19:43:19 +0200 Message-ID: Subject: Re: [PATCH] thermal: Allow selecting the bang-bang governor as default To: Daniel Lezcano Cc: Thierry Reding , "Rafael J . Wysocki" , Amit Kucheria , Zhang Rui , linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Jun 12, 2023 at 11:07 AM Daniel Lezcano wrote: > > > Hi Thierry, > > On 09/06/2023 14:44, Thierry Reding wrote: > > From: Thierry Reding > > > > For many setups the bang-bang governor is exactly what we want. Many > > ARM SoC-based devices use fans to cool down the entire SoC and that > > works well only with the bang-bang governor because it uses the > > hysteresis in order to let the fan run for a while to cool the SoC > > down below the trip point before switching it off again. > > Yeah, that trip point detection is screwed up at the moment, but we are > on the way to solve that. From there, we should be able to have the > step_wise governor working as the bang-bang governor and remove this one. > > Meanwhile, the change sounds ok for me. > > Rafael, may I pick this change? Please do, thank you!