From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A8CD420E00B; Sun, 7 Sep 2025 20:37:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757277426; cv=none; b=YZkgmNlL8sAkZ7ChHSWjHkuoF3223w2c/cdNvJMkwQ7lMoQf4Cm2P2s0lEdhrgHVBCmz0hpGbyAnE+wGgjpeHVzre/MsgygCt138jmC9kpTkbuCSPm0D8no+kwDNfLmIfqaVDEnGS4aoZuz5zs1bG1Svq+YBoYQaKpXY30s9Rr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757277426; c=relaxed/simple; bh=IwJzX6Vyu8Io2xcfzaTjiiBHKO/PYs5rAVazGNCR9dU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V5tuFiufKblVTWOdsl7Vq6v62hO515PdJD7lDeE6hRuwVi5UzCBulfwD6LhUNeHMEk/qMAZwMzGU0NWlD+W2R9EeSBGBrPflI0gLgyPrmMiXuxTw/Zpbnv8+jPWrtjzIplMYO9fZTAs+KwMtfayEyXyLoPeYabrjTZyfxKBmoRY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qhuiADLv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qhuiADLv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DC49C4CEF0; Sun, 7 Sep 2025 20:37:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757277426; bh=IwJzX6Vyu8Io2xcfzaTjiiBHKO/PYs5rAVazGNCR9dU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qhuiADLvyTnBhubzcx0CgvMFt5BEbf/8DOeD23TI5QBbRDcKGoz4OnY2D0aUEDJ0q igjrNt0aYa+IFO08ZDeCl8NgiYwCe2YoaB383ggvsjKuguOM1lz5CvxqPgNoYTarax 6Q9DHTffvdmZs7GsnkU5pHsmFEQIYkudotfCppO0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Shinji Nomoto , Shuah Khan , Sasha Levin Subject: [PATCH 6.16 012/183] cpupower: Fix a bug where the -t option of the set subcommand was not working. Date: Sun, 7 Sep 2025 21:57:19 +0200 Message-ID: <20250907195616.082680164@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250907195615.802693401@linuxfoundation.org> References: <20250907195615.802693401@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Shinji Nomoto [ Upstream commit b3eaf14f4c63fd6abc7b68c6d7a07c5680a6d8e5 ] The set subcommand's -t option is documented as being available for boost configuration, but it was not actually functioning due to a bug in the option handling. Link: https://lore.kernel.org/r/20250522061122.2149188-2-fj5851bi@fujitsu.com Signed-off-by: Shinji Nomoto Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/power/cpupower/utils/cpupower-set.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/power/cpupower/utils/cpupower-set.c b/tools/power/cpupower/utils/cpupower-set.c index 0677b58374abf..59ace394cf3ef 100644 --- a/tools/power/cpupower/utils/cpupower-set.c +++ b/tools/power/cpupower/utils/cpupower-set.c @@ -62,8 +62,8 @@ int cmd_set(int argc, char **argv) params.params = 0; /* parameter parsing */ - while ((ret = getopt_long(argc, argv, "b:e:m:", - set_opts, NULL)) != -1) { + while ((ret = getopt_long(argc, argv, "b:e:m:t:", + set_opts, NULL)) != -1) { switch (ret) { case 'b': if (params.perf_bias) -- 2.50.1