Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1689039ybi; Thu, 20 Jun 2019 02:01:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2aN2VpozQmJALUe66HHxG7eOyKYArF+vgnvz9n9bSR6ZKbDrrF9bdpsofcuf7kVq7a05n X-Received: by 2002:a17:90a:2446:: with SMTP id h64mr2104098pje.0.1561021303016; Thu, 20 Jun 2019 02:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561021303; cv=none; d=google.com; s=arc-20160816; b=u7afYbqomfdOOswUJAc+VQcQ5vHkav8BygdKHSm/QaZGBlKjYkg3XRZ/t+jIHZk9pJ 9JIuSPqyn/f8fqhMrrgr/kYVYZy145IcMieRfR4tQlON2/+W85tcyYj7Sr9e7KvYgpa3 ZifWvySgIPgao8VgfzjmAJ+8yKTwxdDA/uRDzW1PJ+XxzD/ibxy/2R1/dXaIoCKyBHOJ rii+WhE4Jcj+REey5zz/5ilr66HMFVyXR17c/78AoGrbRxzovfMqaGytjfJ8U50eDBp0 h+sdy6yA320lH7hwfEwN/p6ciye7LDLapoW7EnZ08GybuTz48G7OT5E5Zfr51HPo6i1G t+mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=vddaDNU08aTNsQcXmYBUi4ms30pth+CnMAqKshaYelA=; b=JsG0qRxVuQ4yFkkZDVwxHDArSjcOLVR8Ong64lSBON4gBi/KwpFh28YSHmwZTs3+qZ sjcdKogUsOjyqmYjFpwndm2O2Y55dlLekLYFi3XYxYu90BEDfdTfkkZHF8AfuIXYmN12 WjXV+bNGVQKukj7+gJfhUl4UxhDtSVeYNd1p3e+JgCiguaDPZS81/V2NMJv+4DBnGjVv 09OBzeyuWRYV7IIv0GHympY0/wo3dyPkugaKizigz1Ekrc/DXQ0D9VvoN3FkpyOISaKT 4o9n9hSzssv11FtpXUErLtjWnT4YBqFeqYDYnaQZvrCUuydd0SO30Fwu5/6pxBKocAkL YNow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u18si17632602plq.311.2019.06.20.02.01.26; Thu, 20 Jun 2019 02:01:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731340AbfFTJAA (ORCPT + 99 others); Thu, 20 Jun 2019 05:00:00 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36583 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbfFTJAA (ORCPT ); Thu, 20 Jun 2019 05:00:00 -0400 Received: by mail-wm1-f67.google.com with SMTP id u8so2301997wmm.1 for ; Thu, 20 Jun 2019 01:59:58 -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=vddaDNU08aTNsQcXmYBUi4ms30pth+CnMAqKshaYelA=; b=X5W5G/XNsjuAaE6IkFzJT4B+bK5C6vYSD22gFr2CVxPzXrrjjt4RVoEOKzUCB1Oft1 K4XrWjlbX12Udflv9DnyxKjci2jWn/tWYi5VW84q8dU29GOS58bb/FDeffC8TinD19DD HFZgqIg3JsssRFcTkddIzH4mWu1rdSA69D3xpPd4uwVWv9rFqMuwErRjDebjA9M/zqcw iC54CgTFYDVf9MUXUjIjbdTtRn1U0uBp+s1rgOfJ7NUk2YQxaY8E6rYoBsemi8ATFs0D oU5yMor2Z2NkqBz1kRki48K/kC9rNfnHXs4lq4t0JrV5uK6WNuvZgqUIjYTzPhYniQ8U drXw== X-Gm-Message-State: APjAAAVMfAQTVWX+UUF+OfNtjtxu9DfC23e8nqDI9j2MTqlMQg1loBNF e/UIPUn+Ps85ysLJsaYiR37PypDvDX0= X-Received: by 2002:a1c:f20f:: with SMTP id s15mr1823342wmc.33.1561021197712; Thu, 20 Jun 2019 01:59:57 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:7822:aa18:a9d8:39ab? ([2001:b07:6468:f312:7822:aa18:a9d8:39ab]) by smtp.gmail.com with ESMTPSA id a2sm4789699wmj.9.2019.06.20.01.59.56 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 01:59:57 -0700 (PDT) Subject: Re: [PATCH] KVM: vmx: Fix the broken usage of vmx_xsaves_supported To: Xiaoyao Li , Wanpeng Li , Tao Xu Cc: Radim Krcmar , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , kvm , LKML References: <20190620050301.1149-1-tao3.xu@intel.com> <2032f811-b583-eca1-3ece-d1e95738ff64@linux.intel.com> From: Paolo Bonzini Message-ID: Date: Thu, 20 Jun 2019 10:59:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <2032f811-b583-eca1-3ece-d1e95738ff64@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/06/19 10:55, Xiaoyao Li wrote: > >> However I may be wrong because I didn't review the code very closely: >> the old code is obvious and so there is no point in changing it. > > you mean this part about XSS_EXIT_BITMAP? how about the other part in > vmx_set/get_msr() in this patch? Yes, only the XSS_EXIT_BITMAP part. The other is a bugfix, I didn't understand Wanpeng's objection very well. Paolo