From: Yazen Ghannam <yazen.ghannam@amd.com>
To: Muralidhara M K <muralimk@amd.com>,
linux-edac@vger.kernel.org, x86@kernel.org
Cc: yazen.ghannam@amd.com, linux-kernel@vger.kernel.org,
bp@alien8.de, mingo@redhat.com, mchehab@kernel.org,
tony.luck@intel.com, nchatrad@amd.com,
Muralidhara M K <muralidhara.mk@amd.com>
Subject: Re: [PATCH] EDAC/mce_amd: Remove SMCA Extended Error code descriptions
Date: Wed, 7 Jun 2023 10:07:49 -0400 [thread overview]
Message-ID: <c84f5983-930d-0bbe-b7fe-01875c045815@amd.com> (raw)
In-Reply-To: <20230523085550.391768-2-muralimk@amd.com>
On 5/23/23 4:55 AM, Muralidhara M K wrote:
> From: Muralidhara M K <muralidhara.mk@amd.com>
>
> On AMD systems with Scalable MCA, each machine check error of a SMCA bank
> type has an associated bit position in the bank's control (CTL) register.
>
> An error's bit position in the CTL register is used during error decoding
> for offsetting into the corresponding bank's error description structure.
> As new errors are being added in newer AMD systems for existing SMCA bank
> types, the underlying SMCA architecture guarantees that the bit positions
> of existing errors are not altered.
>
> However, on some AMD systems some of the existing bit definitions in the
> CTL register of SMCA bank type are reassigned without defining new HWID
> and McaType. Consequently, the errors whose bit definitions have been
> reassigned in the CTL register are being erroneously decoded.
>
> Remove SMCA Extended Error Code descriptions. This avoids decoding issues
> for incorrectly reassigned bits, and avoids the related maintenance burden
> in the kernel. This decoding can be done in external tools or by referring
> to AMD documentation. The bank type and Extended Error Code value for an
> error will continue to be printed as a convenience
>
Minor nit: there should be a (.) at the end of the last sentence.
> Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com>
> ---
> drivers/edac/mce_amd.c | 480 -----------------------------------------
> 1 file changed, 480 deletions(-)
>
This patch is completely within EDAC, so it's not necessary to copy the
x86 or TIP maintainers.
Also, this patch was sent in-reply-to another patch that is not related.
Each of these can be sent independently.
Otherwise, this looks good to me.
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Thanks,
Yazen
next prev parent reply other threads:[~2023-06-07 14:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-23 8:55 [PATCH] EDAC/mc: Add new HBM3 memory type Muralidhara M K
2023-05-23 8:55 ` [PATCH] EDAC/mce_amd: Remove SMCA Extended Error code descriptions Muralidhara M K
2023-06-07 14:07 ` Yazen Ghannam [this message]
2023-06-07 13:47 ` [PATCH] EDAC/mc: Add new HBM3 memory type Yazen Ghannam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c84f5983-930d-0bbe-b7fe-01875c045815@amd.com \
--to=yazen.ghannam@amd.com \
--cc=bp@alien8.de \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mingo@redhat.com \
--cc=muralidhara.mk@amd.com \
--cc=muralimk@amd.com \
--cc=nchatrad@amd.com \
--cc=tony.luck@intel.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox