diff options
author | Stanislav Kinsburskiy <stanislav.kinsburskiy@gmail.com> | 2022-11-03 17:58:54 +0000 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-11-28 16:48:20 +0000 |
commit | e1f5c66db85fb3e0a17b803fc2e868e9c59c193a (patch) | |
tree | 070a087ba87aebf69b913c6e3049590a52525f06 /include/linux/ucb1400.h | |
parent | 76be6331a81607359cb41ca20ec5388c68c855e3 (diff) | |
download | linux-e1f5c66db85fb3e0a17b803fc2e868e9c59c193a.tar.gz linux-e1f5c66db85fb3e0a17b803fc2e868e9c59c193a.tar.bz2 linux-e1f5c66db85fb3e0a17b803fc2e868e9c59c193a.zip |
clocksource: hyper-v: Introduce TSC PFN getter
And rework the code to use it instead of the physical address, which isn't
required by itself.
This is a cleanup and precursor patch for upcoming support for TSC page
mapping into Microsoft Hypervisor root partition, where TSC PFN will be
defined by the hypervisor and not by the kernel.
Signed-off-by: Stanislav Kinsburskiy <stanislav.kinsburskiy@gmail.com>
CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: Haiyang Zhang <haiyangz@microsoft.com>
CC: Wei Liu <wei.liu@kernel.org>
CC: Dexuan Cui <decui@microsoft.com>
CC: Daniel Lezcano <daniel.lezcano@linaro.org>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: linux-hyperv@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Anirudh Rayabharam <anrayabh@linux.microsoft.com>
Link: https://lore.kernel.org/r/166749833420.218190.2102763345349472395.stgit@skinsburskii-cloud-desktop.internal.cloudapp.net
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/linux/ucb1400.h')
0 files changed, 0 insertions, 0 deletions