lkml.org 
[lkml]   [2012]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 1/3] mce: Add a msg string to the MCE tracepoint
Date
> > My concern is; on Sandy Bridge, is it safe to gather info about the DIMM
> > location in/from machine check context in a reasonable time span?
>
> Well, what amd64_edac does is "buffer" the required lookup info so
> whenever you get an error, you simply lookup the channel and chip select
> - all ops which can be done in atomic context.

Yes - we could pre-read all the config space registers ahead of time and
save them in memory (none of the values should change - except if the platform
supports hot-plug for memory). Total is only a few Kbytes. Then decode in
machine check context is both safe, and fast.

-Tony


\
 
 \ /
  Last update: 2012-03-01 19:31    [W:0.843 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site