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.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 17A46C282DD for ; Sat, 20 Apr 2019 05:51:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E51AB2087F for ; Sat, 20 Apr 2019 05:51:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727273AbfDTFvB (ORCPT ); Sat, 20 Apr 2019 01:51:01 -0400 Received: from mga03.intel.com ([134.134.136.65]:59341 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbfDTFvB (ORCPT ); Sat, 20 Apr 2019 01:51:01 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Apr 2019 22:51:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,372,1549958400"; d="scan'208";a="317462179" Received: from sjchrist-coffee.jf.intel.com ([10.54.74.181]) by orsmga005.jf.intel.com with ESMTP; 19 Apr 2019 22:51:00 -0700 From: Sean Christopherson To: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Joerg Roedel Cc: kvm@vger.kernel.org, Jim Mattson Subject: [PATCH 0/5] KVM: VMX: INTR, NMI and #MC cleanup Date: Fri, 19 Apr 2019 22:50:54 -0700 Message-Id: <20190420055059.16816-1-sean.j.christopherson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This series' primarily focus is to refine VMX's handling of INTRs, NMIs and #MCs after a VM-Exit, making a few small optimizations and hopefully resulting in more readable code. There's also a bug fix related to handling #MCs that occur during VM-Entry that was found by inspection when doing the aforementioned cleanup. Sean Christopherson (5): KVM: VMX: Fix handling of #MC that occurs during VM-Entry KVM: VMX: Read cached VM-Exit reason to detect external interrupt KVM: VMX: Store the host kernel's IDT base in a global variable KVM: x86: Move kvm_{before,after}_interrupt() calls to vendor code KVM: VMX: Handle NMIs, #MCs and async #PFs in common irqs-disabled fn arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/svm.c | 6 +- arch/x86/kvm/vmx/vmcs.h | 6 ++ arch/x86/kvm/vmx/vmx.c | 111 +++++++++++++++++--------------- arch/x86/kvm/vmx/vmx.h | 1 - arch/x86/kvm/x86.c | 4 +- 6 files changed, 71 insertions(+), 59 deletions(-) -- 2.21.0