linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Support different block names with same EDAC device
@ 2020-05-11 12:59 Hawa, Hanna
  2020-05-11 13:55 ` Borislav Petkov
  0 siblings, 1 reply; 8+ messages in thread
From: Hawa, Hanna @ 2020-05-11 12:59 UTC (permalink / raw)
  To: bp, james.morse, Robert Richter
  Cc: linux-edac, Woodhouse, David, Krupnik, Ronen, talel, jonnyc,
	Hanoch, Uri, hhhawa

Hi,

Amazon Alpine SoCs have different HW units that have an ability to 
report on correctable/uncorrectable errors. We want to add support for 
this HWs using dedicated EDAC driver based on edac device subsystem.
In edac_device_ctl_info() function one of the parameters is 
“edac_block_name”, to create nr_blocks kobjects based on that single 
block name.
Our target to create multiple block names with the same edac device, e.g.:
/sys/devices/system/edac/MY_HW_UNIT/error_name_a/
/sys/devices/system/edac/MY_HW_UNIT/error_name_b/
/sys/devices/system/edac/MY_HW_UNIT/error_name_c/
/sys/devices/system/edac/MY_HW_UNIT/error_name_a/

Can the edac device infrastructure support different block names? Shall 
we add support for such feature?

Thanks,
Hanna

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

end of thread, other threads:[~2020-05-12 20:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 12:59 [RFC] Support different block names with same EDAC device 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).