Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:Update
rasdaemon.35133
rasdaemon-Identify-the-DIe-Number-in-multidie-s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rasdaemon-Identify-the-DIe-Number-in-multidie-system.patch of Package rasdaemon.35133
From: Muralidhara M K <muralidhara.mk@amd.com> Subject: rasdaemon: Identify the DIe Number in multidie system References: jsc#PED-7633 MI300A: rasdaemon: MI300A support patches Patch-Mainline: Git-commit: c785d309dcbdeb7ecd219975244f3944a8d047e9 Git-repo: git://git.infradead.org/users/mchehab/rasdaemon.git.git Some AMD systems have 4 dies in each socket and Die ID represents whether the error occured on cpu die or gpu die. Also, respective Die used for FRU identification. Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: <trenn@suse.com> diff --git a/mce-amd-smca.c b/mce-amd-smca.c index 54060ee..a20f03c 100644 --- a/mce-amd-smca.c +++ b/mce-amd-smca.c @@ -935,10 +935,15 @@ void decode_smca_error(struct mce_event *e, struct mce_priv *m) xec); if ((bank_type == SMCA_UMC || bank_type == SMCA_UMC_QUIRK) && xec == 0) { - channel = find_umc_channel(e); - csrow = e->synd & 0x7; /* Bit 0, 1 ,2 */ - mce_snprintf(e->mc_location, "memory_channel=%d,csrow=%d", - channel, csrow); + if ((m->family == 0x19) && (m->model >= 0x90 && m->model <= 0x9f)) { + /* MCA_IPID[InstanceIdHi] give the AMD Node Die ID */ + mce_snprintf(e->mc_location, "memory_die_id=%d", mcatype_instancehi / 4); + } else { + channel = find_umc_channel(e); + csrow = e->synd & 0x7; /* Bit 0, 1 ,2 */ + mce_snprintf(e->mc_location, "memory_channel=%d,csrow=%d", + channel, csrow); + } } if (bank_type == SMCA_UMC_V2 && xec == 0) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor