From nobody Sun Feb 8 15:58:43 2026 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 768AC3398A for ; Fri, 9 Jan 2026 19:34:02 +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=1767987242; cv=none; b=jyySkNDevjn9N9BUFfGpq2U/A16KRl1EbHHhlSCyzHl6UNAVRJOYbBUU1u4eLfagneymoQ9rD0x0dPqhtuWU2LijsGfgqhbPOMsBfEAC1OXecQrdJ8NGaerOEqhAfe0OjMVGDpAM1oN6ISNUUNLEzOFX19/Zfw5TOGFMuJCVp6U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767987242; c=relaxed/simple; bh=R5rMtvoUfTO70/tlcTd16DMGAGByrbP/zrXT0GKetFc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nOp3Rqf/d8eFraDYkEu2xZ3cb+ROGYRPwu2bLH8x0ELWixyO5Cv6+rDnhqdHn8fEilx0d7dhQV9XuwQETxHCDjZ4tMbOKKd96lU33GY/Zo/lEhuH7J1byJSra3CwVesiIxIRYBdm6zXgIwLSMRKHZwFhXfj+lMynL0VWFHCypnU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z7vsnp1e; 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="Z7vsnp1e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09D03C4CEF1; Fri, 9 Jan 2026 19:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767987242; bh=R5rMtvoUfTO70/tlcTd16DMGAGByrbP/zrXT0GKetFc=; h=From:To:Cc:Subject:Date:From; b=Z7vsnp1e+AOo5f0IpFXJG8ESs44hvBsYsROTI5nuVD/GixkVW+bLpfYz/7fhhBUoM bCGHpNmGwCnC3/X6L0JEKjdsa8M27cgeQqjvMqfjbtIwglXVmSMIxMVfQBY/H8dfjj YgeyFS8joqf3gr3G4ZkAX9Y5t6ME1DqaEuwQ3s1NtJpRIa5u2nE6/7hIpMdRcDHCXs ZuZ81FWcMTqTLfJvMzWEmxaT2M75XlYZ7IBsFrvfQSOI1N4iSYUq1oRliM5KnyaRkO eA+KPHZjPG+QB1Rrmr09MiVttQbJ3wFhMbDBSzSGxlZcCJPAfyTBQu6M+qSqg/4yDV 3oueF26yJscuA== From: "Mario Limonciello (AMD)" To: mario.limonciello@amd.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com Cc: Linux Kernel Mailing List , "Mario Limonciello (AMD)" , Yazen Ghannam Subject: [PATCH v3] x86/CPU/AMD: Prefix messages with x86/amd Date: Fri, 9 Jan 2026 13:33:47 -0600 Message-ID: <20260109193348.1263515-1-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" To clarify which messages come from arch/x86/kernel/cpu/amd.c add a prefix to all messages instead of just the previous reset reason. Reviewed-by: Yazen Ghannam Signed-off-by: Mario Limonciello (AMD) --- v3: * add tag, put in it's own series --- arch/x86/kernel/cpu/amd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index bc94ff1e250ad..c19c4ee74dd1f 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -1,4 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only +#define pr_fmt(fmt) "x86/amd: " fmt + #include #include #include @@ -1396,7 +1398,7 @@ static __init int print_s5_reset_status_mmio(void) continue; =20 if (s5_reset_reason_txt[i]) { - pr_info("x86/amd: Previous system reset reason [0x%08x]: %s\n", + pr_info("Previous system reset reason [0x%08x]: %s\n", value, s5_reset_reason_txt[i]); } } --=20 2.43.0