From nobody Sun Feb 8 09:10:15 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 4859E438FE0 for ; Wed, 21 Jan 2026 06:05:03 +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=1768975503; cv=none; b=puUqb1XahQxTP4wJHgaJegKM9OFajvH4goMYts2kneXGlLS3Bbhiw+f3n/HYp5fFwdFd88gYo2Y+7GI0QhG7/3F9Pk9MfDGPcyASpWWSmHJ8EZ+VMwdXdVeynRqnuXh2hH0Hxtuyl8EyzMesHTZQVjzP7CcRJAylTRRbOABp52Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768975503; c=relaxed/simple; bh=R5rMtvoUfTO70/tlcTd16DMGAGByrbP/zrXT0GKetFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HGyi8uvPT6Lp/QYT7ZGBXrReBBWiaF5gtbAOD5Y+3wiLrLBpXa6/LDFHPvHSD1IUKS0aCcwSeME8zD9rceSuunU0DsZ2j+mWmZTNAHSpWTrp156Sfgd43iRvZGWLcRK0q4cieRU+pLAxglMZpASxauej0zzYlYWiJCsXvPMaiIA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KgAoa44s; 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="KgAoa44s" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C72FEC16AAE; Wed, 21 Jan 2026 06:05:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768975502; bh=R5rMtvoUfTO70/tlcTd16DMGAGByrbP/zrXT0GKetFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KgAoa44s5om2wnqq9NiBQoHrrc720Mb6P9hF/7CL8D/vhsBL4bj2oVOUyPtF6W0qu AWt8WKZQiUZpzq1WhbYj6HBJKK3WmksbpgzP+sxXXaqs7HcMG5Q3p1MAvYGo+ojDsb BCbYaSpX4FsAh6umgMj7xz2swj4srWzMpBaY5lbpDInOcYWsxQM+pMU4er/Iea/yQb A0qS1umbiUh5837DB68ojf2Ohxs/m7/5eW4wra33ftvh7Aq9ZWrvVGjCy6Io5DCj24 bgE6/i/P+/tIboXAKVvb0ThzQjOzlHMqKqPdEp3rljw2TUqAUaZ7kQxhLjFHD1uhoq 8Lx+GPG8xgEBA== From: "Mario Limonciello (AMD)" To: Yazen Ghannam , Jean Delvare Cc: linux-kernel@vger.kernel.org, Borislav Petkov , "Mario Limonciello (AMD)" Subject: [PATCH v4 5/6] x86/CPU/AMD: Prefix messages with x86/amd Date: Wed, 21 Jan 2026 00:04:30 -0600 Message-ID: <20260121060431.432350-6-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260121060431.432350-1-superm1@kernel.org> References: <20260121060431.432350-1-superm1@kernel.org> 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