[RFC -v2] x86 RAS: Reorganize functionality

From: Borislav Petkov
Date: Wed Oct 19 2011 - 10:51:43 EST


From: Borislav Petkov <borislav.petkov@xxxxxxx>

Hi all,

this is the second version of a first attempt at reorganizing and
concentrating x86 RAS features under arch/x86/. The idea is to put them
close to the MCA code so that code reuse and extending functionality can
be done much more easily.

This deals only with AMD RAS features but I expect that we can put
all into one unified menu entry in Kconfig after we've agreed on the
structure. Tony, let me know what from below makes sense or not - once
we've agreed on the hierarchy, we should move the Intel pieces there
too. Right now with this patchset we have:

[*] Machine Check / overheating reporting
[ ] Intel MCE features
AMD RAS features --->
[*] Error Thresholding (NEW)
<*> Decode MCEs in human-readable form (NEW)
< > Inject MCEs (NEW)


and what I actually would like to see is something like

[ ] Reliability, Availability, Serviceability
[ ] Machine Check Architecture
[ ] Intel-specific features
[ ] CMCI / overheating reporting
[ ] MCE decoding
[ ] MCE injection
[ ] AMD-specific features
[ ] Error thresholding
[ ] MCE decoding
[ ] MCE injection
[ ] ...

and where further features will be added. How does that sound?

Patches 5-9 add the hw MCE injection for AMD which is contingent on the
MCE injection module.

As always, all comments are welcome.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/