Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3251362pxu; Tue, 15 Dec 2020 02:22:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7a8LkChZDoRppi8azTbVvhxCc5YNOUAQDOJHEUK4OwafU65QPkH1MgWKtUip31Z+xPS03 X-Received: by 2002:a50:d5c1:: with SMTP id g1mr29659930edj.299.1608027746359; Tue, 15 Dec 2020 02:22:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608027746; cv=none; d=google.com; s=arc-20160816; b=szBwff6qATTnHz/+kJA+msRMC/E1rWgiHJM+PE8pwq6jJGdXZUfDI1RABlJmyCnkL+ kp+MqObxZWTwrdc06zT04zsl1wWvm6M27ZCwzubiylYaIRj7klEn5KAqxuZ3yziwU7Tr jEnCn4QBAppQMLVaQCE+9nQpF9DkuLNMHuAgrb/04OVU2ba4v+qj07FsTApqWoJWQlQo ikwVc42pQx/WHm687zn8eOnyon/+2rFYa+fQlPAbqqk8++1rd7Ue/v8/kArquTdug1ge 3eYcdVaJlnmHSMBNhpTuxE/KNt0/0HS1OMeqnrVZ6k0ppyt8Ig80pp7geeFq/RDBrO+A 7MRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=9swSmIYZppW8rMNs03vDQOdnpTVA0ev+LyV+E4X+xyA=; b=P2EdbspWEHhXBitUMxMCuLCdzl0GMyVbM0XUjMppEfxCc1kJ0f3ZunDD5KxZlda9Wf 4rXNxC3Zo0pFnWud6PCIpn+ew9Y4wqcQ0qBkNp2JM9BBg774b9bjqPFOY86w4P6NrGkn /Ns/NTgwiZbsui/N+2FTlS296B1vl73dXTI24iCMcZ0U2rQ39Vg0DpJ3KDoRL4kJfGe0 yERrVXWxfny+bj2DJyCkE91Jus+c0L7IFrddz9Vg3tZmYJ/wPmugdVLyIq/GxWqLCyy3 Vzn99C1y+0m54KDodxF12bYLoCSGr1E34T+UhtaTXeGga3+F8hBbcZi552wmfpIgNSZV azSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Q0csQJcT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si667157eji.402.2020.12.15.02.22.02; Tue, 15 Dec 2020 02:22:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Q0csQJcT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727377AbgLOKS3 (ORCPT + 99 others); Tue, 15 Dec 2020 05:18:29 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39859 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727362AbgLOKS3 (ORCPT ); Tue, 15 Dec 2020 05:18:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608027423; 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=9swSmIYZppW8rMNs03vDQOdnpTVA0ev+LyV+E4X+xyA=; b=Q0csQJcTnwEZ4h6ATN1ySvZbbX+7qd31ZcMkHxpPeLQhIleWBQorDfK9eCd7tMTCUafsMi HTnsu+8T+sf5Y4z0FXX8bl9FDEtBB4Hqem8vp3d+oFG4SXXDNlP+KW/PeEY0Pv0DJkE7nX tVrhmtJYwU9U3nBnt68e6cwU//P5x4Q= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-443-hFETQa5aOES702Iwp2HMjA-1; Tue, 15 Dec 2020 05:17:00 -0500 X-MC-Unique: hFETQa5aOES702Iwp2HMjA-1 Received: by mail-ed1-f70.google.com with SMTP id g8so9784805edm.7 for ; Tue, 15 Dec 2020 02:16:59 -0800 (PST) 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=9swSmIYZppW8rMNs03vDQOdnpTVA0ev+LyV+E4X+xyA=; b=spoVcG0CrP40Ri30FA8EMCicPqUdnDQk+Abjlvg2gnxow68jeCabxHJdECN7MAjVka xGJ1JE1m1TH6oFhs4RSBvFhP7Ryndmki/mIN6EJ++UoY8CClytey2tAfYHNvPFYK41WU EvZooPDM3sf41InnElkJaN2tqKQt63PQQ0zC66+rOScahk3ArflLxHUGhkzKAwe91J3C zxYuQ2v/U/qdjJq2IRt3duNZ7oJKWJoYEIjMK2OXhqUkph5QLr4ZRBw/WeuHa9+NtwHr FM982b2ErPr1eM/3KK1ScreRwjNu0ApjdqkjBX3wtRW/GVSwfAczYRP4pTIYzFKFkYN7 M7Bg== X-Gm-Message-State: AOAM533T/Smtr0UaTq9AZep8JGI73v1uItJTwB0xCLXoE+73JjMLjYGa vIosfyzrgY05AXrAGLm0awx3IP5jIk1K7g7FoOoMYSN+YA0WB+os5IJA5APswYqaNLZMB6up0SV hdCWex3m0fPtgHzI9+7XMUEAZ X-Received: by 2002:a50:a684:: with SMTP id e4mr11879104edc.148.1608027418925; Tue, 15 Dec 2020 02:16:58 -0800 (PST) X-Received: by 2002:a50:a684:: with SMTP id e4mr11879085edc.148.1608027418772; Tue, 15 Dec 2020 02:16:58 -0800 (PST) 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 k16sm1010768ejd.78.2020.12.15.02.16.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Dec 2020 02:16:57 -0800 (PST) Subject: Re: [PATCH v5 12/34] KVM: SVM: Add initial support for a VMGEXIT VMEXIT To: Sean Christopherson , Tom Lendacky Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Jim Mattson , Joerg Roedel , Vitaly Kuznetsov , Wanpeng Li , Borislav Petkov , Ingo Molnar , Thomas Gleixner , Brijesh Singh References: <7bac31c8-a008-8223-0ed5-9c25012e380a@redhat.com> <33e98d2d-93b5-acd6-4608-f30c709019ad@amd.com> From: Paolo Bonzini Message-ID: <35efe04e-a3df-d151-8192-b09473f81cc1@redhat.com> Date: Tue, 15 Dec 2020 11:16:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.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 14/12/20 20:41, Sean Christopherson wrote: > I agree VMGEXIT should be added to the hot path, it could very well be the most > common exit reason due to all instruction-based emulation getting funneled > through VMGEXIT. Yeah, I was thinking that not many guests will be SEV-ES. On the other hand, it's quite likely to have an SEV-ES guest in your hands once the really common non-VMGEXITs have been eliminated. Paolo