]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Do not enable PV IPIs when vector callback not present
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 17 Aug 2011 13:15:00 +0000 (15:15 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 22 Aug 2011 15:28:09 +0000 (11:28 -0400)
commitd509af9b5a31e2e836da6bd042d941e0ec54f468
tree1ba50aca8583443ca5228d2a536e32a71f8d1097
parent13f5c069626b652925949df14c356199c4ff6fbf
xen: Do not enable PV IPIs when vector callback not present

Fix regression for HVM case on older (<4.1.1) hypervisors caused by

  commit ebe8c44fc610abbf6726bf720acbe3862b13a0c1
  Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
  Date:   Thu Dec 2 17:55:10 2010 +0000

    xen: PV on HVM: support PV spinlocks and IPIs

This change replaced the SMP operations with event based handlers without
taking into account that this only works when the hypervisor supports
callback vectors. This causes unexplainable hangs early on boot for
HVM guests with more than one CPU.

BugLink: http://bugs.launchpad.net/bugs/791850
CC: stable@kernel.org
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-and-Reported-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/smp.c