Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5693177imm; Mon, 23 Jul 2018 04:32:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfT0pQIcbIx2VLT+yXZhDLfsXO85OdeiPgx3Gd3iCL5oSC7EvQyoUGhhMYa9AGNvS/5ShVC X-Received: by 2002:a62:d544:: with SMTP id d65-v6mr12700153pfg.107.1532345540074; Mon, 23 Jul 2018 04:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532345540; cv=none; d=google.com; s=arc-20160816; b=iCStMjcEgi9QA1S8fdgdHWwBi+kgh2kJgWc8T7qfqumFGIh8w3nxgRS6dJ6r77p0oQ Pokcox5BfvecURlSU1QUGOJUyBdpgAxKjSMrUUVCBHpGN5P0Ojp8dQAZdwuiLD1KlwX3 inUPwhQ9y4OiO1+8CwKXfrsV+YJV5tVBnlaiYJOCQCVncCaUO7gp7B6GZz1OgXTBl8RG aSPAZ5zFBTpWIwy9OEwoT4x8rpMUhM5KdEjHX16jthBHxhRRa62bX686i1+N2oZBNgUt j9uV1ANSppkdUGOjgCxrNRUM/HBunsWylbmjTePMLpTja+XdqT5HWdrz/D3lc9H0rs+q EpaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=liEvB7k87rwvmFmotRz7tZDzrVp924Gu6WdoV8UKFtk=; b=fkwTA0PzgQxMFsbqE8tjfDO/SoY8BzCYbhvkXZP0Mw9b2VAmiZr1RoeUC6YnRclAFf CevzTVs6z+cgp0sSmnxjXqZyM3mvJnxwBnk8QCeTKPbA3vS/b5SDjPpCgGKLumlnSR1/ /wHkDolz8GGCOMdqPHfXtSxmAdTvF83tjGp48BakVF0gjK4HxRQId/3DNK8nk/T4T3PM WROxegT7Q0JdATWx5G387+tSGPHfboJyDvvuzhBMYLUgrDo0VLbxcmG6S+Hp9xVkISvu AOmKEcXEfXkf04xv4iYr0E1f9wJT0LPEZF1YUiCAPogRqfyHaewaT5y/eS9E2Un9TqEy n8Ig== 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 e1-v6si7676040pld.80.2018.07.23.04.32.05; Mon, 23 Jul 2018 04:32:20 -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 S2387981AbeGWMcB (ORCPT + 99 others); Mon, 23 Jul 2018 08:32:01 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40800 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387910AbeGWMcB (ORCPT ); Mon, 23 Jul 2018 08:32:01 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8487F81A4EA3; Mon, 23 Jul 2018 11:31:15 +0000 (UTC) Received: from vitty.brq.redhat.com.redhat.com (unknown [10.43.2.155]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 836A22026D65; Mon, 23 Jul 2018 11:31:13 +0000 (UTC) From: Vitaly Kuznetsov To: kvm@vger.kernel.org Cc: Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Roman Kagan , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley \(EOSG\)" , Mohammed Gamal , Cathy Avery , Wanpeng Li , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/5] KVM: x86: hyperv: PV IPI support for Windows guests References: <20180703134206.27240-1-vkuznets@redhat.com> Date: Mon, 23 Jul 2018 13:31:12 +0200 In-Reply-To: <20180703134206.27240-1-vkuznets@redhat.com> (Vitaly Kuznetsov's message of "Tue, 3 Jul 2018 15:42:01 +0200") Message-ID: <87tvoqrxxb.fsf@vitty.brq.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Mon, 23 Jul 2018 11:31:15 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Mon, 23 Jul 2018 11:31:15 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'vkuznets@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vitaly Kuznetsov writes: > Changes since v3 [Roman Kagan]: > - Don't use vcpu_id in kvm_make_vcpus_request_mask to avoid dealing with > sparse CPU masks. > - Create get_vcpu_idx_by_vpidx() and use it in get_vcpu_by_vpidx() and > kvm_hv_flush_tlb(). > > Using hypercall for sending IPIs is faster because this allows to specify > any number of vCPUs (even > 64 with sparse CPU set), the whole procedure > will take only one VMEXIT. > > Same as PV TLB flush, this allows Windows guests having > 64 vCPUs to boot > on KVM when Hyper-V extensions are enabled. Ping) -- Vitaly