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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A7525C433EF for ; Mon, 7 Feb 2022 15:29:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E8B0E10F388; Mon, 7 Feb 2022 15:29:06 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E7CF10F03F for ; Mon, 7 Feb 2022 15:29:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644247744; 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; bh=W36LhIFbJJU/oVfRxjivKQTm9cJFBMWWSlc/78Vk2ic=; b=h7U0vC1rYeADvjAOvBTpCSu7uxhRuzoPDFGuLKm3vsXYJpcT5q/nzyfd5SAGsHBwrfKnBm TRV2C8qbFAyTjT5UG8S+cD/cB6uuCF2JuaL3j2FqgtmWFuR2U6+/IXcXqelquUmgCs3dQK su3MwDQoykZ+vI2RizD0plzyVqRUFPI= 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-564-MQ6ea_uHPWWZfzU0oM7dOA-1; Mon, 07 Feb 2022 10:29:01 -0500 X-MC-Unique: MQ6ea_uHPWWZfzU0oM7dOA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2F439184B7E4; Mon, 7 Feb 2022 15:28:58 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.192.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id E475784D25; Mon, 7 Feb 2022 15:28:48 +0000 (UTC) From: Maxim Levitsky To: kvm@vger.kernel.org Date: Mon, 7 Feb 2022 17:28:17 +0200 Message-Id: <20220207152847.836777-1-mlevitsk@redhat.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Subject: [Intel-gfx] [PATCH 00/30] My patch queue X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dave Hansen , Wanpeng Li , David Airlie , "Chang S. Bae" , "maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT" , "open list:X86 ARCHITECTURE 32-BIT AND 64-BIT" , Maxim Levitsky , Tony Luck , "open list:DRM DRIVERS" , Brijesh Singh , Paolo Bonzini , Vitaly Kuznetsov , Jim Mattson , "open list:INTEL GVT-g DRIVERS Intel GPU Virtualization" , "open list:INTEL DRM DRIVERS excluding Poulsbo, Moorestow..., Joerg Roedel , Borislav Petkov , Daniel Vetter , \"H. Peter Anvin\" , Ingo Molnar , Sean Christopherson , Joonas Lahtinen , Pawan Gupta , Thomas Gleixner " , Kan Liang Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" This is set of various patches that are stuck in my patch queue.=0D =0D KVM_REQ_GET_NESTED_STATE_PAGES patch is mostly RFC, but it does seem=0D to work for me.=0D =0D Read-only APIC ID is also somewhat RFC.=0D =0D Some of these patches are preparation for support for nested AVIC=0D which I almost done developing, and will start testing very soon.=0D =0D Best regards,=0D Maxim Levitsky=0D =0D Maxim Levitsky (30):=0D KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT &&=0D !gCR0.PG case=0D KVM: x86: nSVM: fix potential NULL derefernce on nested migration=0D KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state=0D KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a=0D result of RSM=0D KVM: x86: nSVM: expose clean bit support to the guest=0D KVM: x86: mark syntethic SMM vmexit as SVM_EXIT_SW=0D KVM: x86: nSVM: deal with L1 hypervisor that intercepts interrupts but=0D lets L2 control them=0D KVM: x86: lapic: don't touch irr_pending in kvm_apic_update_apicv when=0D inhibiting it=0D KVM: x86: SVM: move avic definitions from AMD's spec to svm.h=0D KVM: x86: SVM: fix race between interrupt delivery and AVIC inhibition=0D KVM: x86: SVM: use vmcb01 in avic_init_vmcb=0D KVM: x86: SVM: allow AVIC to co-exist with a nested guest running=0D KVM: x86: lapic: don't allow to change APIC ID when apic acceleration=0D is enabled=0D KVM: x86: lapic: don't allow to change local apic id when using older=0D x2apic api=0D KVM: x86: SVM: remove avic's broken code that updated APIC ID=0D KVM: x86: SVM: allow to force AVIC to be enabled=0D KVM: x86: mmu: trace kvm_mmu_set_spte after the new SPTE was set=0D KVM: x86: mmu: add strict mmu mode=0D KVM: x86: mmu: add gfn_in_memslot helper=0D KVM: x86: mmu: allow to enable write tracking externally=0D x86: KVMGT: use kvm_page_track_write_tracking_enable=0D KVM: x86: nSVM: correctly virtualize LBR msrs when L2 is running=0D KVM: x86: nSVM: implement nested LBR virtualization=0D KVM: x86: nSVM: implement nested VMLOAD/VMSAVE=0D KVM: x86: nSVM: support PAUSE filter threshold and count when=0D cpu_pm=3Don=0D KVM: x86: nSVM: implement nested vGIF=0D KVM: x86: add force_intercept_exceptions_mask=0D KVM: SVM: implement force_intercept_exceptions_mask=0D KVM: VMX: implement force_intercept_exceptions_mask=0D KVM: x86: get rid of KVM_REQ_GET_NESTED_STATE_PAGES=0D =0D arch/x86/include/asm/kvm-x86-ops.h | 1 +=0D arch/x86/include/asm/kvm_host.h | 24 +-=0D arch/x86/include/asm/kvm_page_track.h | 1 +=0D arch/x86/include/asm/msr-index.h | 1 +=0D arch/x86/include/asm/svm.h | 36 +++=0D arch/x86/include/uapi/asm/kvm.h | 1 +=0D arch/x86/kvm/Kconfig | 3 -=0D arch/x86/kvm/hyperv.c | 4 +=0D arch/x86/kvm/lapic.c | 53 ++--=0D arch/x86/kvm/mmu.h | 8 +-=0D arch/x86/kvm/mmu/mmu.c | 31 ++-=0D arch/x86/kvm/mmu/page_track.c | 10 +-=0D arch/x86/kvm/svm/avic.c | 135 +++-------=0D arch/x86/kvm/svm/nested.c | 167 +++++++-----=0D arch/x86/kvm/svm/svm.c | 375 ++++++++++++++++++++++----=0D arch/x86/kvm/svm/svm.h | 60 +++--=0D arch/x86/kvm/svm/svm_onhyperv.c | 1 +=0D arch/x86/kvm/vmx/nested.c | 107 +++-----=0D arch/x86/kvm/vmx/vmcs.h | 6 +=0D arch/x86/kvm/vmx/vmx.c | 48 +++-=0D arch/x86/kvm/x86.c | 42 ++-=0D arch/x86/kvm/x86.h | 5 +=0D drivers/gpu/drm/i915/Kconfig | 1 -=0D drivers/gpu/drm/i915/gvt/kvmgt.c | 5 +=0D include/linux/kvm_host.h | 10 +-=0D 25 files changed, 764 insertions(+), 371 deletions(-)=0D =0D -- =0D 2.26.3=0D =0D