From nobody Mon Feb 9 19:25:58 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCD1B32F761; Mon, 26 Jan 2026 10:18:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769422735; cv=none; b=GHmC3WZ+cCMaCbhV/PoNoed4ocnxzf8NR2EpJtcLPYLZUkZ8ByklY7HX+WDVkWvvU6Us3VenDK3AShWwxWRgBHzhxMNNzKc+jyN5ci6dK1xPVYoa7fAHdayVYZko0JQMTxYMk8zx68doBPrhTSPTqwHP7y4ijyjjgXSUxicp+44= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769422735; c=relaxed/simple; bh=5SmnI7xKFFWoHVZZ/JELbovu9NDevXGbdihnZfFH59I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bdlSRQ92aLfa29iu6e/sX6p1QL+OqE/wibYvyKOrXdJmUfuRQMoO9/HJqh+H2JLb44o3N1pKknwADKTMeo06vvpHN2UnnbhcTonf81MOsCelXK60xuSVDtprYOkudLr1KIVQzOnpW2p/nGx4iOdjmJdED7hzrPa9+ceC70vpmOw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 DFCDF497; Mon, 26 Jan 2026 02:18:46 -0800 (PST) Received: from e135073.nice.arm.com (e135073.arm.com [10.34.125.23]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8D06F3F632; Mon, 26 Jan 2026 02:18:49 -0800 (PST) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: Jie Zhan , zhenglifeng1@huawei.com, Ionela Voinescu , Christian Loehle , sumitg@nvidia.com, Pierre Gondois , "Rafael J. Wysocki" , Viresh Kumar , Huang Rui , "Gautham R. Shenoy" , Mario Limonciello , Perry Yuan , Srinivas Pandruvada , Len Brown , Saravana Kannan , linux-pm@vger.kernel.org Subject: [PATCH 1/6] cpufreq: Remove per-CPU QoS constraint Date: Mon, 26 Jan 2026 11:18:10 +0100 Message-ID: <20260126101826.94030-2-pierre.gondois@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260126101826.94030-1-pierre.gondois@arm.com> References: <20260126101826.94030-1-pierre.gondois@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" policy->max_freq_req represents the maximum allowed frequency as requested by the policyX/scaling_max_freq sysfs file. This request applies to all CPUs of the policy. It is not possible to request a per-CPU maximum frequency. Thus, the interaction between the policy boost and scaling_max_freq settings should be handled by adding a boost specific QoS constraint. This will be handled in the following patches. This patch reverts of: commit 1608f0230510 ("cpufreq: Fix re-boost issue after hotplugging a CPU") Signed-off-by: Pierre Gondois Reviewed-by: Lifeng Zheng --- drivers/cpufreq/cpufreq.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 4472bb1ec83c7..db414c052658b 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1481,10 +1481,6 @@ static int cpufreq_policy_online(struct cpufreq_poli= cy *policy, =20 blocking_notifier_call_chain(&cpufreq_policy_notifier_list, CPUFREQ_CREATE_POLICY, policy); - } else { - ret =3D freq_qos_update_request(policy->max_freq_req, policy->max); - if (ret < 0) - goto out_destroy_policy; } =20 if (cpufreq_driver->get && has_target()) { --=20 2.43.0