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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40F8EC433F5 for ; Tue, 16 Nov 2021 21:39:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D3C361357 for ; Tue, 16 Nov 2021 21:39:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbhKPVmA (ORCPT ); Tue, 16 Nov 2021 16:42:00 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:58629 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbhKPVmA (ORCPT ); Tue, 16 Nov 2021 16:42:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637098742; 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=iTjW19qZdyUqpVYPyw3O2e3LOsDvSyyIGNuakp97I8M=; b=QkpMX5u/zzzaZYMn03sRnYosFN75E1hLNcuo/R1zwN9s8OUZNIRIqx6wb3mxE48xnhgzcb BMTSlQ+uGk7UImuBHeUAijqVJdUcR7zIFAE7/gythO/+gIG8Iu3mRo/ZvDmYjz+3ylh3i2 ORnDg23D09B/E5i90Yd6tPv1sohtH8M= 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-468-VIIy0NdwMbur5PwILq9BcQ-1; Tue, 16 Nov 2021 16:38:59 -0500 X-MC-Unique: VIIy0NdwMbur5PwILq9BcQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6258C15721; Tue, 16 Nov 2021 21:38:57 +0000 (UTC) Received: from starship (unknown [10.40.194.243]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1762760BF1; Tue, 16 Nov 2021 21:38:48 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2 0/6] nSVM optional features From: Maxim Levitsky To: kvm@vger.kernel.org Cc: Shuah Khan , "open list:KERNEL SELFTEST FRAMEWORK" , Borislav Petkov , Paolo Bonzini , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Joerg Roedel , "H. Peter Anvin" , Thomas Gleixner , Vitaly Kuznetsov , Bandan Das , Wanpeng Li , Jim Mattson , Sean Christopherson , Wei Huang , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Ingo Molnar Date: Tue, 16 Nov 2021 23:38:47 +0200 In-Reply-To: <20211101140324.197921-1-mlevitsk@redhat.com> References: <20211101140324.197921-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.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Mon, 2021-11-01 at 16:03 +0200, Maxim Levitsky wrote: > This is a resend of a few patches that implement few > SVM's optional features for nesting. > > I was testing these patches during last few weeks with various nested configurations > and I was unable to find any issues. > > I also implemented support for nested vGIF in the last patch. > > Best regards, > Maxim Levitsky > > Maxim Levitsky (6): > KVM: x86: SVM: add module param to control LBR virtualization > KVM: x86: nSVM: correctly virtualize LBR msrs when L2 is running > KVM: x86: nSVM: implement nested LBR virtualization > KVM: x86: nSVM: implement nested VMLOAD/VMSAVE > KVM: x86: nSVM: support PAUSE filter threshold and count when > cpu_pm=on > KVM: x86: SVM: implement nested vGIF > > arch/x86/kvm/svm/nested.c | 86 ++++++++++++++++++++--- > arch/x86/kvm/svm/svm.c | 140 ++++++++++++++++++++++++++++++++------ > arch/x86/kvm/svm/svm.h | 38 +++++++++-- > 3 files changed, 228 insertions(+), 36 deletions(-) > > -- > 2.26.3 > > Kind ping on these patches. Best regards, Maxim Levitsky