Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1042307pxx; Tue, 27 Oct 2020 07:01:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV52i6XjhePaOjDlGtetJIbysDJloaDr5mscezkj52FR+vaBxMfYzajRZtHdvFVCCPDvq0 X-Received: by 2002:a2e:82d7:: with SMTP id n23mr1137361ljh.66.1603807309643; Tue, 27 Oct 2020 07:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603807309; cv=none; d=google.com; s=arc-20160816; b=pBB/Ez4MYBM2hS1D+soHA5H0Sp2OpAz6NFe92pj/pjHb2p/7ZJHTkInGRUF6W42FYF mHRydtghOSEi6RuIZ3hcP/GPwaH0aVJLeDyBk+ldCi9t0MmJHkL93P8ac7RFBmI2DwfO EgHUP/aqSi0JNTX1UzXO7kUBm3waTiqlJwYQGa9+4wCtRyb2Bx8iEHookAW5Jl6g7AA/ 53O5AB7bbctzw7jqqGWo2Qt8gklVAloeriUx81Ascr8P7I9FqsmP49FNo+DsGoXKTkuE 78vC3yezISVBtwhQp1YMPun4Ch4O1z4vbUmKWXd9LPoHk3VngdbkRSbGu/iLgalQjaen 66bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=XSrY80pt2g5cE2EaeKDNU0F8FtUDX6skKgTjuPhBQo8=; b=RoXkUYOEGXnV1IMGiUwNRL+OYKlt/LeXkk5ne06A3myvxP1yALLx1kfRzk5sdJfnaD dM7PtV3SqBuiG3nkCxpbt90juDKhJk8GRKh+LGPrdFZ4ys1bi4mrza2OBP+thg2w0GHF KjoC48YTQRtmjGzR4rekycreYRg0MMkMmWiUmRZKjZfP05IwymdRecgEUGPJl34wJAAH 9f4vigRbNsMF9CV3hMlx3l7gc3J1f1PME741KEt4v2FtpFrWexH4x6JE4b6wVclbl85K TsvR9jbXBBG2xfTJ3zP+RnSxANQFWVPesWkFlvoo3OU24yak1ZQ80p0kjlkCnJCOG/f6 TENw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EpawPRk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj11si1066436ejb.345.2020.10.27.07.01.26; Tue, 27 Oct 2020 07:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EpawPRk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2410398AbgJ0DBe (ORCPT + 99 others); Mon, 26 Oct 2020 23:01:34 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:35217 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2410399AbgJ0DBd (ORCPT ); Mon, 26 Oct 2020 23:01:33 -0400 Received: by mail-pg1-f195.google.com with SMTP id f38so7213747pgm.2 for ; Mon, 26 Oct 2020 20:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=XSrY80pt2g5cE2EaeKDNU0F8FtUDX6skKgTjuPhBQo8=; b=EpawPRk8ufiF8LS40RRwv8nZACvxn2yJRy+ddk3QFVkKIZ+FQquEw4DTjhcpAWSLM+ 0aLw4U9seTWYgu65qjq66A72O6JROPTAkkJtGpL5yWRbXDboKwBgLC1GLc55SZgkLBhO l4+kt8bfxZ0SLoA3NPFHhBsT4pxMbn9O3APk3J0tyj4E4zyw0DDeraz5yTE5IZ2ZadQ6 uLx8YpFbFSDrfQZCKfHTYt+q+fftnqEw2Vh3fNZKUx+zvIe5aw+Ee1aEVQpU0V06qtRQ NNN/klOg3WB0atDm4ipcRA6P2QGWFRsRapQU8WaIYAs5WM0DtBqYaydzdC88WmwfyvWH hoGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=XSrY80pt2g5cE2EaeKDNU0F8FtUDX6skKgTjuPhBQo8=; b=mStCV96RPtqJrMQJ1OL++L28q8y74mIvuonEkxpqveHRTIFVbbfRZkTJ7W/Vljsdje EHVLX++NMVE2WSkDAnxiiWlRhm4KALrOKD0m6pjuGbDk/7SKCKg5hlJzCGEhByHPhLmm dnIHvtVABPWNTfGYLDEsmaPrlVE527o/EOXAs2IktEvnsfHfzPRzJG82TMkVAQDtKUSG OrQ+Xy2UhdfRF/CxNJUcYd6rMXgz9K6AU27i39n2arwp/MDM1rlveDRzob2G8rGCyOHt qGvbmlmKzz6g9P2pjgZ6tIPcQj8A/FGJcEABPu4p3S2Qf4J68BP+WW3uaK4QNbFg1lr4 8bvw== X-Gm-Message-State: AOAM532hV+SdA4W8emIzwYCNfboUt0dMWkqiobxV9DksjAdfyJI8yjSi TXsBoyDn4KwdheMyumJfmuxhlQ== X-Received: by 2002:a65:4c41:: with SMTP id l1mr29023pgr.243.1603767693085; Mon, 26 Oct 2020 20:01:33 -0700 (PDT) Received: from localhost ([122.181.54.133]) by smtp.gmail.com with ESMTPSA id k77sm153828pfd.99.2020.10.26.20.01.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Oct 2020 20:01:32 -0700 (PDT) Date: Tue, 27 Oct 2020 08:31:30 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Peter Zijlstra , Julia Lawall , Mel Gorman , Ingo Molnar , kernel-janitors@vger.kernel.org, Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, Valentin Schneider , Gilles Muller , srinivas.pandruvada@linux.intel.com, Linux PM , Len Brown Subject: Re: [PATCH v2] cpufreq: Avoid configuring old governors as default with intel_pstate Message-ID: <20201027030130.uz2vl77dj7ii7gfv@vireshk-i7> References: <1603211879-1064-1-git-send-email-Julia.Lawall@inria.fr> <20201022120213.GG2611@hirez.programming.kicks-ass.net> <8312288.dAKoTdFk2S@kreacher> <9382251.a2nkXps1mP@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9382251.a2nkXps1mP@kreacher> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23-10-20, 17:15, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit 33aa46f252c7 ("cpufreq: intel_pstate: Use passive mode by > default without HWP") was meant to cause intel_pstate to be used > in the passive mode with the schedutil governor on top of it, but > it missed the case in which either "ondemand" or "conservative" > was selected as the default governor in the existing kernel config, > in which case the previous old governor configuration would be used, > causing the default legacy governor to be used on top of intel_pstate > instead of schedutil. > > Address this by preventing "ondemand" and "conservative" from being > configured as the default cpufreq governor in the case when schedutil > is the default choice for the default governor setting. > > [Note that the default cpufreq governor can still be set via the > kernel command line if need be and that choice is not limited, > so if anyone really wants to use one of the legacy governors by > default, it can be achieved this way.] > > Fixes: 33aa46f252c7 ("cpufreq: intel_pstate: Use passive mode by default without HWP") > Reported-by: Julia Lawall > Cc: 5.8+ # 5.8+ > Signed-off-by: Rafael J. Wysocki > --- > > The v2 addresses a review comment from Viresh regarding of the expression format > and adds a missing Reported-by for Julia. > > --- > drivers/cpufreq/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Viresh Kumar -- viresh