From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) (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 60A1736BCDA for ; Tue, 4 Aug 2026 00:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785804830; cv=none; b=CJp+8a5cmuL8IcneD+sJLEEWksfxZ5mZANBaUwVLM6mm+ldgouubn8J1EI7UkPETFC9ADOfeTo9OCq5reX0W0bZ1KuMPiKapjMGf8W8ldvlSq0LsRjwdXniXZs6izx06yPNGOqKmKOULpyg2vS4rhwNFgTRzjIBx+Td5NrVAs1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785804830; c=relaxed/simple; bh=8J9B23WsicaadDjqSUzKsTyHJmyroFDR6rynfnEEbhk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=YN9cEt7ZPTDDFGI4OxoaKDtMBpjaAVsvuTwgbhFjQfd2NzAkzcQoF4P+cLM13jqg39N/eKe1OavNzeI7t1vWAsZfhuAKU5NuhgqeIkgXtlBwIV6iJm5uunPyG/uNj83Mp+hErUOAnKB5tACmcVYu/VTRz1CgxYsIigk6e0WXoSE= 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=EZjzp4DA; arc=none smtp.client-ip=209.85.215.200 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="EZjzp4DA" Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-ca6bd8a190cso5074495a12.0 for ; Mon, 03 Aug 2026 17:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1785804828; x=1786409628; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=KFqZcLCrY5f3+v3uGjD/c1GxsX1WczytwYYei8eRc4I=; b=EZjzp4DAIhEio1y+iLW00DfS70zI/4N3d9rMd0pGjhkVnL7LA9MLwIruY1MIadknjD 8NlEIYeSg7WmKMS9+4my8QUuaIXgfalnxczGo/vD/UjChRkezbzkvH8T/WQyVsna8laS R9V3XVROgm94vwhUlPRdiiRrudXAiJll0E8oW94/nSIc1TnTUOmhNUmZK+vYFvFf3Cvq FzPF7ECnE28eawIjqz9hmm6l3IA6PDA2cdjsdFRBHpCqwVJq1LtR2wmeoLFleLoCx9cy S5xGuD76Hb6O3yblV81H11NfCn+FDvnncnll+jOr0p6mCMwZc42rkx9pvMYv/CRFcQj2 YXqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785804828; x=1786409628; h=content-type:cc: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=KFqZcLCrY5f3+v3uGjD/c1GxsX1WczytwYYei8eRc4I=; b=pH8UyF0sq++GJ23n83ExPTfKLH5B+2OFaJaytgkmQhMG6TriCnMiVv0yux3jroee4l klu6/1BqHKbiQbQZKoQNGUtZnGWM3QjVqD8fdxfoMjUHqDEe4e6gBhQOLUB0drxGgHko BKtn4yc549h9pB6qdYrAqcCDdXXYSmOMi3QTA87WtOYYhaBwQzDEPxaDO4WB5BrVcQYN obDObrX4UKxY8DiBUwmSH5L8OhgLPrRcfB+QFD2Ttytp5e1/iecbWEQ3ymQNkvqQpRx3 XQiAula2GRe/j0JrjzpX4VMgsZSled7j5UWFIVHPaJLIhpAzS4s7mxkNKykCsilFFVWS uO0A== X-Forwarded-Encrypted: i=1; AHgh+RqBoMxS2vyhC9+axEMz/J52TVyY31i+UQUXFDjjZx5CUmoPWZVx9KS5A39+xcA2SPk8STwBIuOD2K25dic=@vger.kernel.org X-Gm-Message-State: AOJu0Yx20w+eIl2yOk9jr+ZkYZppGU/OUL+GvY7XJqtcxMhsEMDDnU0o cAFeF/0oWB+M6hf78skEG9LdLa0LD0EtCRlsDZUlqT7B61VuWAwKZxXlZJjp2bVl/3a8ZwH++k2 YdjWmyQ== X-Received: from pgke23.prod.google.com ([2002:a63:f557:0:b0:c85:98b1:c613]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a21:3397:b0:3c3:a140:9392 with SMTP id adf61e73a8af0-3c92a28f176mr12976405637.0.1785804827335; Mon, 03 Aug 2026 17:53:47 -0700 (PDT) Date: Mon, 3 Aug 2026 17:53:46 -0700 In-Reply-To: <8b90851f38ef5b10cdcdc70e7543bd6b0b5e2773.camel@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <178552799129.2700794.10181439022561913222.b4-ty@google.com> <8b90851f38ef5b10cdcdc70e7543bd6b0b5e2773.camel@infradead.org> Message-ID: Subject: Re: [PATCH v6 00/36] Cleaning up the KVM clock mess From: Sean Christopherson To: David Woodhouse Cc: Paolo Bonzini , Jonathan Corbet , Shuah Khan , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Vitaly Kuznetsov , Juergen Gross , Boris Ostrovsky , Paul Durrant , Jonathan Cameron , Sascha Bischoff , Marc Zyngier , Joey Gouly , Jack Allister , Dongli Zhang , joe.jin@oracle.com, kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Sat, Aug 01, 2026, David Woodhouse wrote: > On Fri, 2026-07-31 at 13:09 -0700, Sean Christopherson wrote: > > Applied patch 1 to kvm-x86 clocks. > > > > [01/36] KVM: x86/xen: Do not corrupt KVM clock in kvm_xen_shared_info_init() > > https://github.com/kvm-x86/linux/commit/3d4b20b5a7df > > Thanks. Could the clocks branch be based on something that includes the > timekeeping work from the timers-ptp-2026-06-13 merge (in v7.2-rc1)? Yeah, I can rebase onto a 7.2-rcN. Y'all are likely the only people that care about the above commit, so a late rebase isn't a big deal. There's basically zero chance I'll get the entire series applied for 7.3, but "Use ktime_get_snapshot_id() for master clock" is at least in striking distance, so there's no reason not to allow for the possibility. > The later parts of the series depend on ktime_get_snapshot_id() and the > reworked struct system_time_snapshot from there. Your kvm-x86/next > branch does have it; I'll keep my WIP kvmclock8 branch based on that > for now as I address the other comments. > > > * 2d6d57f889f3 Merge tag 'timers-ptp-2026-06-13' of tip > |\ > | * bc484a509673 ptp: vmclock: Use hw_cycles from snapshot for precise TSC pairing > | ... > | * ca1ec8bfac8c timekeeping: Add clocksource read_snapshot() method and hw_cycles to snapshot > | ... > | * ef22786707e3 timekeeping: Use system_time_snapshot::systime/monoraw instead of ::real/raw > | * eba302268a01 timekeeping: Provide ktime_get_snapshot_id()