From e9bddfef0b2bc796a7d9eb9f65126b20510a0e36 Mon Sep 17 00:00:00 2001 From: royger Date: Thu, 3 Dec 2015 11:05:35 +0000 Subject: MFC r291024: xen: fix dropping bitmap IPIs during resume Sponsored by: Citrix Systems R&D --- sys/dev/xen/control/control.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev') diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c index bc0609d..60e448a 100644 --- a/sys/dev/xen/control/control.c +++ b/sys/dev/xen/control/control.c @@ -127,6 +127,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include @@ -403,6 +404,8 @@ xctrl_suspend() gnttab_resume(); #ifdef SMP + /* Send an IPI_BITMAP in case there are pending bitmap IPIs. */ + lapic_ipi_vectored(IPI_BITMAP_VECTOR, APIC_IPI_DEST_ALL); if (smp_started && !CPU_EMPTY(&cpu_suspend_map)) { /* * Now that event channels have been initialized, -- cgit v1.1