Skip to contentSkip to conversation

MCE handler in 2.6.37 kernel

DISCUSSION Mukesh Rathor 3 participants 4 messages Feb 2, 2011

lore
Share & tools
lore
#0 lore raw

Hi Jeremy,

I am playing around with MCE stuff, and looking to test MCE handler in the guest kernel next. Just wondering why we are not installing MCE handler in the hypervisor in 2.6.37 kernel.

arch/x86/xen/enlighten.c:

cvt_gate_to_trap():

#ifdef CONFIG_X86_MCE
        } else if (addr == (unsigned long)machine_check) {
                return 0;

#endif

thanks,
Mukesh

#1 lore raw
Quoted 5 lines · Mukesh Rathor

Hi Jeremy,

I am playing around with MCE stuff, and looking to test MCE handler in the guest kernel next. Just wondering why we are not installing MCE handler in the hypervisor in 2.6.37 kernel.

In these cases the most likely reason is that nobody with an interest in MCE has yet stepped up to port the feature to the pvops kernel. Patches always welcome though ;-)

Ian.

#2 lore raw
In reply to Mukesh Rathor
Quoted 7 lines · Mukesh Rathor

Hi Jeremy,

I am playing around with MCE stuff, and looking to test MCE handler in the guest kernel next. Just wondering why we are not installing MCE handler in the hypervisor in 2.6.37 kernel.

Quoted 8 lines

arch/x86/xen/enlighten.c:

cvt_gate_to_trap():

#ifdef CONFIG_X86_MCE
        } else if (addr == (unsigned long)machine_check) {
                return 0;

#endif

There's a patch from the Intel folks to implement MCE, but I hadn't added it to my upstream todo list yet. I think it's pretty small, so no problem to add it - esp if you can actually test it.

J

#3 lore raw
Quoted 17 lines · On Wed, 02 Feb 2011 09:48:14 -0800 Jeremy Fitzhardinge <[email protected]> wrote:
Quoted 7 lines · Mukesh Rathor

Hi Jeremy,

I am playing around with MCE stuff, and looking to test MCE handler in the guest kernel next. Just wondering why we are not installing MCE handler in the hypervisor in 2.6.37 kernel.

Quoted 8 lines

arch/x86/xen/enlighten.c:

cvt_gate_to_trap():

#ifdef CONFIG_X86_MCE
        } else if (addr == (unsigned long)machine_check) {
                return 0;

#endif

Quoted 5 lines

There's a patch from the Intel folks to implement MCE, but I hadn't added it to my upstream todo list yet. I think it's pretty small, so no problem to add it - esp if you can actually test it.

J

Yeah, I can do basic testing if you send or point me to the Intel patch you mention.

thanks
Mukesh