clocksource/drivers/hyper-v: Suspend/resume Hyper-V clocksource for hibernation
authorDexuan Cui <decui@microsoft.com>
Wed, 20 Nov 2019 07:12:26 +0000 (23:12 -0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 16 Jan 2020 18:06:57 +0000 (19:06 +0100)
commit1349401ff1aa425e7381ed26feb63e0d6b557fc6
treefe5910013ab6c551decd84080a7d3ffccc83d306
parent5167c506d62dd9ffab73eba23c79b0a8845c9fe1
clocksource/drivers/hyper-v: Suspend/resume Hyper-V clocksource for hibernation

This is needed for hibernation, e.g. when we resume the old kernel, we need
to disable the "current" kernel's TSC page and then resume the old kernel's.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1574233946-48377-1-git-send-email-decui@microsoft.com
drivers/clocksource/hyperv_timer.c