search for: x86_mcinfo_apei_sav

Displaying 1 result from an estimated 1 matches for "x86_mcinfo_apei_sav".

Did you mean: x86_mcinfo_apei_save
2011 Jul 22
0
[PATCH] Dump mce log by ERST when mc panic
...iu@intel.com> diff -r ca2f58c2dfea xen/arch/x86/cpu/mcheck/mce.c --- a/xen/arch/x86/cpu/mcheck/mce.c Mon Jul 18 21:40:28 2011 +0800 +++ b/xen/arch/x86/cpu/mcheck/mce.c Fri Jul 22 17:02:02 2011 +0800 @@ -919,6 +919,28 @@ void *x86_mcinfo_add(struct mc_info *mi, return buf; } +static void x86_mcinfo_apei_save( + struct mcinfo_global *mc_global, struct mcinfo_bank *mc_bank) +{ + struct mce m; + + memset(&m, 0, sizeof(struct mce)); + + m.cpu = mc_global->mc_coreid; + m.cpuvendor = boot_cpu_data.x86_vendor; + m.cpuid = cpuid_eax(1); + m.socketid = mc_global->mc_socketid; +...