Re: RFC on drivers/memory vs drivers/edac memory mapping for DDR Controller

From: Borislav Petkov
Date: Mon Jan 02 2023 - 08:43:55 EST


On Mon, Jan 02, 2023 at 02:17:24PM +0200, Shenhar, Talel wrote:
> * We want to introduce driver that reads DDR controller RAS register and
> notify for ECC errors by using EDAC MC API found in drivers/edac.
> * We also want to have a capability to dynamically change DDR refresh rate
> based on thermal values (best to be done in drivers/memory ?).

Is there any particular reason to want to report the errors through EDAC?

Or can't you simply read the RAS register in your memory driver and dump error
info from there so that you have a single driver that does it all?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette