From nobody Sun Sep 28 00:36:28 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1561082081; cv=none; d=zoho.com; s=zohoarc; b=HgHkwmStNrZafi+/PyvpioeLSXFsbuFJ081idNuY6X0OL0KBEV2mNOO5kcnIA2Kf1tScLn5qmmycqRQRpKT/CWq7tDZhGSoYcMIzsi5ldV8PLrHPCm9TgWGEaR46M/BUaff9VkcBk4El+9iXuxHZjwul0whmpoZCspnanx4klpg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561082081; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=bNCR6BSZrVAsd51s0wYru1/heSmPhGDxRbakfLjjL5g=; b=jSVz1QbFqiOKGGnahJDKctGgvdcqcpr2tYvsVNRHe5xfQG/aKJrzTExkGnP8G+24Hzagfg9bFE9EvXTPNPIxOaTE6xcWVbP8CK2M5ZuNP2ghEGdBFKXHrxuE4F4eKmWU/Ev3Vpb6UREZPDFjRcTTKvHLlLCGOYlG9PBk9S3Jp4k= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1561082081538700.9183014149493; Thu, 20 Jun 2019 18:54:41 -0700 (PDT) Received: from localhost ([::1]:54066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1he8l4-0004he-9x for importer@patchew.org; Thu, 20 Jun 2019 21:54:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40876) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1he8Zu-0006Sw-6U for qemu-devel@nongnu.org; Thu, 20 Jun 2019 21:42:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1he8Zo-0006Mb-Ke for qemu-devel@nongnu.org; Thu, 20 Jun 2019 21:42:57 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:36105) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1he8Zh-0006Hi-4i for qemu-devel@nongnu.org; Thu, 20 Jun 2019 21:42:47 -0400 Received: by mail-wr1-x433.google.com with SMTP id n4so3676919wrs.3 for ; Thu, 20 Jun 2019 18:42:43 -0700 (PDT) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id d1sm1123125wru.41.2019.06.20.18.42.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 18:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=bNCR6BSZrVAsd51s0wYru1/heSmPhGDxRbakfLjjL5g=; b=nIFNT+/deS9pSOLA5AIOHk4M5bnC0XnTWzwNgIE9V1MYR5nRViNgWkOrTSVhk/o76u 4fEc95rWD23t1UsWYSw6wfdRhBQuOlpseyGHkxeIhZj+4EfM4n851FOBtyaylDZ/dbZN VnNvzkcxxZ+AORpRuj69fRph+ykEF2MTzE/5YP54Igls9dQm/qiDXgmaTrgAt0yfOEui GAO0z8/m90I9LSZmTzaU+uk6Rc3lZtxn2Yf2VtEbxD9fAV/O6ArLmbO+9dZ1JV8oe5+B TqnaL1DCPDcqME88m4CSdItKSBBADNrTOG9cfXtYhKoq0h5B3N2NERSsOOpirYDXljyC jEOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=bNCR6BSZrVAsd51s0wYru1/heSmPhGDxRbakfLjjL5g=; b=KfNgUaA7IOkVVonlVoa9JN7WEh5DiNuycGpMlHNhJdExWJfRnzfNaZEm9506qwvrag cM3tL5d+ZogBL4C2LmSx2L78+abt62l2dcGAT25Vdue7C1iWpX8gPYwfaFsoWW+o5YKM Sfl8FQWT0eVTwAz41IgYtV/UG0HZA+j3iSdkSenxmXv5NPTBGvYSKPbK+ngzXzKPTA5l /GW1BDI8HHSMhDSh17BjeOMYQE0retYmjGZaGenOcetuTChN4Dr71AWSK3QiYxSTBUvm 6HU9Mza8Fmpela9LgImEkE6MhqQ0uP9bmBp2A2nwvrNW3n9oQuMl90KEFVmYcKEFa38+ 5InA== X-Gm-Message-State: APjAAAX9PaW1IW7AKh6qFgiTaRs5mdEwjubGFINVAmmsNSb6daMW14S4 rJhR2/EhfGvCMpicPGgdx4duiDL0 X-Google-Smtp-Source: APXvYqyUwCJcL/6q6Iitne1OuIt4XXxrssT9TPxTKhfdyG8m0rDACFOGdYIlUnfVUghgCBZuWcxAqw== X-Received: by 2002:a5d:46cb:: with SMTP id g11mr3624013wrs.253.1561081362502; Thu, 20 Jun 2019 18:42:42 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 21 Jun 2019 03:42:14 +0200 Message-Id: <1561081350-3723-10-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1561081350-3723-1-git-send-email-pbonzini@redhat.com> References: <1561081350-3723-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::433 Subject: [Qemu-devel] [PULL 09/25] i386/kvm: hv-tlbflush/ipi require hv-vpindex X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vitaly Kuznetsov Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Vitaly Kuznetsov The corresponding hypercalls require using VP indexes. Signed-off-by: Vitaly Kuznetsov Message-Id: <20190517141924.19024-8-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini --- target/i386/kvm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 58afa31..1dfa282 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -782,7 +782,8 @@ static struct { {.fw =3D FEAT_HV_RECOMM_EAX, .bits =3D HV_REMOTE_TLB_FLUSH_RECOMMENDED | HV_EX_PROCESSOR_MASKS_RECOMMENDED} - } + }, + .dependencies =3D BIT(HYPERV_FEAT_VPINDEX) }, [HYPERV_FEAT_EVMCS] =3D { .desc =3D "enlightened VMCS (hv-evmcs)", @@ -797,7 +798,8 @@ static struct { {.fw =3D FEAT_HV_RECOMM_EAX, .bits =3D HV_CLUSTER_IPI_RECOMMENDED | HV_EX_PROCESSOR_MASKS_RECOMMENDED} - } + }, + .dependencies =3D BIT(HYPERV_FEAT_VPINDEX) }, }; =20 --=20 1.8.3.1