Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2357245rwb; Fri, 9 Dec 2022 00:44:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf7g0fX1he7QwGoQixtGDITMADwqGQawB+nhxoWeH86iDoaziXMx7wOnhEuyiQLyDpG1X3dH X-Received: by 2002:a05:6402:5290:b0:45c:834b:eb4a with SMTP id en16-20020a056402529000b0045c834beb4amr5609569edb.21.1670575456491; Fri, 09 Dec 2022 00:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670575456; cv=none; d=google.com; s=arc-20160816; b=Dvqz/fEmeSo0XkiL9YCOoF7Hhp+nDgn6rIbeUVcDH6eLQt453Jk6OAm3JyUWiyfcc5 mQZigNypm4oISi8ZcdcJYSVoM78fGvVa1B9lMgGpW5sn5pAROFKx1Umq7XwuzLOI94lU l6qrIP3w8nzSlmAkiQyUs+TD21+6okesBkhw7+HZevB5TAweEaD7xV47NzZgBEfWAOzg fptfdK8gY9tc2obi4CCPWVT7eI/Y3jPChp121jggQCX2MzW/MtovBV386KRI4HW0+YLo ksiH6mJIl/DiUDYdcVQz9bwMz9Se2IiVpPWlahWRRH3BbkhJzECZ3ta1ie2DWXo4q9jb EZ7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4sxH0I5QtK63vsm8GUs2GfZ9XLUpU5JHWlHlEFhZnIc=; b=0rTBHztOZpGDd0353W1dIlDwFgd/wFSGCcpPcYTZaDqtgeMLXt3sMUXdCBHYLcCzyK 9DU5ivYHr6PBgbs+4odb8+AcsWJMSmSh4DGeH6dGgN/MYaxb2a1mch8tSwCjwGmQyiUv RGLnnVo/blWEdf7woEmKZxY9DHT2AY9ETWk/SRPgWWQ/pdKlqpB2eJDrPrVVnOD2WIBG 19uyvh7he6nO+4tQ2d+mNsRSYqVxzf7xeAE74n7gPkNRRE8zsvYNiQl34htqRR02hl1s 5Ze7zXYcETHy4PsOtFom7hXZWgfrWC2dGHvO5CojVLxaC/Kl5n6aiKUxfZw3XVoKAN7M kf4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C505qvlp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020aa7c702000000b0046c46bc5c9csi805463edq.327.2022.12.09.00.43.58; Fri, 09 Dec 2022 00:44:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C505qvlp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbiLIIII (ORCPT + 73 others); Fri, 9 Dec 2022 03:08:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbiLIIH5 (ORCPT ); Fri, 9 Dec 2022 03:07:57 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B46E5B85F for ; Fri, 9 Dec 2022 00:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670573217; 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=4sxH0I5QtK63vsm8GUs2GfZ9XLUpU5JHWlHlEFhZnIc=; b=C505qvlpQUdpJPfIraOKpwAcCM+S/YOlgoDaFdtUyGxTn4lX0UPvlHX6nMKCwiTnpb/eBW B/1MRk3Wn36pil/tIEUg2kAZ9h7Jml7Qsdk9YIoBqryfPSzgjmxiO4tXHbEdH19Ob+Ll03 +divFSPZYFKuuWI598kEuV09FBuyAgU= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-619-ivEgFgWYPIqQloQU9LtJlg-1; Fri, 09 Dec 2022 03:06:56 -0500 X-MC-Unique: ivEgFgWYPIqQloQU9LtJlg-1 Received: by mail-ej1-f72.google.com with SMTP id qf25-20020a1709077f1900b0078c02a23da3so2604913ejc.0 for ; Fri, 09 Dec 2022 00:06:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4sxH0I5QtK63vsm8GUs2GfZ9XLUpU5JHWlHlEFhZnIc=; b=sGk4Fqcwt5tc+hAO4/r2NHhhzIN08TRKAp9K+B8J9QPCPQ3VRTavt6LWB4GLCYvGhf mb4R7qJJ6dKRnl3dCIan9ME5flTFUh3cyp9guZ0B+jLaO/3sJbcDlC1kgep0uQYHBAID xLyoHOjq/RvaiiUoDcr93cJhGdrpl4NJUyGFcrwIZbE5+n1LRFA68hshPPCVaMlqG27d Zo40BQQg7bBR3pnyxvxy6euGLMcridkVwWT8Wl6F74oZK9DWwNbfygP83Q2kZtUlSSf4 /l73/FwX5r6eZWDD/xQ53hZ/780EqNnjBISkCBSw2Ec7mGnkjAI1rJ0eAVQYh19Gho6S PEaA== X-Gm-Message-State: ANoB5plhdUVlIE/e80bsnbgJgcPOUXbNwIZmX75Fy1broDRo+BMXrN9A jI735JPa7Qf4WG0QRL/4NrwWNX9uxhODhk3My0BJiAYTQ2cQ4AuyV9ZBAwNhrX7r4qfiWx9Neh0 cOdVgi9gEDvKOJkjADDmPS9Gg X-Received: by 2002:a05:6402:294b:b0:461:ca30:653 with SMTP id ed11-20020a056402294b00b00461ca300653mr5783804edb.31.1670573214728; Fri, 09 Dec 2022 00:06:54 -0800 (PST) X-Received: by 2002:a05:6402:294b:b0:461:ca30:653 with SMTP id ed11-20020a056402294b00b00461ca300653mr5783786edb.31.1670573214464; Fri, 09 Dec 2022 00:06:54 -0800 (PST) Received: from ?IPV6:2001:b07:6468:f312:e3ec:5559:7c5c:1928? ([2001:b07:6468:f312:e3ec:5559:7c5c:1928]) by smtp.googlemail.com with ESMTPSA id k23-20020a05640212d700b00462bd673453sm332365edx.39.2022.12.09.00.06.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Dec 2022 00:06:53 -0800 (PST) Message-ID: <6e316b6a-7a9d-8e53-2c5f-8b71892ec7fd@redhat.com> Date: Fri, 9 Dec 2022 09:06:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] KVM: X86: set EXITING_GUEST_MODE as soon as vCPU exits Content-Language: en-US To: Sean Christopherson , Jon Kohler Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" , "H. Peter Anvin" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20221129182226.82087-1-jon@nutanix.com> From: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/7/22 21:18, Sean Christopherson wrote: > > And now that kvm-asm-offsets.c exists, I think it makes sense to drop the @regs > parameter for __vmx_vcpu_run(), e.g. to roughly match __svm_vcpu_run(). Yeah, that I had already here (https://lore.kernel.org/kvm/20221028230723.3254250-1-pbonzini@redhat.com/T/#me77cdd848fa86cdce03f59447ddb4f2cba45f79c) but then I dropped when it became clear the SVM series was targeting 6.1. I planned to resubmit for 6.3 after the holidays. Paolo