x86/mce/AMD: Make sure banks were initialized before accessing them
Borislav Petkov
maintainerQuoted 9 lines · Rafał Miłecki
[ 1.030531] EDAC MC: Ver: 3.0.0 [ 1.031603] Registered efivars operations [ 1.039997] mce: [Hardware Error]: Machine check events logged [ 1.040002] [Hardware Error]: Corrected error, no action required. [ 1.040006] [Hardware Error]: CPU:3 (17:11:0) MC1_STATUS[Over|CE|MiscV|-|-|-|-|SyndV|-]: 0xd8200000000a0151 [ 1.040010] [Hardware Error]: IPID: 0x000100b000000000, Syndrome: 0x000000004a000000 [ 1.040014] [Hardware Error]: Instruction Fetch Unit Extended Error Code: 10 [ 1.040016] [Hardware Error]: Instruction Fetch Unit Error: L1 BTB multi-match error. [ 1.040019] [Hardware Error]: cache level: L1, tx: INSN, mem-tx: IRD
Yap, good. This is what I expected. Thanks for testing.
So for such early errors, we probably won't make the decoding module builtin (distro kernels etc) but maybe having a small script which takes these error lines and injects the error through mce-inject so that it can be decoded on the machine, would be useful.
That script could be placed in Documentation/x86/ or so, so that people can decode such early errors.
I'll write up something soonish.
As to the error itself, people are looking into it.
Thx.