Re: [PATCH v2] clocksource: hyper-v: Use lapic timer in a TDX VM without paravisor

2024-06-24 Thread Wei Liu
On Thu, Jun 20, 2024 at 11:16:14PM -0700, Dexuan Cui wrote: > In a TDX VM without paravisor, currently the default timer is the Hyper-V > timer, which depends on the slow VM Reference Counter MSR: the Hyper-V TSC > page is not enabled in such a VM because the VM uses Invariant TSC as a > better clo

RE: [PATCH v2] clocksource: hyper-v: Use lapic timer in a TDX VM without paravisor

2024-06-21 Thread Michael Kelley
From: Dexuan Cui Sent: Thursday, June 20, 2024 11:16 PM > > In a TDX VM without paravisor, currently the default timer is the Hyper-V > timer, which depends on the slow VM Reference Counter MSR: the Hyper-V TSC > page is not enabled in such a VM because the VM uses Invariant TSC as a > better clo

[PATCH v2] clocksource: hyper-v: Use lapic timer in a TDX VM without paravisor

2024-06-20 Thread Dexuan Cui
In a TDX VM without paravisor, currently the default timer is the Hyper-V timer, which depends on the slow VM Reference Counter MSR: the Hyper-V TSC page is not enabled in such a VM because the VM uses Invariant TSC as a better clocksource and it's challenging to mark the Hyper-V TSC page shared in