Re: [PATCH 0/2] KVM: kvm-coco-queue: Support protected TSC

From: Isaku Yamahata
Date: Fri Mar 14 2025 - 10:18:25 EST


On Tue, Mar 11, 2025 at 10:13:30PM -0300,
Marcelo Tosatti <mtosatti@xxxxxxxxxx> wrote:

> On Sat, Oct 12, 2024 at 12:55:54AM -0700, Isaku Yamahata wrote:
> > This patch series is for the kvm-coco-queue branch. The change for TDX KVM is
> > included at the last. The test is done by create TDX vCPU and run, get TSC
> > offset via vCPU device attributes and compare it with the TDX TSC OFFSET
> > metadata. Because the test requires the TDX KVM and TDX KVM kselftests, don't
> > include it in this patch series.
>
> OK, previous results were incorrect. In fact, this patches (which apply
> cleanly to current kvm-coco-queue) reduce cyclictest latency from:

Thank you for evaluating it. Does your guest include [1] (or similar fix)?
The patch would affect the result much.

[1] https://lore.kernel.org/lkml/20250228014416.3925664-1-vannapurve@xxxxxxxxxx/
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>