Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1690125ybi; Thu, 20 Jun 2019 02:02:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3ebwdZo1PH4gVO1IkXX4iNK0p9VT5/fZml8W0JpzKWFXeelfrs36S51rusGZl2x9WZfj8 X-Received: by 2002:a17:90a:ba93:: with SMTP id t19mr1931344pjr.139.1561021367987; Thu, 20 Jun 2019 02:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561021367; cv=none; d=google.com; s=arc-20160816; b=k8bz/XxtLiKyL1ii1D4/2IVPT4zev78aK8Vddts77eATiqwIcBFCHRpeEGWnFyhJlJ BZqPxOdTCjSPUJWnKsVn7b5e7UYo5nF29ejWPmn8likst0CNFnTCrMXE55CiWoTDcZKe TLgNAuSOJFMe35mxg6osPr9skdjbKrPOI2yjl3JT19q/8txvIka2XCL5IiMiyQf7a34h vcPJyOLrXSviIL8woffYcgyjzCJEy8AIF54P0AYcTivaOa1H+EszZ+5lfcGg0IYWwTmI ENkjNyNYi/lNHfcruUaGWZpzNeF1ghubT52/3IH/kgYLuzse8p7+xaUrtajd1kFY6bZT N9uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9XWALfDZsuDseMJ4aeFkChWWJWcZ4a9nteKLEt49TTw=; b=KtY0bbfWetGP9ZERSoIxWcHWscoFqxCw6A3puhyrDbqXvgD1u6lCgzKB8bdxxC93dD 04DnsHYMtVgto2TVt2KimfqPJ5Gxigaq2g9yds9OVYUIQgHwiLypZp9ucn10RjVPHNUy +Rp5xnF94kqdVRFIr1ZHyuOpkIdbFywyzlY+cJlwX56QzkR61pYruZGP5pwWzdZNux4c bft/3r8J+t/2S8TneXf5YblNUEH1kwliGwgOfbG/ht/cUWnouakkSgq7hvceCWKfSOvt mLH8+jJg42bNc3QQUdh2KR1qreppwPTvYY74V7znE4AjYVZz0s6ruQ9PGFdmOwAvULyK Nk4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qrr7l1Ci; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v97si3614692pjb.23.2019.06.20.02.02.30; Thu, 20 Jun 2019 02:02:47 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qrr7l1Ci; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731436AbfFTJBq (ORCPT + 99 others); Thu, 20 Jun 2019 05:01:46 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:33687 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbfFTJBp (ORCPT ); Thu, 20 Jun 2019 05:01:45 -0400 Received: by mail-ot1-f68.google.com with SMTP id i4so2064588otk.0; Thu, 20 Jun 2019 02:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9XWALfDZsuDseMJ4aeFkChWWJWcZ4a9nteKLEt49TTw=; b=qrr7l1CioNR8wIDkHD1EIRbzrQW1RxP5Hz3hm/662yglpTWvNKcW92yKLXiHIy/vEs 4WQEMK3OwEsAcQS/P2A7tNYixmS87ThBPQfjCpy8KcWRdBpjN1isNVjhnzZH6YeRW+jv tebU05wd+GKmL5PrLPzewMTSHpO3B2o/EZ6mZWfyeKb1AAqJBiX6lBBcWEt+ZVOmoCsd a+FALgnN31H8fup1wDenMvMG1BEm0ho5ZXezWF7SETv5CWXGMh3d+9bPMOWmIpjwD7gZ mAHpDG9fyfV+ysI/gGjME78ayzQUu8gEqgIBwRTm4NaX0ynXfhCHxAXS18jQahGo96a6 cauA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9XWALfDZsuDseMJ4aeFkChWWJWcZ4a9nteKLEt49TTw=; b=AQwtCgcRbrTB65Q5RP/DqQUD8iPoldwILkfwvjfTrraY6YIs1UG1vQQaId71HHheWf eC6bELBUvFJ4Zu06puq+IBUrUHBQH7LumqzWwwKNgld1tv0huCFKo+pvcGDTq9SdZ/Ou 32jadjQl50HoEnpL6a4KqdW6/Ici+9UFsPKiwqLoNdqdp8yDKr00DzrATDH0ppcfsGh6 n1PTtcNoZDTI5PwIKMXXCgkUxwvMWgpK2tQcurnbSMODccjRlCJG0lfKG+rFR4V7dgGs dhXlICcwhesHNX5BCf3lBzlxqKnVBXEt5rajVPk1im1H5vfXXIZj4fM2GfBur5J+1xtq fOUw== X-Gm-Message-State: APjAAAV51HDxbBAVte0hVrQyqYS6Go48OC80Ia9BVCWkLu8yQNvvNjhC plLON6+P5Perv7UL3cvqmHzFb8Rm/oY1OK8pR04= X-Received: by 2002:a9d:62c4:: with SMTP id z4mr2613071otk.56.1561021304529; Thu, 20 Jun 2019 02:01:44 -0700 (PDT) MIME-Version: 1.0 References: <20190620050301.1149-1-tao3.xu@intel.com> <2032f811-b583-eca1-3ece-d1e95738ff64@linux.intel.com> In-Reply-To: From: Wanpeng Li Date: Thu, 20 Jun 2019 17:02:56 +0800 Message-ID: Subject: Re: [PATCH] KVM: vmx: Fix the broken usage of vmx_xsaves_supported To: Paolo Bonzini Cc: Xiaoyao Li , Tao Xu , Radim Krcmar , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , kvm , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Jun 2019 at 16:59, Paolo Bonzini wrote: > > 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. https://lkml.org/lkml/2019/6/20/227 A more complete one. Regards, Wanpeng Li