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 E718622069; Fri, 24 Nov 2023 19:15:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dXIuBpFn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BAB8C433C7; Fri, 24 Nov 2023 19:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700853304; bh=bS6SkpoTezqx/82YKw92CpIDL3dZ++vet2wSidp3aqU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dXIuBpFnj27VJLEM3PgE5xgf6s4x3Vm9o1JVesQPUxNWvrGAfDyoC3rMi7LrT9AB2 wOf0Bcvy9ea1UpmX5dtLHGMSOS1doK8i849vgsaXMCxGmagcCqpIPrRUCc2x8N8/d7 n7Fofk6kAwnpOL7bBGLpPYm6J4o6jASl/JLhZG08= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Chen Yu , Zhang Rui , Len Brown , Sasha Levin Subject: [PATCH 5.15 136/297] tools/power/turbostat: Enable the C-state Pre-wake printing Date: Fri, 24 Nov 2023 17:52:58 +0000 Message-ID: <20231124172005.033638522@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231124172000.087816911@linuxfoundation.org> References: <20231124172000.087816911@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chen Yu [ Upstream commit b61b7d8c4c22c4298a50ae5d0ee88facb85ce665 ] Currently the C-state Pre-wake will not be printed due to the probe has not been invoked. Invoke the probe function accordingly. Fixes: aeb01e6d71ff ("tools/power turbostat: Print the C-state Pre-wake settings") Signed-off-by: Chen Yu Reviewed-by: Zhang Rui Reviewed-by: Len Brown Signed-off-by: Sasha Levin --- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 045d0db88755f..65ada8065cfc2 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -5543,6 +5543,7 @@ void process_cpuid() rapl_probe(family, model); perf_limit_reasons_probe(family, model); automatic_cstate_conversion_probe(family, model); + prewake_cstate_probe(family, model); check_tcc_offset(model_orig); -- 2.42.0