From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4A4B49DBA1 for ; Tue, 1 Sep 2026 19:17:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788290236; cv=none; b=FUtZOsFLBJJK9zekztcM0VhLqOV2M5WsDGM2aeVenV3vsx3mYK8OyD37+jiqEZhXcNqgNXK8CuUkzp7Fts/LddHQ079w8oa8G/Mc0Yz6VNjSygSmxigw68h5SC5e91dqn4plkpsxS/BsreIH1WFyMyjLhBAu2QXiExjaORhPlU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788290236; c=relaxed/simple; bh=ok65wtnLh4/jf/TJcVJdkooFgQY/8blBctwC4Sx2UJY=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=RYn5htGZuJbhl4Pbhbmm1X++7jOt0If29Ir9aHb1qgY55RhtklMq8DI/4Cz6EioDzZJMO9EZ1Jnsf4oVhADGaqCTkXPRtkZWDJbkt+zNjiUyTgXyq7q7YxmlPqqk9x7ML35OQQ1UNiwltmcX7ZiaFpH+OC7TjgC1qQUkSTzRNOc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=kB9CuOo5; arc=none smtp.client-ip=209.85.214.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="kB9CuOo5" Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cfa4e4684bso3180145ad.2 for ; Tue, 01 Sep 2026 12:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1788290233; x=1788895033; darn=vger.kernel.org; h=content-type:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=PmO9NVIPso6yFfzV773x3a73vitmuuvzVf1ZmBlYCbI=; b=kB9CuOo5ecJ7P7jbeF1t0zxSZcnFX0i7x1X4KVDa5oNrJJUhEO5A9/IYoVqVQXCXsn loVXAI1c3XFVPvvNo8YfIQJj8J3XvIMgv3U/YxDeQgJGI60tlaRLKPSXZKbKEWwcIyrt iBHgXaGiaCbAkRqcDoPwLvRKqPO1pK8nvNDRxBAri818qTvW9qWs49MoV6OUu2Kdhfg7 daqCs8Rn02GDWURytXzDinEUZnDrgDDaiYrnrP/4jGdcRZw0YCOxBgyxgA/M3y4cG8r6 AihA3Rxj/SCK2iYFSMYzVqrZxLyy4perVceOcYanMzX8dNrK/JmiIeUUN0xCj0h7PzDa 9jxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788290233; x=1788895033; h=content-type:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=PmO9NVIPso6yFfzV773x3a73vitmuuvzVf1ZmBlYCbI=; b=De6KY12FxS9hayVAzQ6NTmwxJfYLbvteLM0FfSXMsUFNbbbj0HJz9TDJK0x0c8vRbW c9veihXuXb6j24tZhVCdXa74mBchgUP/4W41dcLnVmyvyDoRWyKO8NciyUeXvoItlQ1e pKH1SZ2kzLqytXPUqQxTFV0n3Q9SHWSiWSXT1PiLH/JUs6W3jl5nOotsAZw8L+J8V4rX 9PA0rOATtWRiJ5K4ozRm/65TffDJgIeQ+zNrMohH81BGKA1ggRJKkABzfIll3kZWHy7v z4V5PKjVGW7AkV16mhHiQRng82xrWUEcHMHuLGEWr9/hB8JxKNLoy0RhALqkc0vi/RXX P6eQ== X-Forwarded-Encrypted: i=1; AKwUvBxENKRV9CIx2WyHSKChyQGerP4EL4Sho+dLz0VRSnxNx+Prj5UIxaYoSYulOLyTwuvyjsaQWFBdF4zqEr0=@vger.kernel.org X-Gm-Message-State: AFuF++kUV1dd5xr7Ac/s1ukumMw/xTxnM0hkyl9ocD8Rgfufd5LAVFby d5joGAmv7MgG4PZMDnLu7VTxtmqXZyoaB1YqVsOksZ2emzxBQNJuiK4AX+8YbDniOItVMmu/lFD v+8uTNQ== X-Received: from plpo1.prod.google.com ([2002:a17:903:3e01:b0:2d9:17d4:914d]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:ffce:b0:2d8:d4d2:dc9a with SMTP id d9443c01a7336-2d8d4d2dfadmr412111075ad.22.1788290232898; Tue, 01 Sep 2026 12:17:12 -0700 (PDT) Date: Tue, 1 Sep 2026 12:17:12 -0700 In-Reply-To: <20260826213303.914988-22-seanjc@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260826213303.914988-1-seanjc@google.com> <20260826213303.914988-22-seanjc@google.com> Message-ID: Subject: Re: [PATCH v10 21/21] KVM: x86: Use kernel timekeeping snapshot to get walltime+TSC From: Sean Christopherson To: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Durrant , David Woodhouse , Dongli Zhang Content-Type: text/plain; charset="us-ascii" On Wed, Aug 26, 2026, Sean Christopherson wrote: > Replace the KVM-private vgettsc()+/do_do_realtime() timekeeping > reimplementation with calls to the recently crafted, generic > ktime_get_snapshot_id() interface. As noted previously, the snapshot > provides both the system time and the raw_cycles (TSC), atomically paired > using a sequence counter. > > With great pleasure, delete the now unused read_tsc() and vgettsc() > > Signed-off-by: David Woodhouse > [sean: separate from other conversions, express joy at vgettsc()'s demise] > Signed-off-by: Sean Christopherson Note to self, this needs to be fixed up so that David is the Author. I'll check the other patches too, I suspect I forgot to specify --author when splitting the original patch into 3.