x86/mce/AMD: Make sure banks were initialized before accessing them
Borislav Petkov
maintainerQuoted 7 lines · Rafał Miłecki
Your patch changes init time of
mcheck_init_device()andthreshold_init_device():
1) The order of these two is still correct
2) It doesn't affect order of initializing/dev/mcelogThe only real change is initializing banks & devices before XEN driver gets a chance to register
/dev/mcelogbut I don't think it matters.
It matters because xen needs to reg /dev/mcelog first. Apparently. I still have this on my todo to untangle it from xen because otherwise we can't change anything on baremetal.