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 5078D34FF67 for ; Sat, 7 Feb 2026 14:38:31 +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=1770475111; cv=none; b=qIXjfI0q3J4Wz4dusVdQwK7sSWEzuwm8omj0gdwT5J8P1jDik/ba1mM5618x4KqizPTzIpiUhm0MeSCjK7KWBj6s5LQ/y91ohwTn/+NDFxquta72ZCIj31g5ki7RkhVsAiVHXs86ozh1FtQS6kIHKvuprsCIHU36raeCAKq2avw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770475111; c=relaxed/simple; bh=nU4FCaBqBf0HTArOix3y0a71NGMiSS4Uq/ZC6LkYWt0=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Kaa7cXPnk9ltYr1BvRX6xJ2ncykQDWxJYHKnSlgdn4GKRkGJg+EQrd+3KicIUiaDdFln61vkkcx8REKuRjepjds3/DLT7tMdvb4xycuGFjUZ08LiLD3RkMEc+5OlegBzD1qIcvzXwt+WP1tMzBCUeNr63QuUJ4xmzCoxHt3uhew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YS1EAiwN; 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="YS1EAiwN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BAAFC19423; Sat, 7 Feb 2026 14:38:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770475110; bh=nU4FCaBqBf0HTArOix3y0a71NGMiSS4Uq/ZC6LkYWt0=; h=Subject:To:Cc:From:Date:From; b=YS1EAiwNKvZ6rYolY+yo5GgzkhN6QwOULEjWU/7tnm5rDDSkYJGm+owsMPHa8sKsu hlz0xerJ8se2ENupw0sZFpExs230A2jffdQMNem77igo0UWm3aE4PtDitI+OVr2BtB 3xGjEBDFuRconSV6WltvjtlArHboNa8SuK2Ovp4E= Subject: FAILED: patch "[PATCH] platform/x86: intel_telemetry: Fix swapped arrays in PSS" failed to apply to 5.10-stable tree To: kaushlendra.kumar@intel.com,ilpo.jarvinen@linux.intel.com Cc: From: Date: Sat, 07 Feb 2026 15:38:27 +0100 Message-ID: <2026020727-cornflake-elope-4f66@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y git checkout FETCH_HEAD git cherry-pick -x 25e9e322d2ab5c03602eff4fbf4f7c40019d8de2 # git commit -s git send-email --to '' --in-reply-to '2026020727-cornflake-elope-4f66@gregkh' --subject-prefix 'PATCH 5.10.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 25e9e322d2ab5c03602eff4fbf4f7c40019d8de2 Mon Sep 17 00:00:00 2001 From: Kaushlendra Kumar Date: Wed, 24 Dec 2025 08:50:53 +0530 Subject: [PATCH] platform/x86: intel_telemetry: Fix swapped arrays in PSS output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The LTR blocking statistics and wakeup event counters are incorrectly cross-referenced during debugfs output rendering. The code populates pss_ltr_blkd[] with LTR blocking data and pss_s0ix_wakeup[] with wakeup data, but the display loops reference the wrong arrays. This causes the "LTR Blocking Status" section to print wakeup events and the "Wakes Status" section to print LTR blockers, misleading power management analysis and S0ix residency debugging. Fix by aligning array usage with the intended output section labels. Fixes: 87bee290998d ("platform:x86: Add Intel Telemetry Debugfs interfaces") Cc: stable@vger.kernel.org Signed-off-by: Kaushlendra Kumar Link: https://patch.msgid.link/20251224032053.3915900-1-kaushlendra.kumar@intel.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen diff --git a/drivers/platform/x86/intel/telemetry/debugfs.c b/drivers/platform/x86/intel/telemetry/debugfs.c index 70e5736c44c7..189c61ff7ff0 100644 --- a/drivers/platform/x86/intel/telemetry/debugfs.c +++ b/drivers/platform/x86/intel/telemetry/debugfs.c @@ -449,7 +449,7 @@ static int telem_pss_states_show(struct seq_file *s, void *unused) for (index = 0; index < debugfs_conf->pss_ltr_evts; index++) { seq_printf(s, "%-32s\t%u\n", debugfs_conf->pss_ltr_data[index].name, - pss_s0ix_wakeup[index]); + pss_ltr_blkd[index]); } seq_puts(s, "\n--------------------------------------\n"); @@ -459,7 +459,7 @@ static int telem_pss_states_show(struct seq_file *s, void *unused) for (index = 0; index < debugfs_conf->pss_wakeup_evts; index++) { seq_printf(s, "%-32s\t%u\n", debugfs_conf->pss_wakeup[index].name, - pss_ltr_blkd[index]); + pss_s0ix_wakeup[index]); } return 0;