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 A584B1F1932; Sun, 1 Mar 2026 01:27:46 +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=1772328466; cv=none; b=dXfL9XH2C2qfQEHXR3IdpAPERcJaWUiAzR/sdGWl3TBo6rHnbPpzdSDivZExBlYkHy+eu/pKGcWHyAmgWy69ejcHN1frkCN2BxLgbX9Q5/K/JhNvm90/hHkZZvrvuCWqb7dd+L8w82j6F+XkUFjgB85363hCOfv5qD6vlAyXoeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772328466; c=relaxed/simple; bh=3bCk88lSoEKAcKn8truQ4ja28ed68XveMUPUT+HO94w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cs6hznOBMdTEp+jeu3D5NeLtQJbNggGQO41fgeY4UNw+enQP6tSrwcMRR2hGZxdah4m6BWQArkthlGdTtnPTWTGP9dkr1oKEDE2DH+plhOYRpYPjitO20b7yT7LBg7lr95Cm1J7FzLepLQQORSkJkGMjN7BtAGfhMLTthhJpDlw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R0/j2/nC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R0/j2/nC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13677C19421; Sun, 1 Mar 2026 01:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772328466; bh=3bCk88lSoEKAcKn8truQ4ja28ed68XveMUPUT+HO94w=; h=From:To:Cc:Subject:Date:From; b=R0/j2/nCgZH9pyRqK2dx68DFtrPltMds7Z6xLSY7BFeFlfHUhT70RgUi1gXeooc8y TavqAYoX/GX6u6eF4ojQ61tsCI4YOwzIiK9WPWAcp+wdqlAD8Wr/SVrWAmUxIu2wkj QnjSLbdW1LxLclOmvM/xFPgG7Qfcfn26j4lLgNnvGnNJydxrtNXp0ib2zRbilqFklS HIz/QqYSKRvFpPOYShbmlEp3smdEvlP36D3YeXHN1ccV5D3j7VESVx/fF84BoUybvM YM+UPR8IRjXtoqwqeQ0+DPp5Jkt3xy/wOr+We3mGaIGqz5eb6RD3RHd+0zawiM0lVA 0r2eJ8L7ogfAw== From: Sasha Levin To: stable@vger.kernel.org, yangtiezhu@loongson.cn Cc: Huacai Chen , loongarch@lists.linux.dev Subject: FAILED: Patch "LoongArch: Use %px to print unmodified unwinding address" failed to apply to 6.12-stable tree Date: Sat, 28 Feb 2026 20:27:44 -0500 Message-ID: <20260301012744.1685320-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.12-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 . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ >From 77403a06d845db1caf9a6b0867b43e9dd8de8e4a Mon Sep 17 00:00:00 2001 From: Tiezhu Yang Date: Tue, 10 Feb 2026 19:31:13 +0800 Subject: [PATCH] LoongArch: Use %px to print unmodified unwinding address Currently, use %p to prevent leaking information about the kernel memory layout when printing the PC address, but the kernel log messages are not useful to debug problem if bt_address() returns 0. Given that the type of "pc" variable is unsigned long, it should use %px to print the unmodified unwinding address. Cc: stable@vger.kernel.org Signed-off-by: Tiezhu Yang Signed-off-by: Huacai Chen --- arch/loongarch/kernel/unwind_orc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/loongarch/kernel/unwind_orc.c b/arch/loongarch/kernel/unwind_orc.c index 8a6e3429a860e..d6b3688a1ce97 100644 --- a/arch/loongarch/kernel/unwind_orc.c +++ b/arch/loongarch/kernel/unwind_orc.c @@ -494,7 +494,7 @@ bool unwind_next_frame(struct unwind_state *state) state->pc = bt_address(pc); if (!state->pc) { - pr_err("cannot find unwind pc at %p\n", (void *)pc); + pr_err("cannot find unwind pc at %px\n", (void *)pc); goto err; } -- 2.51.0