Re: [PATCH] RAS/CEC: Move non-debug attributes out of debugfs
From: Borislav Petkov
Date: Mon Mar 27 2023 - 18:07:18 EST
On Fri, Mar 24, 2023 at 04:50:31PM -0400, Yazen Ghannam wrote:
> How about "/sys/ras" to collect global RAS interfaces?
Looking a bit at
Documentation/admin-guide/sysfs-rules.rst
it does sound like /sys/<subsystem> could be a good place. Might wanna
run it by Greg, though, first.
> Maybe it can link to other directories like "/sys/devices/*" for
> hardware things like MCA,
Those are at
/sys/devices/system/machinecheck/
> and "/sys/kernel/*" for kernel things like CEC.
Or /sys/drivers
Remember there's also
/sys/devices/system/edac/
so a lot of RAS junk spread all over the place.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette