Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1455671rwo; Wed, 2 Aug 2023 14:34:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlH6OYduuqUG8UZu16t7kAO72ygHEvxUEWbcj16J188WXNZq+fiTOoxT+VKJSB2Ydjfs+UYu X-Received: by 2002:a17:902:da87:b0:1b8:6952:5381 with SMTP id j7-20020a170902da8700b001b869525381mr22482862plx.9.1691012087613; Wed, 02 Aug 2023 14:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691012087; cv=none; d=google.com; s=arc-20160816; b=sZChycFhD5T0fNaLugFZbXXYH+oQ/zhnhksrKXEnisj93LF6JR0e4NQG0P49UcCetf E4XBtQw/fWx+g5XbPZzprGGMcC5QLRljxhAFBUEr3Qm5YLZ5t80I4MCIl5fQ9p0Q+PhM la7RpOq9a/9OFsm3AUeSVUeFOVZ+Ooos2xdVsXB0H3QQPzoH2DNo/R9D7N7PSmftqT6e yZAWN1A5Voo6KihAdm6IQAAtM8+7Ax1n2V0QouSoe9H2+NcR/rhs2EV54QSmFlQKVbT2 W3Ud6vrDmRMknRpiccGaiKqjui26HMmrtLjL8QmC3vX9HkzugXpEbadsNEonF+hAP3W9 ujuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=c0p0yEIzRim0dAJzv4cvo4xUxAql8N+5yPd28VmvQmM=; fh=phRQBk4awCEXNaGZigvNvRSF/C0ybXpN4PwbEBOxqAY=; b=Wm/v62qTdtG3YGgUjR/T1JnJY4zD0e2/isaK6hnEVxlIPg65dBltvxc02QnB++0fs5 A0owIM8MEhvUKws87kywUIqgVLuhO6t6pA3B9WsnbDNszXEhbc6dylI+qAdWgOh7sEhA zLiSAKmHuxXRbOObed9/qF1MQqO6Zbra6nwogRsJwPk2MhAa1F7DHc3q2NDzEsWq6m5h zjIyUe4GrznthM9l2/83OqPDS+58/GrxyRu3XMrzAOQoB6HQYjOCQxaNPxM5mgpWO3lz +45MxyvJG0ukZTAc9zJFCNrqeHoBoHJw7wwT77O8Kf0JnClXtkpx/SmeOcLbaKIXD1F3 y+jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=tA6hk6rt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kz7-20020a170902f9c700b001bb0fc56a1esi11254915plb.197.2023.08.02.14.34.34; Wed, 02 Aug 2023 14:34:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=tA6hk6rt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbjHBVMF (ORCPT + 99 others); Wed, 2 Aug 2023 17:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbjHBVME (ORCPT ); Wed, 2 Aug 2023 17:12:04 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A684273C for ; Wed, 2 Aug 2023 14:12:03 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-d27ac992539so217007276.3 for ; Wed, 02 Aug 2023 14:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691010722; x=1691615522; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=c0p0yEIzRim0dAJzv4cvo4xUxAql8N+5yPd28VmvQmM=; b=tA6hk6rt/sZ0gzS/QtHZmiDhiz/ozOMiZBbFHARXWovhe8S6odoIIL0oEBFsPnN+D3 0RRiFn+MpP1A2sjDbE5oFaSpZkTh5mNOJi+Gi2Ok5dAj4H1L/zCyOlPZE+KEy+0L/G37 YQhyqBPmUK2Gb//rBWUl1zPBgVGonoYS4ZtMK3jz/Es32zck6NsYH7iGTkd2d14k9zHi xHsAnQE2/liZXfqrQmilvfZL/UqfBKA5QS6xhSz0pEhZJMGUACzwDOWlhlpU5ip8ef0T F+s37InE/MwwI7JLCausTqlMtLD1eb9oKcRVNvTV4pojV1upGgPWNWMjRp+CeGY79e1L FoLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691010722; x=1691615522; h=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; bh=c0p0yEIzRim0dAJzv4cvo4xUxAql8N+5yPd28VmvQmM=; b=gZ6keplPAqeZtJHE7aky3Ttaco1rPXaRN8Iry+w+82QAy1w4r7lciB7e900wWG5oNM qNBUkNl+F1Msxir8fxkLst2e2i6458fUkOEd4CKIffhEgd5GP/mXFL6rJaVXNuBAY45J C74j25GfgDkWH0/0lhvAr2crZp2QLsM0CeY95g8D+1/ug2LrXaHst1MMQ9DSJPTW4qjl MpCzPN8bSd5UQaab/R5UWTd8Z9y8KEqnVDYPzCSZSvyjwQs0TDKEBhG08FMNt/KtYzXr tYoZ7ljJoFfpzyGN+j8quj72mELHCUqfgBYE1dOOCwHBXziULJzkbLe1jTWOmOJ7z1by PR4g== X-Gm-Message-State: ABy/qLbx6v4vaUXb4qECQI9+Gax0adyGOkonBMBTTon7BtOugOtIRWdk H5mYraoDfJqytrMs9Uwzz4zr55LQDAY= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:7341:0:b0:d0b:ca14:33fd with SMTP id o62-20020a257341000000b00d0bca1433fdmr118184ybc.8.1691010722283; Wed, 02 Aug 2023 14:12:02 -0700 (PDT) Date: Wed, 2 Aug 2023 14:11:49 -0700 In-Reply-To: <20230731022405.854884-1-maobibo@loongson.cn> Mime-Version: 1.0 References: <20230731022405.854884-1-maobibo@loongson.cn> X-Mailer: git-send-email 2.41.0.585.gd2178a4bd4-goog Message-ID: <169100955679.1738452.11040795142369096451.b4-ty@google.com> Subject: Re: [PATCH] KVM: selftests: use unified time type for comparison From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini , Bibo Mao Cc: Shuah Khan , kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 Jul 2023 10:24:05 +0800, Bibo Mao wrote: > With test case kvm_page_table_test, start time is acquired with > time type CLOCK_MONOTONIC_RAW, however end time in function timespec_elapsed > is acquired with time type CLOCK_MONOTONIC. This will cause > inaccurate elapsed time calculation on some platform such as LoongArch. > > This patch modified test case kvm_page_table_test, and uses unified > time type CLOCK_MONOTONIC for start time. > > [...] Applied to kvm-x86 selftests, thanks! [1/1] KVM: selftests: use unified time type for comparison https://github.com/kvm-x86/linux/commit/b859b018aadf -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes