• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1To verify the result of MCE testing, the MCE record from kernel (via
2/dev/mcelog or panic information) should be compared with reference
3MCE record (for software inject error: the input MCE record). To
4compare MCE record, the following scheme is proposed:
5
6- Define a standard MCE record representation format. It should be
7  human readable, compatible with MCE parser in mce-inject, easy to
8  manipulate in shell (such as remove a field), easy to compare
9  (literally).
10
11  One MCE record is as follow:
12
13  CPU NUMBER
14  BANK NUMBER
15  TSC NUMBER
16  RIP NUMBER
17  ADDR NUMBER
18  MISC NUMBER
19  STATUS NUMBER
20  MCGSTATUS NUMBER
21
22  Multiple MCE records are separated by one empty line.
23
24- Enhance mce-inject or develop a new tool to convert from other
25  format to standard format.
26
27- Develop a new tool based on /usr/sbin/mcelog to output mce-inject
28  compatible MCE record. Because there may be different (uncompatible
29  version) /usr/sbin/mcelog on different machine.
30
31- During verifying, firstly convert various MCE recoards from kernel
32  and reference MCE records to standard format, then compare the
33  standard format MCE records in shell.
34