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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F32CC433EF for ; Tue, 8 Feb 2022 13:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344053AbiBHNT6 (ORCPT ); Tue, 8 Feb 2022 08:19:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359509AbiBHMpj (ORCPT ); Tue, 8 Feb 2022 07:45:39 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 37057C03FECA for ; Tue, 8 Feb 2022 04:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644324336; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SmULaSJ9/41bYKgiVa0NC3LLzANiIdl0eYGwm0duLms=; b=iuh7wT/WqjoNadZ0GDivK9P4qPb/T9n8bWlxPQt5ZYRKMIDUB4GRyx4ZTENTIGajYSxDDX 5jsqg6K+FZem2SqHKAI1NQMizWgk/X2W4wjodEQoorzZZ93aUxKwfwfz1zbeY3N+wht7bN d+ZXzW2DkEINjFD8P36EKUC2SuDRtiI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-186-p85c9BeWM2GIiz6pCOO-4g-1; Tue, 08 Feb 2022 07:45:35 -0500 X-MC-Unique: p85c9BeWM2GIiz6pCOO-4g-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B52571054F90; Tue, 8 Feb 2022 12:45:31 +0000 (UTC) Received: from starship (unknown [10.40.192.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5FE5F1059A4E; Tue, 8 Feb 2022 12:45:20 +0000 (UTC) Message-ID: Subject: Re: [PATCH RESEND 00/30] My patch queue From: Maxim Levitsky To: Paolo Bonzini , kvm@vger.kernel.org Cc: Tony Luck , "Chang S. Bae" , Thomas Gleixner , Wanpeng Li , Ingo Molnar , Vitaly Kuznetsov , Pawan Gupta , Dave Hansen , linux-kernel@vger.kernel.org, Rodrigo Vivi , "H. Peter Anvin" , intel-gvt-dev@lists.freedesktop.org, Joonas Lahtinen , Joerg Roedel , Sean Christopherson , David Airlie , Zhi Wang , Brijesh Singh , Jim Mattson , x86@kernel.org, Daniel Vetter , Borislav Petkov , Zhenyu Wang , Kan Liang , Jani Nikula Date: Tue, 08 Feb 2022 14:45:19 +0200 In-Reply-To: References: <20220207155447.840194-1-mlevitsk@redhat.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2022-02-08 at 13:02 +0100, Paolo Bonzini wrote: > On 2/7/22 16:54, Maxim Levitsky wrote: > > This is set of various patches that are stuck in my patch queue. > > > > KVM_REQ_GET_NESTED_STATE_PAGES patch is mostly RFC, but it does seem > > to work for me. > > > > Read-only APIC ID is also somewhat RFC. > > > > Some of these patches are preparation for support for nested AVIC > > which I almost done developing, and will start testing very soon. > > > > Resend with cleaned up CCs. > > 1-9 are all bugfixes and pretty small, so I queued them. > > 10 is also a bugfix but I think it should be split up further, so I'll > resend it. > > For 11-30 I'll start reviewing them, but most of them are independent > series. Thank you very much! I must again say sorry that I posted the whole thing as a one patch series, next time I'll post each series separately, and I also try to post the patches as soon as I write them. I didn't post them because I felt that the whole thing needs good testing and I only recently gotten to somewhat automate my nested migration tests which I usually use to test this kind of work. Best regards, Maxim Levitsky PS: the strict_mmu option does have quite an effect on nested migration with npt=0/ept=0. In my testing such migration crashes with pagefault in L2 kernel after around 50-100 iterations, while with this options, on survived ~1000 iterations and around the same on intel, and on both machines L1 eventually crashed with a page fault instead. Could be that it just throws timing off, or maybe we still do have some form of bug in shadow paging after all, maybe even 2 bugs. Hmmm.... I automated these tests so I can run them for days until I have more confidence in what is going on. Best regards, Maxim Levitsky > > Paolo >