Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3997476pxk; Tue, 22 Sep 2020 07:58:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEz+jpJbS7b/Ha48BvEiPELP/DVEbv40GJOfjeqf0OFWjylYXL8Q+0bpfXEnbFiwr0rG7A X-Received: by 2002:a50:8d57:: with SMTP id t23mr4409816edt.308.1600786709143; Tue, 22 Sep 2020 07:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600786709; cv=none; d=google.com; s=arc-20160816; b=zqep7iFWMuZ3uiZ1OaMLKIX+OVNQ9RvKJWMMRY3E7fOdntUttvoQHkA/70sd/iR9K0 bv1UgsiKIdUEp19jxmCHPEdQSNqyr6n8PbIhNKLW86nmZ7E/zpAaB1yNp3pG00aFzr7u xkmJFo4DET7pb4z+zpmdB+2vmulbzymNdNBETPOSLYintMmVrAuqllOzxnkNEyYeZZed m7UNBMceYvjHlE/vO8mt7clPQcDqRrxu+td7JdGGZ3dkoBRIo0qwPbPneWFEHkREuzDv ejx3sGBCYpE5VZRstW0FnaedSurwwmACyEdNYOnMBofSg3qJ2qWB/c9xbOdDpetl+hiU ga9A== 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=7fQZ3CsVAakZ0XBmAEYMPM13fOqKXxB3YkpyUsuX4ts=; b=LvQswK5WL+gF2H9+LiSwtBGqvQIS0vSCAqrU/WHotC69et//N6U8gFHSfBwepIWP3O TrIMWWCQd2H0mBOc+Jxvvpo3/MW3vIeXT73ieopmOBMORSWqmkudyEudWaEc819JRhxe /BJtu6FyXMfbikw2LqCV0tEWXGjUvzKhCba/sLuSvept8z84snxzyBLyNDWXQe8hTFY0 JaA3amz3zZMDmZWMMSuPHDgWlvMns2iWveEtO6LoEBqgILx+kYqT8Sww78M347bXZiyo wrYNzd3LDxPG5Ou2bwj8d+T2zdAepfoxdQd6AKh7IfiJ5ujBdHfIcyieB0W1R3GFNI2k cMgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OkzWxXJB; 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 y20si10879920edi.281.2020.09.22.07.58.05; Tue, 22 Sep 2020 07:58:29 -0700 (PDT) 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=OkzWxXJB; 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 S1726685AbgIVO4n (ORCPT + 99 others); Tue, 22 Sep 2020 10:56:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:44463 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726623AbgIVO4m (ORCPT ); Tue, 22 Sep 2020 10:56:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600786601; 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=7fQZ3CsVAakZ0XBmAEYMPM13fOqKXxB3YkpyUsuX4ts=; b=OkzWxXJBoHyTpaMHl8av9r8I0F5tL/IB4YxMOKNrwQfzCzkzM1MQ+vao74nVcN1AHdubaa G/2zMdgGdazF5cRmXLZfIxffNkeyRVp0VocRPVwaZiqP/jNSxH/vBHZ3MAnb7fCQW6QzXZ qHemEN9Rcp1KHldR0O+MsPTbCy74nm8= 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-227-2JV-2NlnNumDT25NLd-EJg-1; Tue, 22 Sep 2020 10:56:39 -0400 X-MC-Unique: 2JV-2NlnNumDT25NLd-EJg-1 Received: by mail-wm1-f69.google.com with SMTP id c200so1007596wmd.5 for ; Tue, 22 Sep 2020 07:56:39 -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=7fQZ3CsVAakZ0XBmAEYMPM13fOqKXxB3YkpyUsuX4ts=; b=C5bxWvbMScOyPkSVBq+Ojb6vBAfc1etFd+Pa4oz8pzx4jL0jvL72lUHjHGfMMgdpse 6/2CBimAZ9XFsSJ7DSGQb+F0AFZ+2O/P/l1UjbqQjV/5DaFIsFI9f8kCDszt6WobofOI wnGZwjfiOyskq8cufRLw8P/Q4zEk1Z4QfUMF/Vf0aX99/MpQDIbqhDKywdhoZQymceSh im3s2qTlfMAUf+X0987FZO878a2x4ywGrBvG0et3FGLNl66T3pqqiHyheVIO+9esGzAP hqF2Tke2RG3TqNBHESCbLPzgKMM448LMLHjpY9FfN2ciHs8GdtHo25wFPcRaS1HJ92iL vecg== X-Gm-Message-State: AOAM531F1jwnBSt22Sb0sNfasbh80FKjQGk4Rx1xDFeiXhKzUJ3ldGXa XXZaYECcNloXUN7M/dmpvXbD4FSpmt1syJLyDLZh2dwzPN+XjVu3sXRpJmQfrqwaDNLbMCTosoN VCYpvh/L9OZ5S2V/WPNrnLmc7 X-Received: by 2002:adf:e4cc:: with SMTP id v12mr5749646wrm.216.1600786598706; Tue, 22 Sep 2020 07:56:38 -0700 (PDT) X-Received: by 2002:adf:e4cc:: with SMTP id v12mr5749626wrm.216.1600786598464; Tue, 22 Sep 2020 07:56:38 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:ec2c:90a9:1236:ebc6? ([2001:b07:6468:f312:ec2c:90a9:1236:ebc6]) by smtp.gmail.com with ESMTPSA id k4sm27735243wrx.51.2020.09.22.07.56.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Sep 2020 07:56:37 -0700 (PDT) Subject: Re: [PATCH] KVM: SVM: Analyze is_guest_mode() in svm_vcpu_run() To: Haiwei Li , Krish Sadhukhan , Wanpeng Li , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel References: <1600066548-4343-1-git-send-email-wanpengli@tencent.com> <91baab6a-3007-655a-5c59-6425473d2e33@redhat.com> From: Paolo Bonzini Message-ID: <66a1479f-9603-5045-c307-804db1a62845@redhat.com> Date: Tue, 22 Sep 2020 16:56:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/09/20 16:54, Haiwei Li wrote: >> EXIT_FASTPATH_REENTER_GUEST handling up to vcpu_enter_guest)... > Hi, Paolo > > I have sent a patch to do this, > > https://lore.kernel.org/kvm/20200915113033.61817-1-lihaiwei.kernel@gmail.com/ Cool, thanks. I think I'll just squash it in Wanpeng's if you don't mind. Paolo