From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 486AFC433EF for ; Thu, 2 Sep 2021 19:45:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E4F56108B for ; Thu, 2 Sep 2021 19:45:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231670AbhIBTqR (ORCPT ); Thu, 2 Sep 2021 15:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230462AbhIBTqQ (ORCPT ); Thu, 2 Sep 2021 15:46:16 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E154C061575 for ; Thu, 2 Sep 2021 12:45:17 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id l10so6789338lfg.4 for ; Thu, 02 Sep 2021 12:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hc2gcVksXzTr1IYZOTogrbXgKL8dWeh0/s29AyPzQmQ=; b=nGK4NeA6yxLc1weyQpFYZMrqUi3ivy+2UO+yNScnEseijwiIq21vEMLnYigeNN2xqm Yi6Qc1ylsTv2t0Iuok58JzuIduweJpCeJ1pmjZvwXXCKwnNoUWaG/dkE1v0p+ZLG3Mfp e1baudwOsKlH/fDwgBAxp8lf9bh/JLcEa+uruQgVKVdY99FIiVYvNBH4rqYDZtFR82al JY38xlhEi0kshEEl7eBwj3LgbiqJBijkOpZh9ODqFwQVPDHpDsnX+AeNlaVsFgqUYTap ypGZlUzgHzB52a8WMmkq6tkBQpthITzwz5WNifkBD0MTR7pdWkk4JU+w1ROT5lyTkSgK Yzew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hc2gcVksXzTr1IYZOTogrbXgKL8dWeh0/s29AyPzQmQ=; b=XXTBYQzuTf0Q8jt3P2zPaTZvP9q32INu1xckIHS6JDixTAvemiGGWMhb6t8k6M9w7C WjEjCNHb4Y2GoFkQDXUY5q4IZdFwBQ0yligPcwp3N0x8GMFYj1BXra0HVOgg+WMb+eLJ OVIVrraAiDvOk7wqP8i+4L9Oe0puU6Tq8HYh+yKju0hCYBKbeZZ+Royv7JIJGchpdxl8 aK43uv4J/udDUX1wKflXc2WmD4DEFIh95uW8WFpyTxLQokzNx/niO5/bu/QZkzVvmoo5 WThPhjw37YCySCYVkQ480dH6+XWKyCvpz4XrmMaondjH+NpcG7KkCvV/fIqGeJ7mRcpd nL/A== X-Gm-Message-State: AOAM533rSLiOaYipRAC7B+0NMDBYfRVtD9vrszm0sEjgAT7fzjkxteiq Y5pnoMunWZMCLhzMrRhWyFHBJowhmYFh92cE2HozkA== X-Google-Smtp-Source: ABdhPJxs82rjOaFEEVNEFjggRcMRuAgzhuR+/VhLAeGrIKZ+wPbbkII2xn5iYSx51JVsk55zn+AngBAngaE4OnGx1lU= X-Received: by 2002:a05:6512:1107:: with SMTP id l7mr3883353lfg.80.1630611915246; Thu, 02 Sep 2021 12:45:15 -0700 (PDT) MIME-Version: 1.0 References: <20210816001130.3059564-1-oupton@google.com> In-Reply-To: From: Oliver Upton Date: Thu, 2 Sep 2021 12:45:02 -0700 Message-ID: Subject: Re: [PATCH v7 0/6] KVM: x86: Add idempotent controls for migrating system counter state To: Sean Christopherson Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Paolo Bonzini , Marc Zyngier , Peter Shier , Jim Mattson , David Matlack , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, Andrew Jones , Will Deacon , Catalin Marinas Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, Sep 2, 2021 at 12:23 PM Sean Christopherson wrote: > > On Mon, Aug 16, 2021, Oliver Upton wrote: > > Applies cleanly to kvm/queue. > > > > Parent commit: a3e0b8bd99ab ("KVM: MMU: change tracepoints arguments to kvm_page_fault") > > This needs a rebase, patch 2 and presumably patch 3 conflict with commit > 77fcbe823f00 ("KVM: x86: Prevent 'hv_clock->system_time' from going negative in > kvm_guest_time_update()"). Thanks for the heads up! I've been hands-off with this series for a bit, as I saw Paolo was playing around with it to fold it with his pvclock locking changes (branch kvm/paolo). I'll pick up your suggestions and get another series out with Paolo's additions. -- Thanks, Oliver > > v6: https://lore.kernel.org/r/20210804085819.846610-1-oupton@google.com > > > > v6 -> v7: > > - Separated x86, arm64, and selftests into different series > > - Rebased on top of kvm/queue > > > > Oliver Upton (6): > > KVM: x86: Fix potential race in KVM_GET_CLOCK > > KVM: x86: Create helper methods for KVM_{GET,SET}_CLOCK ioctls > > KVM: x86: Report host tsc and realtime values in KVM_GET_CLOCK > > KVM: x86: Take the pvclock sync lock behind the tsc_write_lock > > KVM: x86: Refactor tsc synchronization code > > KVM: x86: Expose TSC offset controls to userspace > > > > Documentation/virt/kvm/api.rst | 42 ++- > > Documentation/virt/kvm/devices/vcpu.rst | 57 ++++ > > Documentation/virt/kvm/locking.rst | 11 + > > arch/x86/include/asm/kvm_host.h | 4 + > > arch/x86/include/uapi/asm/kvm.h | 4 + > > arch/x86/kvm/x86.c | 362 +++++++++++++++++------- > > include/uapi/linux/kvm.h | 7 +- > > 7 files changed, 378 insertions(+), 109 deletions(-) > > > > -- > > 2.33.0.rc1.237.g0d66db33f3-goog > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DDACC433F5 for ; Thu, 2 Sep 2021 19:45:21 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 9CEA660FD7 for ; Thu, 2 Sep 2021 19:45:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9CEA660FD7 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 1D69B4B0A0; Thu, 2 Sep 2021 15:45:20 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@google.com Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sSkgHTzNOdoo; Thu, 2 Sep 2021 15:45:19 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 217B14B0A3; Thu, 2 Sep 2021 15:45:19 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 58D2B4B0A3 for ; Thu, 2 Sep 2021 15:45:18 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qdJcm+gIH1Ux for ; Thu, 2 Sep 2021 15:45:17 -0400 (EDT) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 0453E4B0A0 for ; Thu, 2 Sep 2021 15:45:16 -0400 (EDT) Received: by mail-lf1-f54.google.com with SMTP id k13so6806263lfv.2 for ; Thu, 02 Sep 2021 12:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hc2gcVksXzTr1IYZOTogrbXgKL8dWeh0/s29AyPzQmQ=; b=nGK4NeA6yxLc1weyQpFYZMrqUi3ivy+2UO+yNScnEseijwiIq21vEMLnYigeNN2xqm Yi6Qc1ylsTv2t0Iuok58JzuIduweJpCeJ1pmjZvwXXCKwnNoUWaG/dkE1v0p+ZLG3Mfp e1baudwOsKlH/fDwgBAxp8lf9bh/JLcEa+uruQgVKVdY99FIiVYvNBH4rqYDZtFR82al JY38xlhEi0kshEEl7eBwj3LgbiqJBijkOpZh9ODqFwQVPDHpDsnX+AeNlaVsFgqUYTap ypGZlUzgHzB52a8WMmkq6tkBQpthITzwz5WNifkBD0MTR7pdWkk4JU+w1ROT5lyTkSgK Yzew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hc2gcVksXzTr1IYZOTogrbXgKL8dWeh0/s29AyPzQmQ=; b=jJMuWKVLK8eNelZ/oLY/NbZBfixPU5XN2zk+FEbojPLw8cWk+38ufcJ0O74Vzqc5T9 f/nQXFAfB3zCYDisxBsSSlGirMv+uBu/tMvyvocjK6ZSXvGChHmbpAeLoZn4EJBWPS1w W+jC1kHFWSPOMW43xio/+VXrWRmaU1SSrQBXpB0qgqGf2RDt7ybN3zUDm19ixtfej/1w SqsTufAkBi3xFfhBIJdEyzX1VBvPSAumyrAxW60OlXOWMtkjbSrnEwxjEddkpzHKaS/u OLoCF4tZwkhhcnxsrOOyqUf7QJ3jAR8pGEJe3SEvlVuIYFhLEBEXpxFvkzU5eM8Gp60S 3Png== X-Gm-Message-State: AOAM531Kf6TzkZj0jm6XX6G0f1lia7Gr+Z6YNNQEIbOR/Y0976Xg6V15 WH0F6CT1XO0FSf25ePiRGtedg7GyKDoP/L6qOHJP3Q== X-Google-Smtp-Source: ABdhPJxs82rjOaFEEVNEFjggRcMRuAgzhuR+/VhLAeGrIKZ+wPbbkII2xn5iYSx51JVsk55zn+AngBAngaE4OnGx1lU= X-Received: by 2002:a05:6512:1107:: with SMTP id l7mr3883353lfg.80.1630611915246; Thu, 02 Sep 2021 12:45:15 -0700 (PDT) MIME-Version: 1.0 References: <20210816001130.3059564-1-oupton@google.com> In-Reply-To: From: Oliver Upton Date: Thu, 2 Sep 2021 12:45:02 -0700 Message-ID: Subject: Re: [PATCH v7 0/6] KVM: x86: Add idempotent controls for migrating system counter state To: Sean Christopherson Cc: Catalin Marinas , kvm@vger.kernel.org, Will Deacon , Marc Zyngier , Peter Shier , David Matlack , Paolo Bonzini , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Jim Mattson X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Thu, Sep 2, 2021 at 12:23 PM Sean Christopherson wrote: > > On Mon, Aug 16, 2021, Oliver Upton wrote: > > Applies cleanly to kvm/queue. > > > > Parent commit: a3e0b8bd99ab ("KVM: MMU: change tracepoints arguments to kvm_page_fault") > > This needs a rebase, patch 2 and presumably patch 3 conflict with commit > 77fcbe823f00 ("KVM: x86: Prevent 'hv_clock->system_time' from going negative in > kvm_guest_time_update()"). Thanks for the heads up! I've been hands-off with this series for a bit, as I saw Paolo was playing around with it to fold it with his pvclock locking changes (branch kvm/paolo). I'll pick up your suggestions and get another series out with Paolo's additions. -- Thanks, Oliver > > v6: https://lore.kernel.org/r/20210804085819.846610-1-oupton@google.com > > > > v6 -> v7: > > - Separated x86, arm64, and selftests into different series > > - Rebased on top of kvm/queue > > > > Oliver Upton (6): > > KVM: x86: Fix potential race in KVM_GET_CLOCK > > KVM: x86: Create helper methods for KVM_{GET,SET}_CLOCK ioctls > > KVM: x86: Report host tsc and realtime values in KVM_GET_CLOCK > > KVM: x86: Take the pvclock sync lock behind the tsc_write_lock > > KVM: x86: Refactor tsc synchronization code > > KVM: x86: Expose TSC offset controls to userspace > > > > Documentation/virt/kvm/api.rst | 42 ++- > > Documentation/virt/kvm/devices/vcpu.rst | 57 ++++ > > Documentation/virt/kvm/locking.rst | 11 + > > arch/x86/include/asm/kvm_host.h | 4 + > > arch/x86/include/uapi/asm/kvm.h | 4 + > > arch/x86/kvm/x86.c | 362 +++++++++++++++++------- > > include/uapi/linux/kvm.h | 7 +- > > 7 files changed, 378 insertions(+), 109 deletions(-) > > > > -- > > 2.33.0.rc1.237.g0d66db33f3-goog > > _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21A62C433EF for ; Thu, 2 Sep 2021 19:47:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7BBF60FDC for ; Thu, 2 Sep 2021 19:47:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D7BBF60FDC Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OP60tbPtRcUWNDpstvNlFhQoJRIpHu49CdTt3dCKnhw=; b=PK4PQivYE4UBSx mCtc/Bfi41nsjZluLq24NO9Cl/Zu7Kw7m02d2AHHb00+XjN1/YzuKtxp8yLFz4jyk2izTp78M+Qhe ll9VykIr41py8YhkgR01BiLCz9/yNgPQZFZWwg7AS8ImZoQBdvRCoN6sV7/ei1FpyFxANwUO+N307 tHS1PQOaOkFzK4XW8nwCl1jI2Z+znKmdkvUKFxqlzAPxzVfb4snKw24lW2lvtYLjUM5z85nhwVi8I HBO4UG/p6nJDEiGGyMMSqW2kwpa+MJH5TzgUU89xdzQmSRnMTAFh52HuGxGRTUYT3eY2a/ZyVxzUU z7FWLpILFMLRCi3cjl3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLseH-00AObJ-Lq; Thu, 02 Sep 2021 19:45:21 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLseD-00AOae-Kx for linux-arm-kernel@lists.infradead.org; Thu, 02 Sep 2021 19:45:19 +0000 Received: by mail-lf1-x132.google.com with SMTP id c8so6793986lfi.3 for ; Thu, 02 Sep 2021 12:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hc2gcVksXzTr1IYZOTogrbXgKL8dWeh0/s29AyPzQmQ=; b=nGK4NeA6yxLc1weyQpFYZMrqUi3ivy+2UO+yNScnEseijwiIq21vEMLnYigeNN2xqm Yi6Qc1ylsTv2t0Iuok58JzuIduweJpCeJ1pmjZvwXXCKwnNoUWaG/dkE1v0p+ZLG3Mfp e1baudwOsKlH/fDwgBAxp8lf9bh/JLcEa+uruQgVKVdY99FIiVYvNBH4rqYDZtFR82al JY38xlhEi0kshEEl7eBwj3LgbiqJBijkOpZh9ODqFwQVPDHpDsnX+AeNlaVsFgqUYTap ypGZlUzgHzB52a8WMmkq6tkBQpthITzwz5WNifkBD0MTR7pdWkk4JU+w1ROT5lyTkSgK Yzew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hc2gcVksXzTr1IYZOTogrbXgKL8dWeh0/s29AyPzQmQ=; b=jvdhl200kjAioO9NvghREs0DuJH47fz5g0/iqzyhHANu+Jn/czyC6n0IrbZQOI07qS fYkvO+Lp9FqhLY6DhPa17MBIrXhMO4RCRigV5w457rwxneDXPNkMSxLFtpP5hJR29Z1S +oTGszA4UAavCRifl+kPMNp9P3VjagMkWCXyZ4I9n5joTI172IpGZuanjG344erH3Xg/ zA7Cb63VBefxfLV0JZnKzWjvNadkxZSIFStJlUb1ikQbGTQ3be8o3qVEApltXAXPyozt iT6t9FNK6kNS9CgvJ3/+/QMg1UCgkMFooOzX6ex9PwzkZT+zTueVgHelAPqKZtFQlL46 gF+Q== X-Gm-Message-State: AOAM532nr8hnh9yXTVVp4O8LZH4qswBLFnuqyWmehRdxz4HEjm+FbYIc DCc/J+qUfPvXje6B9vFrS0gTwjZxKmCHT5Oj7jGiaQ== X-Google-Smtp-Source: ABdhPJxs82rjOaFEEVNEFjggRcMRuAgzhuR+/VhLAeGrIKZ+wPbbkII2xn5iYSx51JVsk55zn+AngBAngaE4OnGx1lU= X-Received: by 2002:a05:6512:1107:: with SMTP id l7mr3883353lfg.80.1630611915246; Thu, 02 Sep 2021 12:45:15 -0700 (PDT) MIME-Version: 1.0 References: <20210816001130.3059564-1-oupton@google.com> In-Reply-To: From: Oliver Upton Date: Thu, 2 Sep 2021 12:45:02 -0700 Message-ID: Subject: Re: [PATCH v7 0/6] KVM: x86: Add idempotent controls for migrating system counter state To: Sean Christopherson Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Paolo Bonzini , Marc Zyngier , Peter Shier , Jim Mattson , David Matlack , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, Andrew Jones , Will Deacon , Catalin Marinas X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210902_124517_751848_4941D38C X-CRM114-Status: GOOD ( 16.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 2, 2021 at 12:23 PM Sean Christopherson wrote: > > On Mon, Aug 16, 2021, Oliver Upton wrote: > > Applies cleanly to kvm/queue. > > > > Parent commit: a3e0b8bd99ab ("KVM: MMU: change tracepoints arguments to kvm_page_fault") > > This needs a rebase, patch 2 and presumably patch 3 conflict with commit > 77fcbe823f00 ("KVM: x86: Prevent 'hv_clock->system_time' from going negative in > kvm_guest_time_update()"). Thanks for the heads up! I've been hands-off with this series for a bit, as I saw Paolo was playing around with it to fold it with his pvclock locking changes (branch kvm/paolo). I'll pick up your suggestions and get another series out with Paolo's additions. -- Thanks, Oliver > > v6: https://lore.kernel.org/r/20210804085819.846610-1-oupton@google.com > > > > v6 -> v7: > > - Separated x86, arm64, and selftests into different series > > - Rebased on top of kvm/queue > > > > Oliver Upton (6): > > KVM: x86: Fix potential race in KVM_GET_CLOCK > > KVM: x86: Create helper methods for KVM_{GET,SET}_CLOCK ioctls > > KVM: x86: Report host tsc and realtime values in KVM_GET_CLOCK > > KVM: x86: Take the pvclock sync lock behind the tsc_write_lock > > KVM: x86: Refactor tsc synchronization code > > KVM: x86: Expose TSC offset controls to userspace > > > > Documentation/virt/kvm/api.rst | 42 ++- > > Documentation/virt/kvm/devices/vcpu.rst | 57 ++++ > > Documentation/virt/kvm/locking.rst | 11 + > > arch/x86/include/asm/kvm_host.h | 4 + > > arch/x86/include/uapi/asm/kvm.h | 4 + > > arch/x86/kvm/x86.c | 362 +++++++++++++++++------- > > include/uapi/linux/kvm.h | 7 +- > > 7 files changed, 378 insertions(+), 109 deletions(-) > > > > -- > > 2.33.0.rc1.237.g0d66db33f3-goog > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel