]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc475d3d574b306e668663a13e2f84cdd8b6a5223
treefe5910013ab6c551decd84080a7d3ffccc83d306
parent54182a1cd253855ac1c706dd83012b497793ba70
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