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)
commit3c05c4bed4ccce3f22f6d7899b308faae24ad198
tree1ba50aca8583443ca5228d2a536e32a71f8d1097
parentccbcdf7cf1b5f6c6db30d84095b9c6c53043af55
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 99bbb3a84a99cd04ab16b998b20f01a72cfa9f4f
  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