Thread (12 messages) 12 messages, 2 authors, 2018-08-21

[2/2] x86/MCE/AMD: Skip creating kobjects with NULL names

From: Yazen Ghannam <yazen.ghannam@amd.com>
Date: 2018-08-21 18:27:40
Also in: lkml

-----Original Message-----
From: Borislav Petkov <bp@alien8.de>
Sent: Tuesday, August 21, 2018 8:16 AM
To: Ghannam, Yazen <Yazen.Ghannam@amd.com>
Cc: linux-edac@vger.kernel.org; linux-kernel@vger.kernel.org;
tony.luck@intel.com; x86@kernel.org
Subject: Re: [PATCH 2/2] x86/MCE/AMD: Skip creating kobjects with NULL
names

On Thu, Aug 16, 2018 at 06:46:33PM +0000, Ghannam, Yazen wrote:
quoted
Future SMCA systems may have banks whose MCA_IPID is not known so we
You lost me here. How would the IPID not be known? Are you talking about
an old kernel running on new HW and thus the HardwareID in its MCA_IPID
to be unknown to the old kernel?
Yes, that's right: old kernel on new HW.
quoted
In the past, the sysfs entries were named something like "th_bank#" before
each bank was given a more descriptive name. We can go back to this format
as a fallback for unrecognized bank types. This will fix the issue with sysfs
failing and also the interface will still work on new hardware.
You could do: th_bank#<HardwareID> so that we can find what it is by
grepping the PPR.
Good idea. Will do.

Thanks,
Yazen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help