Add new test program to validate LMCE feature

Design different cases to validate LMCE feature:
1. multi thread run on same or different cores;
2. inject memory error into one same address or two different addresses;
3. trigger IFU or DCU error individually.

Note that injecting errors on the same core will likely result
in undefined behavior as logical processors sharing a core also
share machine check banks that log recoverable machine checks.

Signed-off-by: Jin Wen <>
Signed-off-by: Tony Luck <>
2 files changed