Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp204595rdh; Wed, 7 Feb 2024 02:11:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVtHaYUYZQjCVXo8TIRIRgmSqlVlJ/mwaqPuv0uWd4Q3aqT11hB7brLUveLGd+ir7ztchEsjoPMNCg/tKA8WCB2gb+1+ScMQNo7QqkXdA== X-Google-Smtp-Source: AGHT+IFtxC1NvCb/S7jsOFxISkgLPbJLJiyFzbRcmsfaWI0w3EctNj4r6NRA8LVPe70mYtgiBhAC X-Received: by 2002:a05:620a:a95:b0:783:48a3:c0c7 with SMTP id v21-20020a05620a0a9500b0078348a3c0c7mr4911208qkg.44.1707300686325; Wed, 07 Feb 2024 02:11:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707300686; cv=pass; d=google.com; s=arc-20160816; b=WRXotlRc4NykV07AWedW5kL7ZsvLOdo6OU07l2ww6u1b0l2VjQ+iq3tDGVhdkecjrm NwiDD3vc/1EAw3QQDpyMhNMh0D9q1/ZzIGoTzIPxBd9nZBcLDgyAVXwnnzKX6uRDCorD SSkrOpPc1gZnccHNnsioxk/6q6YfLjF9X6HOhvejbxGNUVIn4YqxdsnJXWwkJLahi0A3 hD2E3v4UxIUz6qJ7PG3qTEYhZrmq4nYklGRUZXdUVz83I7SoQfpOOwG3YBWGJ7TbNCmc i8xdc3ei400yKANGw+BW6JUhCS59e34omJe8RU68QNZBwmSoKuJnAGvyXbqW9IIvI82r vezQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qk89De6FrqTdMkAJYqG4hQmTMMefgxmhKdx6js2QarM=; fh=NlSerXbq9BxE8qdR1WozLHdpLFBVxvY9kG8mr1jEgDY=; b=rpzma0sjtFNuG52RNp3ZiD6FiRSOQN/MWomdCXpiFVMGzvyRgOlhvyVl1PL6fjwfrU nfl/4W+kwXa42oU0LpMd17yxxTdylcbFDZPxIe0WYzkqhTGjnb/bDKkEsoj3H4nT+jU2 WnD6SMJ0b1L9b5dWvNvHNqGZZaxjgb/jo5ZjO06zCoAXSF1gs24xu4OIoSVNNClKr3CT nkriuoxJrxWtyFUq0O/fkzwvh4oXveH6vosE1FZSoicGOJEsscdOH9YPa/JEqWtrm0Kn H8kVgKqPpcADXsYjlU1HYTpEXPERXaDtAFzfZqDDe9xUvXPJ+bGPWKFE3dWT5J615Yhm ckPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=KyL7oM7i; arc=pass (i=1 spf=pass spfdomain=natalenko.name dkim=pass dkdomain=natalenko.name dmarc=pass fromdomain=natalenko.name); spf=pass (google.com: domain of linux-kernel+bounces-56287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name X-Forwarded-Encrypted: i=2; AJvYcCV/rAm3b/1idOjAye80pzHoAO2R8Tv+tX00UlvhuxsD7gsHqDx4DMHL5nWm8DYqG33lUPrUEAiZRNzLWB6p+9W+9dTLtvdvId1vDk3J/w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z20-20020a05620a08d400b00783e04e2ff0si779950qkz.335.2024.02.07.02.11.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 02:11:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=KyL7oM7i; arc=pass (i=1 spf=pass spfdomain=natalenko.name dkim=pass dkdomain=natalenko.name dmarc=pass fromdomain=natalenko.name); spf=pass (google.com: domain of linux-kernel+bounces-56287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CB82C1C23EF0 for ; Wed, 7 Feb 2024 10:11:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDD73250ED; Wed, 7 Feb 2024 10:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=natalenko.name header.i=@natalenko.name header.b="KyL7oM7i" Received: from prime.voidband.net (prime.voidband.net [199.247.17.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 334D924B2A; Wed, 7 Feb 2024 10:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.247.17.104 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707300678; cv=none; b=ldXa7Fp0ZdIpjHVqdQi/J4xK6pWdqs7KEMt+R8Q8TAEQvQfYY5aL7TS4dy0/znlTVXPcsqEJtP0ur8uszkV/NfPwR9vBMaQZ4UZtFQQMnDxL7RH5yQXdmt/xo9pQwoVha7DeY6R4mrzs/BnlxPafvUaanx4Sp47YoFuxaqAW7Ec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707300678; c=relaxed/simple; bh=fy0MuGEeBqq0yRk9q1POmHQUTTNM7NnZ5ogEzRYEj/I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GsWIaYsBulZX1olSOvNYrC4Yoqci3oSRWcJFkFLEMlPaAbQHVMEqaAod0M5BIWHhQ02O4kvJhLfRFjQYHCaqf8DKxJyAcX8XcpT29j8nFqSS1I7gUO/hMCrzj7fU4MNcPdJK+jeGQnUfBibCIsfO92KheOH6vET266IzOZx9q20= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=natalenko.name; spf=pass smtp.mailfrom=natalenko.name; dkim=pass (1024-bit key) header.d=natalenko.name header.i=@natalenko.name header.b=KyL7oM7i; arc=none smtp.client-ip=199.247.17.104 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=natalenko.name Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=natalenko.name Received: from spock.localnet (unknown [94.142.239.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by prime.voidband.net (Postfix) with ESMTPSA id D1D67635B069; Wed, 7 Feb 2024 11:11:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1707300666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qk89De6FrqTdMkAJYqG4hQmTMMefgxmhKdx6js2QarM=; b=KyL7oM7iafK7DSybwDFdAZAMiJ3ehUyp+BRzcCbLYde4BRADgMdlGp3/4m3KvueGghizKu T0CBG9kR9OpEUCFUfp22+dQ1cirlFfG0ekAzHWklbRNhWJLx1n4TrPnGeXmeCokEA72M6M CNT5dMy4P44VGic0SsjSOmoIvXjKcFo= From: Oleksandr Natalenko To: rafael.j.wysocki@intel.com, Mario.Limonciello@amd.com, viresh.kumar@linaro.org, Ray.Huang@amd.com, gautham.shenoy@amd.com, Borislav.Petkov@amd.com, Perry Yuan Cc: Alexander.Deucher@amd.com, Xinmei.Huang@amd.com, Xiaojian.Du@amd.com, Li.Meng@amd.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6/7] cpufreq: amd-pstate: remove legacy set_boost callback for passive mode Date: Wed, 07 Feb 2024 11:10:52 +0100 Message-ID: <2887380.mvXUDI8C0e@natalenko.name> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12544814.O9o76ZdvQC"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart12544814.O9o76ZdvQC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Oleksandr Natalenko Date: Wed, 07 Feb 2024 11:10:52 +0100 Message-ID: <2887380.mvXUDI8C0e@natalenko.name> MIME-Version: 1.0 Hello. On st=C5=99eda 7. =C3=BAnora 2024 10:21:57 CET Perry Yuan wrote: > With new freqency boost interface supported, legacy boost control > doesn't make sense any more which only support passive mode. > so it can remove the legacy set_boost interface from amd-pstate driver > in case of there is conflict with new boost control logic. >=20 > Signed-off-by: Perry Yuan > --- > drivers/cpufreq/amd-pstate.c | 1 - > include/linux/amd-pstate.h | 1 - > 2 files changed, 2 deletions(-) >=20 > diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c > index 35791efc6e88..1dd523db3871 100644 > --- a/drivers/cpufreq/amd-pstate.c > +++ b/drivers/cpufreq/amd-pstate.c > @@ -1675,7 +1675,6 @@ static struct cpufreq_driver amd_pstate_driver =3D { > .exit =3D amd_pstate_cpu_exit, > .suspend =3D amd_pstate_cpu_suspend, > .resume =3D amd_pstate_cpu_resume, > - .set_boost =3D amd_pstate_set_boost, > .update_limits =3D amd_pstate_update_limits, > .name =3D "amd-pstate", > .attr =3D amd_pstate_attr, > diff --git a/include/linux/amd-pstate.h b/include/linux/amd-pstate.h > index 465e9295a60c..ab7ca26974da 100644 > --- a/include/linux/amd-pstate.h > +++ b/include/linux/amd-pstate.h > @@ -93,7 +93,6 @@ struct amd_cpudata { > struct amd_aperf_mperf prev; > =20 > u64 freq; > - bool boost_supported; As a result of this removal the kernel-doc for this struct should be amende= d too because even after this patch is applied the `boost_supported` field = remains documented. > bool hw_prefcore; > =20 > /* EPP feature related attributes*/ >=20 =2D-=20 Oleksandr Natalenko (post-factum) --nextPart12544814.O9o76ZdvQC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZUOOw5ESFLHZZtOKil/iNcg8M0sFAmXDVywACgkQil/iNcg8 M0usJA/8DvFsv4pQV0fQtw4hJh2XYcd5dI7x9P7ACTWNem6eWk5h8r8E50qAAj/i mhw1eZ7XKEALojhZPehAs4FBkFSZDKwfj7mO4crwDvBtX4sN+zKQI92YAmxY08fu jWzGSL607lbFJosXKQ5AUwj4oFLbntWt3I8sYgY9/7LqiaUbyGf376QIDr2+1aNQ i3kcCrALsnN0mFmCXmyc7mJLMDRy41v859TBNVpjprq7GUxdhmp42uLl8n49B3uN 3P4McJLQ1UGc+mOB64MGMypZcBpPGQdGOF+a+0ijNOuUnLKvGm8vxc4vmZFn/lwF HVqhnDdFG5e0i4recu3ExN3n43Ji28pcfFYhfBNlu+ro8b4fypF1ija184fl5w44 POv5QVTLELrLBGE+lzvigTZip/afLojug6VSGVq+PwSAc6UzB0akJTRXO4p5vNyl F1l8wcEhKN0flzJkp0q18hIKDLKr9n+Ja3pr+EDkZPQ3W8Fu3dXBHOg4IDWvyvEC C5V5UyU1KDF7S3bEIDj1hgDuHG2rGtCNp5UWhCeIxR5GnI4KXgEU1flOu3Yp3VN8 f4rTaKJHgwZCC1vmK3QejH762nTxqLuAmQXe728nEjEO9Kbs0pPuY9FUQhLRjf6z YRDiGifZxWVomkZbz1ueePf5U3zwH1QtnyZbgVUeTWcyftSGC0w= =B1Jv -----END PGP SIGNATURE----- --nextPart12544814.O9o76ZdvQC--