Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5336855ybe; Tue, 17 Sep 2019 06:35:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCWEBZqVY0jsZVPWddtoZnw+mBi9V3E0yPcbi5jWFvlHKvxCsmnkYtofRxvsIMx4olmsNA X-Received: by 2002:a50:d556:: with SMTP id f22mr4525717edj.263.1568727309091; Tue, 17 Sep 2019 06:35:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568727309; cv=none; d=google.com; s=arc-20160816; b=A1p62XkeH1L1a5ywactjQKbWmoJKClplAdQy/kkWVHoMqh5Kwo5EFo9l97TO3mtStl tw4LPkwNhEapbzaXTrCJ/MZk95vXgBbhCV1pI7fa55PDtUXRovpnnwg3a+TtTxBsfJU3 eITGLfzs+z89POfh1BKI1nfGlptbPQQ7Lunj5Dvw39GsZwp3Bp3cXV5HSLf8ublsxX5r sutMBWppzVOr6uuLoA32VDzAmhU+rZmKUwO3YwaKbH8z60OZ71vTcVj0Y/vZ6G8t3ddo B+ELg0xHLLPhDc6H44fLregavUqBB1Ov8X7VLh3sA0fxRXRYL9QrOeWwdiSeqxSvsgGO L+fA== 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:openpgp:from:references:cc:to:subject; bh=zXZxLZytW+Ec/U9NfhKAd9rWSe67nelrhj6Ad5wzBvs=; b=AkxyHqzws8VRETu6w2QZqBpxbLwqUaO+E+RqgyyWicMqO0r3cpUfe6zWqtESPYfweE pTjWcjKflK1TjJVngPneTRImrPvwTRm846i3vl9O4k87e9xc88q7iXauoWPPODC0PBXq kf2TfKnOcOzQnyqOJUEJuclGe6TRpJdBbipPfBmtupu6/1+tltGMbqugngA4VRvQuaL+ lVDFHzaOZcHbBK1uzs8m8mZbPbnPP/lyADuecJuQ+WYK8sMr2WVUEhk8lzqe6y26rEzv +Fc3ijFQEY4YkmdL8QobiBWZbVEM1jKpbuKP9yOV/G/fosmficmUoj+6KPn+/wqvk3Tt JLGw== 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 c26si1346834edx.353.2019.09.17.06.34.45; Tue, 17 Sep 2019 06:35:09 -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 S1728011AbfIQN3I (ORCPT + 99 others); Tue, 17 Sep 2019 09:29:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51910 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727063AbfIQN3I (ORCPT ); Tue, 17 Sep 2019 09:29:08 -0400 Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2EEF9C0546FB for ; Tue, 17 Sep 2019 13:29:08 +0000 (UTC) Received: by mail-wr1-f69.google.com with SMTP id c1so1314269wrb.12 for ; Tue, 17 Sep 2019 06:29:08 -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:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zXZxLZytW+Ec/U9NfhKAd9rWSe67nelrhj6Ad5wzBvs=; b=ojwo29XWCv2GtpRchFPpeeTT1USV4Pgs4c7W716cyQMazIHo6+8vhP/0IPFXLhoynU PmcsjWmErfaJFXC06DMSZZH0EBEEfV8csLChRnRuIl5YTBTAiTIfx5lOtV9IdjmM5+S8 vzJ761yzuO9LK1UzoNhInvMhieC/fWFvWACyiGcwI/oMid25tsdJjPgAroMusyIlCOv+ 6UHxPgSwKUpFtEU0O3QRDVqBAOWB2U+Df23IPMjhwq5vSkkFjzxNxBk+k3liGOYn15wa yf26op+Ct9OMlKbY9oX1GyB27rXDk/wYmqCS7cCb7fHGdODM7wm8ktjAoA8Ck1UKMiR0 fbxg== X-Gm-Message-State: APjAAAWH5BZJ3gBcz3G9QOLG86BYobT4zzLBzlZFSh1yY4BwzmMHMVjG RwtQB7cGKxfHKLlN9g1tDZIiG9WrJyDDz6UWL1UoScEBiQwxYycL/8ncAIO/Ee2HH8e+GwVqVLF rRStFKkHcre/WTuAnmbjPD2Op X-Received: by 2002:a1c:4946:: with SMTP id w67mr3573289wma.131.1568726946867; Tue, 17 Sep 2019 06:29:06 -0700 (PDT) X-Received: by 2002:a1c:4946:: with SMTP id w67mr3573269wma.131.1568726946641; Tue, 17 Sep 2019 06:29:06 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c46c:2acb:d8d2:21d8? ([2001:b07:6468:f312:c46c:2acb:d8d2:21d8]) by smtp.gmail.com with ESMTPSA id y186sm4478852wmb.41.2019.09.17.06.29.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Sep 2019 06:29:05 -0700 (PDT) Subject: Re: [PATCH v2 0/2] KVM: x86: don't announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS when it is unavailable To: Vitaly Kuznetsov , kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Joerg Roedel , Jim Mattson , Sean Christopherson , Roman Kagan References: <20190828075905.24744-1-vkuznets@redhat.com> From: Paolo Bonzini Openpgp: preference=signencrypt Message-ID: <0f3650ef-6a64-b6ab-5370-92e7c4d6cce1@redhat.com> Date: Tue, 17 Sep 2019 15:29:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190828075905.24744-1-vkuznets@redhat.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 28/08/19 09:59, Vitaly Kuznetsov wrote: > It was discovered that hyperv_cpuid test now fails on AMD as it tries to > enable KVM_CAP_HYPERV_ENLIGHTENED_VMCS which is (wrongfully) reported as > available. > > Changes since v1: > - This is a v2 for '[PATCH 0/3] KVM: x86: fix a couple of issues with > Enlightened VMCS enablement' renamed as the first patch of the series > was already merged. > - Added Jim's Reviewed-by: to PATCH1 > - Added missing break in PATCH2 [Jim Mattson, Sean Christopherson] > > Vitaly Kuznetsov (2): > KVM: x86: svm: remove unneeded nested_enable_evmcs() hook > KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when > it is available > > arch/x86/kvm/svm.c | 9 +-------- > arch/x86/kvm/x86.c | 4 +++- > 2 files changed, 4 insertions(+), 9 deletions(-) > Queued, thanks. Paolo