clocksource/drivers/hyperv: add data structure for reference TSC MSR
authorAnirudh Rayabharam <anrayabh@linux.microsoft.com>
Thu, 27 Oct 2022 09:57:28 +0000 (15:27 +0530)
committerWei Liu <wei.liu@kernel.org>
Thu, 3 Nov 2022 15:50:28 +0000 (15:50 +0000)
commit4ad1aa571214e8d6468a1806794d987b374b5a08
tree8a6fd76aca1877a23b8f9713f6b282862e380ac0
parent99632e3dbeb25a0ff86c4af4bba2dcf638624423
clocksource/drivers/hyperv: add data structure for reference TSC MSR

Add a data structure to represent the reference TSC MSR similar to
other MSRs. This simplifies the code for updating the MSR.

Signed-off-by: Anirudh Rayabharam <anrayabh@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20221027095729.1676394-2-anrayabh@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/clocksource/hyperv_timer.c
include/asm-generic/hyperv-tlfs.h