Linux-HyperV List
 help / color / mirror / Atom feed
* [PATCH v3 0/4] hyper-v: Introduce TSC page for root partition
@ 2022-11-03 17:58 Stanislav Kinsburskii
  2022-11-03 17:58 ` [PATCH v3 1/4] drivers/clocksource/hyper-v: Introduce a pointer to TSC page Stanislav Kinsburskii
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Stanislav Kinsburskii @ 2022-11-03 17:58 UTC (permalink / raw)
  Cc: Wei Liu, linux-hyperv, H. Peter Anvin, K. Y. Srinivasan,
	Andy Lutomirski, Borislav Petkov, Daniel Lezcano, Dexuan Cui,
	Dave Hansen, Haiyang Zhang, linux-kernel, Thomas Gleixner,
	Ingo Molnar, Stanislav Kinsburskiy, x86, mikelley

This series does some cleanup and precursor changes to the hyper-v clock
source and introduces support for TSC page based clock in root partition.

Hyper-V root partition requires kernel to map the page, specified by the
hypervisor (instead of provide the PFN to the hypervisor like it's done in
guest partition).

v3:
1. Rebased on top of the fix to support arbitrary TSC page size by Anirudh
2. Fixed TSC physical page when remapping in root partition.

v2:
1. Addressed all the comments to the commit messages.
2. TSC page in root partition is now remapped based on size of the tsc_pg
variable.

The following series implements...

---

Stanislav Kinsburskiy (4):
      drivers/clocksource/hyper-v: Introduce a pointer to TSC page
      drivers/clocksource/hyper-v: Introduce TSC PFN getter
      drivers/clocksource/hyper-v: Use TSC PFN getter to map vvar page
      drivers/clocksource/hyper-v: Add TSC page support for root partition


 arch/x86/entry/vdso/vma.c          |    7 ++---
 arch/x86/hyperv/hv_init.c          |    2 +
 drivers/clocksource/hyperv_timer.c |   55 +++++++++++++++++++++++++++---------
 include/clocksource/hyperv_timer.h |    7 +++++
 4 files changed, 53 insertions(+), 18 deletions(-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-12-02 18:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 17:58 [PATCH v3 0/4] hyper-v: Introduce TSC page for root partition Stanislav Kinsburskii
2022-11-03 17:58 ` [PATCH v3 1/4] drivers/clocksource/hyper-v: Introduce a pointer to TSC page Stanislav Kinsburskii
2022-11-03 20:58   ` Michael Kelley (LINUX)
2022-11-03 17:58 ` [PATCH v3 2/4] drivers/clocksource/hyper-v: Introduce TSC PFN getter Stanislav Kinsburskii
2022-11-03 20:58   ` Michael Kelley (LINUX)
2022-11-03 17:58 ` [PATCH v3 3/4] drivers/clocksource/hyper-v: Use TSC PFN getter to map vvar page Stanislav Kinsburskii
2022-11-03 20:59   ` Michael Kelley (LINUX)
2022-11-03 17:59 ` [PATCH v3 4/4] drivers/clocksource/hyper-v: Add TSC page support for root partition Stanislav Kinsburskii
2022-11-03 20:33   ` Michael Kelley (LINUX)
2022-11-03  1:37     ` Stanislav Kinsburskii
2022-11-04  1:44       ` Michael Kelley (LINUX)
2022-11-04 20:40         ` [PATCH v4] " Stanislav Kinsburskii
2022-11-04 20:50           ` Michael Kelley (LINUX)
2022-11-14 13:54 ` [PATCH v3 0/4] hyper-v: Introduce TSC page " Wei Liu
2022-12-02 12:55   ` Daniel Lezcano
2022-12-02 17:10     ` Stanislav Kinsburskii
2022-12-02 18:15     ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox