OSDN Git Service

Drivers: hv: vmbus: Suspend/resume the synic for hibernation
authorDexuan Cui <decui@microsoft.com>
Thu, 5 Sep 2019 23:01:16 +0000 (23:01 +0000)
committerSasha Levin <sashal@kernel.org>
Fri, 6 Sep 2019 18:52:44 +0000 (14:52 -0400)
commit63ecc6d22ce46643165c391a9c90ba67e22e1c0f
tree3d0f5dacce230af9b863215332cf10bb55ca2b66
parentdba61cda30469a6c4fed0f8d5bf2b6001ca80a51
Drivers: hv: vmbus: Suspend/resume the synic for hibernation

This is needed when we resume the old kernel from the "current" kernel.

Note: when hv_synic_suspend() and hv_synic_resume() run, all the
non-boot CPUs have been offlined, and interrupts are disabled on CPU0.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hv/vmbus_drv.c