lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] x86, mce: Have MCE persistent event off by default for now

* Borislav Petkov <bp@amd64.org> wrote:

> > Probably make some sense to delay such a message (so that in the boot case
> > we give the daemon a chance to get started before complaining that it
> > hasn't shown up for work).
>
> Yep, that and also I need to address the case for catching earlybird MCEs,
> when perf hasn't been initialized yet. I'm thinking we could reuse the mcelog
> buffer and feed those into the RAS daemon after init. Something like that.

I'd suggest that to solve that problem we initialize events earlier and allow
something like a small static buffer backed event which does not need any
dynamic memory so it can be enabled early on and can receive events, at the
same time the MCE hw bits are enabled.

That event can get a larger buffer once the system is more fully up - without
losing whatever events it is already holding.

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-05-03 21:59    [W:0.127 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site