Skip to contentSkip to conversation

x86/mce/AMD: Make sure banks were initialized before accessing them

DISCUSSION Borislav Petkov 1 participant 1 message Dec 16, 2018 EDAC-core

lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw
Quoted 7 lines · Rafał Miłecki

Your patch changes init time of mcheck_init_device() and threshold_init_device():
1) The order of these two is still correct
2) It doesn't affect order of initializing /dev/mcelog

The only real change is initializing banks & devices before XEN driver gets a chance to register /dev/mcelog but 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.