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=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 D4347C433E1 for ; Sat, 11 Jul 2020 10:20:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B496820725 for ; Sat, 11 Jul 2020 10:20:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VnsDr1hp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727924AbgGKKUe (ORCPT ); Sat, 11 Jul 2020 06:20:34 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:37577 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727863AbgGKKUe (ORCPT ); Sat, 11 Jul 2020 06:20:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594462831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2BTppUzQT8iaK/vwGBFLxjGeXS/GcirhTicRmFvkn6Y=; b=VnsDr1hpIzc+HYfnkjaRFzmtwCgfS5wdb1xLVmsEzLr6VhdQusS8afDB/PSQdaTJ2tSrp0 tXrZ7Ydi2Otx6mgNeQ2K8SGDBgVO7q66HyOKuX042I9Znd8WIA+uS6yf+E5uJQfr7ik8Zo wi5UNnaE+JpiGqIXyyiIAhGH+xS/SHs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-427-25fX6eXdMAea-hm4EM_Zqw-1; Sat, 11 Jul 2020 06:20:28 -0400 X-MC-Unique: 25fX6eXdMAea-hm4EM_Zqw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E31C2102C7EC; Sat, 11 Jul 2020 10:20:26 +0000 (UTC) Received: from kamzik.brq.redhat.com (unknown [10.40.192.42]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 28862724BB; Sat, 11 Jul 2020 10:20:24 +0000 (UTC) Date: Sat, 11 Jul 2020 12:20:22 +0200 From: Andrew Jones To: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu Cc: pbonzini@redhat.com, maz@kernel.org, steven.price@arm.com Subject: Re: [PATCH 0/5] KVM: arm64: pvtime: Fixes and a new cap Message-ID: <20200711102022.rj2ks75k524gxuzl@kamzik.brq.redhat.com> References: <20200711100434.46660-1-drjones@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200711100434.46660-1-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Sat, Jul 11, 2020 at 12:04:29PM +0200, Andrew Jones wrote: > The first three patches in the series are fixes that come from testing > and reviewing pvtime code while writing the QEMU support (I'll reply > to this mail with a link to the QEMU patches after posting - which I'll > do shortly). The last patch is only a convenience for userspace, and I > wouldn't be heartbroken if it wasn't deemed worth it. The QEMU patches > I'll be posting are currently written without the cap. However, if the > cap is accepted, then I'll change the QEMU code to use it. And the promised link to the QEMU patches https://lists.gnu.org/archive/html/qemu-devel/2020-07/msg03856.html Thanks, drew > > Thanks, > drew > > Andrew Jones (5): > KVM: arm64: pvtime: steal-time is only supported when configured > KVM: arm64: pvtime: Fix potential loss of stolen time > KVM: arm64: pvtime: Fix stolen time accounting across migration > KVM: Documentation minor fixups > arm64/x86: KVM: Introduce steal-time cap > > Documentation/virt/kvm/api.rst | 20 ++++++++++++++++---- > arch/arm64/include/asm/kvm_host.h | 2 +- > arch/arm64/kvm/arm.c | 3 +++ > arch/arm64/kvm/pvtime.c | 31 +++++++++++++++---------------- > arch/x86/kvm/x86.c | 3 +++ > include/linux/kvm_host.h | 19 +++++++++++++++++++ > include/uapi/linux/kvm.h | 1 + > 7 files changed, 58 insertions(+), 21 deletions(-) > > -- > 2.25.4 >