Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (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 E04C62957C2 for ; Tue, 19 Aug 2025 15:20:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755616849; cv=none; b=QZ6MubDd/QXJRxeQqK+26VS+olqA97+DCneajTL0B1uXISaIa8t+LyFs+FSAdA5gKY7fIz7cB7r3rrWEtPSP3NEOnh1SfLw+2fMjgFnnxz6FZWWQ4Dh29/CaAcvVTZ2kakm5ArwKURYH2QMau5POe1lATVN6DdmVzqD/nwUzFHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755616849; c=relaxed/simple; bh=HomK9oR9q6PgZ6KTjkrL0ZAF4ixtQM3rr4sUa8Fd5OA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Nn2RB8aisErmO5Tf7rvfKk3VYMlF0uGltJioWWUbeednmFsf3USSd643Suq5/0w/0xuHG8bru2CEHbuz4YXXkzJkHD3iABPdjCJGjxMLyvWbzbLaUIrh2b0Vkj4bYYHJzAPCu/pTOnWE8nRHkZL+9vRHZy2i42GB+iETw+3mKig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smartx.com; spf=pass smtp.mailfrom=smartx.com; dkim=pass (2048-bit key) header.d=smartx-com.20230601.gappssmtp.com header.i=@smartx-com.20230601.gappssmtp.com header.b=OHOjyYnP; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smartx.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=smartx.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=smartx-com.20230601.gappssmtp.com header.i=@smartx-com.20230601.gappssmtp.com header.b="OHOjyYnP" Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-323266baa22so4201994a91.0 for ; Tue, 19 Aug 2025 08:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smartx-com.20230601.gappssmtp.com; s=20230601; t=1755616847; x=1756221647; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A/CvHxpYU6aT1JADHVD5nQ98mr1UgBNDG9QHGX5cLNQ=; b=OHOjyYnP7YYoC+synqXCNnGbymEKbqsj2St7ImKmsPYoJLWXpioWCZPU0nsBhQB9Wr Q5uRk2Wgq/Oht8CWltecQ6B7dbd0LWa3LKdqvYOlNfW7jRbsxnflhKFeN/wQqVV9cfBf Y0RBPo1siNrOtV8dFlG29tbWiDbn2xorHBy53mrRYyufvlfWJV2UZvcxOeMWWGXSBdGc 1ao0bYK1I2ZvB+Juh2SWujynTmwWxqakfKEvxGQRuV+jnwsQIK5+zWZBXtcxiZHJRFBq QLAY6o1oVbzEZofvTnlVBIw0TP4IAL2FpG7uAbR8ZUxT1tdwR2Zldl39hqpLGoLiz+qQ j45g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755616847; x=1756221647; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A/CvHxpYU6aT1JADHVD5nQ98mr1UgBNDG9QHGX5cLNQ=; b=gh8M578qI55O8iUmcgJSxr8WGXWcFXsUalUt7+hbmo5cO+9QFAu4/i/1vS/doxvtr6 fn77QRmNF9Ij0JJXBOs+w1tCWDD592QWzY4p9rXJQSYswKFnmxxzUfTAHsKlbCLYW4U1 Jg9VHHwTpPcCfOuLB4JqKNNOCvY7ijm1t8KOXBE97z6xWxukkua+qbseRbL6LljwwkPZ xzfT8sefdVtaJ6ZGmLSFYnfvpfBCjW4h3+W91vToF1nbhe2bLvD70QfIoRtVqvZB5jyD hjS2UCKcXlqNzwbQQ+A/kvt+ee9nqkTsI9txUW1qRwUCahLOt6fyEV6TJmeKCBkLdtOW qHbQ== X-Gm-Message-State: AOJu0YzJcT1nMR4n0wsgqvO9zVUoPtvG+/Y6AIFu5xDLV6kYblYr5hGn Z509h/CTrQUg1bJsiQZHSQ1LTY7zkHSLLs90W5bAjzuTKNRTQsN/tV/6rStNPs6Zxfkd495EwDu GpbZRCegV9/L0 X-Gm-Gg: ASbGnctFN0hIeOTPi7bVgCfuBz6Rp+FcRxBbsxwKr31Wi+EQ6O8IBiQDYIedTfZvErP ljryHP7FkmAX8m1BzK+hUOwVAhPWcYlMEG0eQsgCexx6bl/fCS0yuZA/GVpfuo87e1xq1minrGK XgM7SaivFw5v4HMYrQhlgHwTwxvtmGcTHh9HzoYns0BLvvpJZpegWC0q0nAC0WcwNJMUU/bTqLO 6MR+jb5vqjrRyqS5AlQZ3O3ICZRRnYhW3x8JHnBVZ3dJSq6VeWQabmoVo8d0hsWqeBUavM7epeO AsrLO3LLq/t8SOD4SH5EfvjwjbptuJKcAbdjWnnvkPOZvTJUCg0vWkgAGJsqBk++LtvQcC2i8E9 4MgRMjr/j3TSfzCQaMXOoMRjrkQpH9WoAp4bEZriFNnGqur3i X-Google-Smtp-Source: AGHT+IENiUhPFrfHidhITb1KfiGNdBaldsZlAkjMOx4cUC6/Qm5aq9ey8Ddfx+brVMdYtBBvx3KQXg== X-Received: by 2002:a17:90b:2fc7:b0:31c:3651:2d18 with SMTP id 98e67ed59e1d1-32476a9509dmr4224591a91.16.1755616846994; Tue, 19 Aug 2025 08:20:46 -0700 (PDT) Received: from localhost.localdomain ([193.246.161.124]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-76e7d546ce3sm2771227b3a.103.2025.08.19.08.20.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Aug 2025 08:20:46 -0700 (PDT) From: Lei Chen To: Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/3] KVM: x86: remove comment about ntp correction sync for Date: Tue, 19 Aug 2025 23:20:27 +0800 Message-ID: <20250819152027.1687487-4-lei.chen@smartx.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20250819152027.1687487-1-lei.chen@smartx.com> References: <20250819152027.1687487-1-lei.chen@smartx.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since vcpu local clock is no longer affected by ntp, remove comment about ntp correction sync for function kvm_gen_kvmclock_update. Signed-off-by: Lei Chen --- arch/x86/kvm/x86.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index d526e9e285f1..f85611f59218 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -3399,9 +3399,7 @@ uint64_t kvm_get_wall_clock_epoch(struct kvm *kvm) /* * kvmclock updates which are isolated to a given vcpu, such as * vcpu->cpu migration, should not allow system_timestamp from - * the rest of the vcpus to remain static. Otherwise ntp frequency - * correction applies to one vcpu's system_timestamp but not - * the others. + * the rest of the vcpus to remain static. * * So in those cases, request a kvmclock update for all vcpus. * The worst case for a remote vcpu to update its kvmclock -- 2.44.0