ECC memory of BMC
Stefan Schaeckeler (sschaeck)
sschaeck at cisco.com
Fri Feb 22 03:56:33 AEDT 2019
Hi all,
ECC needs to be enabled in u-boot. The reason is explained in my first upload https://patchwork.kernel.org/patch/10732769/
Our u-boot engineer did it for us. I see u-boot code is full of #ifdef CONFIG_DRAM_ECC blocks. In theory, enabling this option should be enough.
- A good indication of having ECC successfully enabled is linux actually booting.
- Another indication is available memory being 8/9th of what it used to be (check /proc/meminfo)
- Then, my driver should not log any errors in its probe function (check dmesg).
Stefan
On 2/20/19, 11:27 PM, "Will Liang (梁永鉉)" <Will.Liang at quantatw.com> wrote:
Hi Andrew,
Thanks for your response.
We have also found EDAC driver.
What we want to do is to record the ECC events to SEL.
we are considering to create new dbus and a service.
Do you have any suggestions?
BRs,
Will
________________________________________
寄件者: Andrew Jeffery <andrew at aj.id.au>
寄件日期: 2019年2月21日 下午 03:10
收件者: openbmc at lists.ozlabs.org; Will Liang (梁永鉉)
副本: Stefan M Schaeckeler
主旨: Re: ECC memory of BMC
On Thu, 21 Feb 2019, at 17:16, Will Liang (梁永鉉) wrote:
>
> Hi,
>
> we are trying to enable ECC on BMC memory.
>
> is there any exist solution on BMC?
Well, for what it's worth a kernel driver has been submitted upstream and is
queued for the 5.1 merge window:
https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/commit/?h=for-next&id=9b7e6242ee4efcd7f9ef699bf1965e3a5343f216
The patch does say it needs bootloader support though, and I'm not exactly
sure what that involves. I've added Stefan to Cc, maybe he can provide some
insight.
Andrew
More information about the openbmc
mailing list