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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 E0484C433EF for ; Tue, 7 Sep 2021 06:50:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BC24E61100 for ; Tue, 7 Sep 2021 06:50:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234595AbhIGGvo (ORCPT ); Tue, 7 Sep 2021 02:51:44 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:35952 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231429AbhIGGvn (ORCPT ); Tue, 7 Sep 2021 02:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630997437; 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=cTDhhUvvDbJ7NpxaaVzsPO+lW+QLm0QYSBqXZYb5YbI=; b=KOO7mXzuf5ZsB4eHV+O6MiQM9oWvhG/9/SadDm2MWQUBoFrRUychmcqpT1Jaopg6+uAi6k KbtY0UsWh09CDfxmJFRPiQIpsck+A/eakYvYeWSCvV+xobadtYBGnHA8xcsZWMP0M2akIB hxe/vxoa2ARe/cUtnvCQ1I4KQ3c4WCQ= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-477-qotxHs8KPGGjS9VCU1fWtQ-1; Tue, 07 Sep 2021 02:50:36 -0400 X-MC-Unique: qotxHs8KPGGjS9VCU1fWtQ-1 Received: by mail-wm1-f69.google.com with SMTP id v2-20020a7bcb420000b02902e6b108fcf1so745932wmj.8 for ; Mon, 06 Sep 2021 23:50:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cTDhhUvvDbJ7NpxaaVzsPO+lW+QLm0QYSBqXZYb5YbI=; b=IUmQj3mJGxf9H9X+PAAXlpKx+hGrcRGcyuOtylqOvVjHbAUKlnzPe7QFeAxudQuaTA p2f8LVXBCUH6hdu3nfL5rTdNmAM0nNFuRsq7lAYrqKA9D8OYJYV5nbNqzHHDetLvQBZz 0f3ICaED0+ZYXejmZ0iBMuHhQ0yEPsNbK3EX8b0RMqVfjTLaO6Lmc9LK0O1lV/a2JjSL yNb/lcFPEGcIUAD0PVSqr2DkXkEohV6QJtqOPyeC29YnXr6yuM6C+/FHfyl4Pl7+zQEJ RDtn+ByVIJXRMI0893DA357uNyQr9lxvIxnpFffIdRN3fniYrbSs7kJ2/4ETnzq8ffFs J5pw== X-Gm-Message-State: AOAM531dQvN6cVZfk5qsYssIGkgg4bu6j66mRZezLCq5JJwE2dLeZaiL K59d3FnL+NF44a/I2nOqEEOG0UvlWvei24EOuJUH95A4vx6mSvXg4XNCLWJwHgqNgQ+LY2JwmR8 WV5zwoAWMxhAm+0XDjb4P4+uTQbVjCn2FXEhARv8ZrHNF/wHQehF+A5Y6GHnrjfTpFVBOMCX2T8 vL X-Received: by 2002:a5d:58e9:: with SMTP id f9mr16550034wrd.154.1630997434667; Mon, 06 Sep 2021 23:50:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCETlFGE/fGAH7ycrp8pZpq7ggabDZaenWfDkmVgVwD7eIIKSMb+i7CdtVIc62tH5jU7/A9Q== X-Received: by 2002:a5d:58e9:: with SMTP id f9mr16550007wrd.154.1630997434458; Mon, 06 Sep 2021 23:50:34 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id j4sm9760221wrt.23.2021.09.06.23.50.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Sep 2021 23:50:33 -0700 (PDT) Subject: Re: [PATCH 1/2] KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation To: Maxim Levitsky , Sean Christopherson Cc: kvm@vger.kernel.org, Thomas Gleixner , Wanpeng Li , Joerg Roedel , "H. Peter Anvin" , Jim Mattson , Ingo Molnar , Vitaly Kuznetsov , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Borislav Petkov , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" References: <20210826095750.1650467-1-mlevitsk@redhat.com> <20210826095750.1650467-2-mlevitsk@redhat.com> From: Paolo Bonzini Message-ID: Date: Tue, 7 Sep 2021 08:50:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/09/21 23:07, Maxim Levitsky wrote: > Note that I posted V2 of this patch series ([PATCH v2 0/6] KVM: few more SMM fixes) > > There I addressed the review feedback from this patch series, > and for this particular case, I synthesized invalid VM exit as was suggested. Yes, that's intended. I will revert this version in 5.16. Paolo