WSL2-Linux-Kernel/include/xen
Boris Ostrovsky 2b953a5e99 xen: Suspend ticks on all CPUs during suspend
Commit 77e32c89a7 ("clockevents: Manage device's state separately for
the core") decouples clockevent device's modes from states. With this
change when a Xen guest tries to resume, it won't be calling its
set_mode op which needs to be done on each VCPU in order to make the
hypervisor aware that we are in oneshot mode.

This happens because clockevents_tick_resume() (which is an intermediate
step of resuming ticks on a processor) doesn't call clockevents_set_state()
anymore and because during suspend clockevent devices on all VCPUs (except
for the one doing the suspend) are left in ONESHOT state. As result, during
resume the clockevents state machine will assume that device is already
where it should be and doesn't need to be updated.

To avoid this problem we should suspend ticks on all VCPUs during
suspend.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2015-04-29 17:10:05 +01:00
..
interface xen: synchronize include/xen/interface/xen.h with xen 2015-03-16 14:49:13 +00:00
acpi.h
balloon.h
events.h
features.h
grant_table.h xen/grant: introduce func gnttab_unmap_refs_sync() 2015-04-27 11:41:12 +01:00
hvc-console.h
hvm.h
page.h xen: add page_to_mfn() 2015-01-14 00:22:00 -05:00
platform_pci.h
swiotlb-xen.h
tmem.h
xen-ops.h xen: Suspend ticks on all CPUs during suspend 2015-04-29 17:10:05 +01:00
xen.h
xenbus.h xenbus_client: Extend interface to support multi-page ring 2015-04-15 10:56:47 +01:00
xenbus_dev.h