diff options
author | Dexuan Cui <decui@microsoft.com> | 2020-04-11 20:50:35 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2020-04-14 21:16:35 +0100 |
commit | 1a06d017fb3f388734ffbe5dedee6f8c3af5f2db (patch) | |
tree | 4d3593cff1c9a339a5a32a8b4530e56e7eaac62a /drivers/hv/hv.c | |
parent | f3a99e761efa616028b255b4de58e9b5b87c5545 (diff) | |
download | linux-1a06d017fb3f388734ffbe5dedee6f8c3af5f2db.tar.bz2 |
Drivers: hv: vmbus: Fix Suspend-to-Idle for Generation-2 VM
Before the hibernation patchset (e.g. f53335e3289f), in a Generation-2
Linux VM on Hyper-V, the user can run "echo freeze > /sys/power/state" to
freeze the system, i.e. Suspend-to-Idle. The user can press the keyboard
or move the mouse to wake up the VM.
With the hibernation patchset, Linux VM on Hyper-V can hibernate to disk,
but Suspend-to-Idle is broken: when the synthetic keyboard/mouse are
suspended, there is no way to wake up the VM.
Fix the issue by not suspending and resuming the vmbus devices upon
Suspend-to-Idle.
Fixes: f53335e3289f ("Drivers: hv: vmbus: Suspend/resume the vmbus itself for hibernation")
Cc: stable@vger.kernel.org
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/1586663435-36243-1-git-send-email-decui@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv/hv.c')
0 files changed, 0 insertions, 0 deletions