summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorYi Sun <yi.y.sun@linux.intel.com>2018-10-08 16:29:34 +0800
committerThomas Gleixner <tglx@linutronix.de>2018-10-09 14:21:39 +0200
commit3a025de64bf89c84a79909069e3c24ad9e710d27 (patch)
tree04adc9cf615d5644da69374dbf9d70b4a33cb63d /include/xen
parentf726c4620df39055f060537a8ed183c18a2c504b (diff)
x86/hyperv: Enable PV qspinlock for Hyper-V
Implement the required wait and kick callbacks to support PV spinlocks in Hyper-V guests. [ tglx: Document the requirement for disabling interrupts in the wait() callback. Remove goto and unnecessary includes. Add prototype for hv_vcpu_is_preempted(). Adapted to pending paravirt changes. ] Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Juergen Gross <jgross@suse.com> Cc: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: Michael Kelley (EOSG) <Michael.H.Kelley@microsoft.com> Cc: chao.p.peng@intel.com Cc: chao.gao@intel.com Cc: isaku.yamahata@intel.com Cc: tianyu.lan@microsoft.com Link: https://lkml.kernel.org/r/1538987374-51217-3-git-send-email-yi.y.sun@linux.intel.com
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions