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=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 6E8B7C43461 for ; Thu, 1 Apr 2021 17:58:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 402FE60FF3 for ; Thu, 1 Apr 2021 17:58:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236847AbhDAR6v (ORCPT ); Thu, 1 Apr 2021 13:58:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:30476 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234911AbhDARlR (ORCPT ); Thu, 1 Apr 2021 13:41:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617298876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vPQ/nf2q8LAkQ8OcVv2K8+oWAe1O0DGRxava7ECuAkg=; b=fKjyL/mQYGT6FOrLp9bmGBK+1k2MjmUvAWdi8sRjj65GMaCs6Yz9bh5ghX4avItdZ8j2F0 7Kp/mr8j6enRgmvh3TznNcoUBmuQK2+l08GLDU5bHyjVE173TVF5p9fl1sL0lArr2xitlV K98XG5jD+oOSPoNYv0o5v/O8pjLIbx4= 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-227-WkrSyo2-PJ2wmI7lp45zfw-1; Thu, 01 Apr 2021 10:39:29 -0400 X-MC-Unique: WkrSyo2-PJ2wmI7lp45zfw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 27CA783DEA6; Thu, 1 Apr 2021 14:38:22 +0000 (UTC) Received: from localhost.localdomain (unknown [10.35.206.58]) by smtp.corp.redhat.com (Postfix) with ESMTP id 351CD5D9CA; Thu, 1 Apr 2021 14:38:18 +0000 (UTC) From: Maxim Levitsky To: kvm@vger.kernel.org Cc: Thomas Gleixner , Wanpeng Li , Borislav Petkov , Paolo Bonzini , Jim Mattson , linux-kernel@vger.kernel.org (open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)), Vitaly Kuznetsov , "H. Peter Anvin" , Joerg Roedel , Ingo Molnar , x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)), Sean Christopherson , Maxim Levitsky Subject: [PATCH 0/4] KVM: nSVM/nVMX: fix nested virtualization treatment of nested exceptions Date: Thu, 1 Apr 2021 17:38:13 +0300 Message-Id: <20210401143817.1030695-1-mlevitsk@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org clone of "kernel-starship-5.12.unstable"=0D =0D Maxim Levitsky (4):=0D KVM: x86: pending exceptions must not be blocked by an injected event=0D KVM: x86: separate pending and injected exception=0D KVM: x86: correctly merge pending and injected exception=0D KVM: x86: remove tweaking of inject_page_fault=0D =0D arch/x86/include/asm/kvm_host.h | 34 +++-=0D arch/x86/kvm/svm/nested.c | 65 +++----=0D arch/x86/kvm/svm/svm.c | 8 +-=0D arch/x86/kvm/vmx/nested.c | 107 +++++------=0D arch/x86/kvm/vmx/vmx.c | 14 +-=0D arch/x86/kvm/x86.c | 302 ++++++++++++++++++--------------=0D arch/x86/kvm/x86.h | 6 +-=0D 7 files changed, 283 insertions(+), 253 deletions(-)=0D =0D -- =0D 2.26.2=0D =0D