Linux-EDAC Archive on
 help / color / Atom feed
From: Borislav Petkov <>
To: "Hawa, Hanna" <>
Cc: "" <>,
	Robert Richter <>,
	"" <>,
	"Woodhouse, David" <>,
	"Krupnik, Ronen" <>,,, "Hanoch,
	Uri" <>
Subject: Re: [RFC] Support different block names with same EDAC device
Date: Tue, 12 May 2020 22:01:23 +0200
Message-ID: <20200512200123.GE6859@zn.tnic> (raw)
In-Reply-To: <>

On Tue, May 12, 2020 at 10:27:07PM +0300, Hawa, Hanna wrote:
> The pci layout on EDAC supports counters for parity/non parity errors. We
> are searching for something more general. To add more error for PCIe layout,
> to have counters, and to control panic flag per error.

Looking at edac_device_alloc_ctl_info(), reading the doc section I
pointed you at earlier and then maybe extending that function - if
needed - is what I'd do. After having looked how the others call it.

But you cannot break the existing drivers - adding new
functionality/sysfs nodes etc should be fine, of course.

> Didn't get your suggestion, where can I add name?

See above.


      reply index

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 12:59 Hawa, Hanna
2020-05-11 13:55 ` Borislav Petkov
2020-05-11 14:21   ` Hawa, Hanna
2020-05-11 14:26     ` Borislav Petkov
2020-05-12  8:47       ` Hawa, Hanna
2020-05-12 10:35         ` Borislav Petkov
2020-05-12 19:27           ` Hawa, Hanna
2020-05-12 20:01             ` Borislav Petkov [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200512200123.GE6859@zn.tnic \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-EDAC Archive on

Archives are clonable:
	git clone --mirror linux-edac/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-edac linux-edac/ \
	public-inbox-index linux-edac

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone