mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gabriel C <nix.or.die@gmail.com>
To: Borislav Petkov <bp@alien8.de>
Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: EDAC-AMD64: what is the ecc_msg good for ?
Date: Thu, 11 Jan 2018 00:06:49 +0100	[thread overview]
Message-ID: <5dea4184-8782-7b57-2624-2957c91fe4ac@gmail.com> (raw)


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

             reply	other threads:[~2018-01-10 23:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10 23:06 Gabriel C [this message]
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

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=5dea4184-8782-7b57-2624-2957c91fe4ac@gmail.com \
    --to=nix.or.die@gmail.com \
    --cc=bp@alien8.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.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

all inboxes | Powered by JetHome®