On Wed, Jun 19, 2013 at 08:33:49PM +0000, Luck, Tony wrote: > >> There is (or should be) > > > > Ha! > > Oh ye of little faith - I'm sure the BIOS will get this right this time :-) > > > > Ok, seriously: so the situation should still be fine, FF reported errors > > get the CPER format while the rest, the "old" MCE format. > > > > cper.c is doing printk so I'm guessing it would need to get its own > > tracepoint and carry that to userspace. > > Yes - a tracepoint is the right answer here for all the new stuff. > > > Concerning the RAS daemon, Robert and I are making good progress so once > > we have the persistent events in perf, we can read that tracepoint in > > userspace and do whatever we want with the error info. > > Mauro has a rasdaemon in progress > git://git.fedorahosted.org/rasdaemon.git > just picks up perf/events and logs to a sqlite database. Actually it uses ftrace's facilities but it is a tracepoint in the end. And I asked him nicely not to call it rasdaemon because I already have a RAS daemon but hey, whatever. The more confusion, the better. > Because Linux can do runtime things that the BIOS can't - like offline > a 4K page. Idea here is that BIOS does whatever the OEM thinks is the > right level of threshholding - not bothering the OS with petty details > of random corrected erorrs that mean nothing. But if there is some > repeated error (like a stuck bit) then the BIOS can provide a CPER > to the OS telling it that it would be a good idea to stop using that > page. Ok, where is that semantics? What in a CPER record does say "this error should tell you that you need to offline the containing page and I'm telling you this exactly only once"? Error Severity 0, i.e. Recoverable? > And this is where the semantics of a CPER change between the original > WSM-EX implementation ... where Linux expects to see all the errors > and do its own thresholding only taking a page offline if it sees a > lot of CPER refer to the same page; and now - where the BIOS does the > counting and tells Linux just once to take the page offline. Ok, we're talking about the S in RAS now. Do we have error recovery strategies specified anywhere? Are they per-platform or generic? Is this CPER strategy above, for example, only valid for some platforms or for all APEI-using hardware? Questions over questions... -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html