From nobody Fri Dec 19 04:23:17 2025 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 3C8283557E2 for ; Tue, 16 Dec 2025 12:34:24 +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=1765888464; cv=none; b=FWx1ALcDBqBLhuxuQOPVi2RZ8LmOdeEpSj6opoxjM1+Lii+IksCifxAXgcEyN1v8zkqYoQj3HyLSG2b/2HmjnilD2ZWNpZYN/i2rWg4pdBiTgxTrkLkOovWBhgDirGhL/w1huUWK4d6bK29pjXkkTe++HX10TXZxh/SdAaEkcrI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765888464; c=relaxed/simple; bh=bZ7ExqJVV4e55WqwcBXBx20RIYCngxorCMpRxUUjXN0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=O1/RYgOfs5infZdfz8f8qjYWCBm4uZhYD14PPVhj4dJMMZvR1vl9vjqZryCe4MNzDoCKyzOYWjziqM1MBLX+EH26AbROWAf3K9fhTJ++Frn0UWzFp2hJ4jAS9v91/rl6AmB2HdNWr6E6Jykr8bYnBayP3AjQiVh3WUVgDKhqvKQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cFrAiKJZ; 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="cFrAiKJZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33FE4C19423; Tue, 16 Dec 2025 12:34:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765888464; bh=bZ7ExqJVV4e55WqwcBXBx20RIYCngxorCMpRxUUjXN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cFrAiKJZBm5VYDiUfLDm67gq+7z0Y9mCgW7/phHZkwOtNqF/sn+IGi54jK6qnJVra W6PBg9QB6UIPw1+H/zy5TU7bnUoZzhRe4tr5hJCl7k8MRrnOIrHvEEy4QMcr2F5ek1 WonL+PMyFx4KiYpGuYInCMVhwyuEJj03d27zPnXsQGEaSY8PtJOda4UFsu4Sh18vGV LHSnZTXjww4+OYr6e8LnRXvwjWiLZhbGCvd7+TK5s1/FinphIuZTnP+E2pG2qIUNY5 ImtK84px9K8/rcPLgLp+8EGxV8xXq4NjlJ4LV74cFKDjghpdBXfKouQRoaGmfq9RZ4 ADYNB9f/56oFw== From: "Mario Limonciello (AMD)" To: Yazen Ghannam , x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)), Jean Delvare Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , linux-kernel@vger.kernel.org, "Mario Limonciello (AMD)" Subject: [PATCH v2 6/7] x86/CPU/AMD: Prefix messages with x86/amd Date: Tue, 16 Dec 2025 06:33:53 -0600 Message-ID: <20251216123354.9219-7-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251216123354.9219-1-superm1@kernel.org> References: <20251216123354.9219-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. Signed-off-by: Mario Limonciello (AMD) Reviewed-by: Yazen Ghannam --- 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