x86/xen fixup for stable 3.12 and later

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Regarding this issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1350375

Please pull in this patch from Linus tree (part of 3.16-rc6):

commit ea9f9274bf4337ba7cbab241c780487651642d63
Author: David Vrabel <david.vrabel@xxxxxxxxxx>
Date:   Mon Jun 16 13:07:00 2014 +0200

    x86/xen: no need to explicitly register an NMI callback

    Remove xen_enable_nmi() to fix a 64-bit guest crash when registering
    the NMI callback on Xen 3.1 and earlier.

    It's not needed since the NMI callback is set by a set_trap_table
    hypercall (in xen_load_idt() or xen_write_idt_entry()).

    It's also broken since it only set the current VCPU's callback.

    Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
    Reported-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
    Tested-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>

It's needed to unbreak kernels v3.12 and later when running on a Xen
3.1.x or earlier hypervisor.

- Steven
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]