mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* EDAC-AMD64: what is the ecc_msg good for ?
@ 2018-01-10 23:06 Gabriel C
  2018-01-10 23:12 ` Borislav Petkov
  0 siblings, 1 reply; 5+ messages in thread
From: Gabriel C @ 2018-01-10 23:06 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: linux-edac, linux-kernel


Hi Borislav,

while doing some testings with a EPYC box I notice
these strange messages when a Node is disabled.

I really do think the message is confusing since
we tell 'Node X: ... disabled' followed by a
INFO on the edac driver which tells the driver will not load.

Also even worse , we suggest to use ecc_enable_override then,
which can cause wrose things.. We really should not suggest
something like this by default.

So why this is still needed ?
I think is clear what 'Node X: .... disabled' means ?

Also if is still needed I suggest to chage that a bit like:


static const char *ecc_msg =
         "No ECC capability or ECC disabled in BIOS , module will not load.\n"


then add the node to the amd64_info()

	....

	if (!ecc_en || !nb_mce_en) {
		amd64_info("Node %d: %s", nid, ecc_msg);
	....

Or move that all to edac_dbg() ?


Regards,

Gabriel C

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-11  0:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-10 23:06 EDAC-AMD64: what is the ecc_msg good for ? Gabriel C
2018-01-10 23:12 ` Borislav Petkov
2018-01-10 23:31   ` Gabriel C
2018-01-10 23:45     ` Borislav Petkov
2018-01-11  0:27       ` Gabriel C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®