Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp950467imm; Fri, 22 Jun 2018 08:00:01 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLovXMh4bmAmV2VbYgeWb8VHhv5SxpnJ/JvX0KmY4cmLrhAy3GyxKFTbWL/ur/Z7YLXFK/u X-Received: by 2002:a17:902:2c83:: with SMTP id n3-v6mr2029161plb.211.1529679601318; Fri, 22 Jun 2018 08:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529679601; cv=none; d=google.com; s=arc-20160816; b=aMOBTr6mFetkZWFToeSFFA9r20XEyku22dsBQtyfpyGA/4Hk96YUkW7PteLDaZ+gcI jL3V+N0FX8g36EP/9tBMJdQZXAh9O3AUFPZxClGtbCos6q9WrQDRqh/4BnBiWxNmp9V8 cmoNlUj45EXoS9kMsxXEBckptRnhEBYAmjfONEq2oyjclS7z/pyn6IiUg9t+MuPstz+s 6e/d5XShN3yDizOBqUODjWXSm4CEluxHRzlpmU01X4G1Ra+khPSwBX1TsxXX7gAyEtLb ez7ptPVd7zAFrubHgwhWargtVDkwdgr7YlPoBqxDGUrfHg+UbEb7bXuZTc068bZp6cgr Vc2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Kn4ir9KZsAe4w6DEut0bNv77kpGkpr9I9O36YH+/axY=; b=srr5fENvQcKx2bvB618KrGpKXGONZ/ZsAhghEsOGwtoo0I9PtY3DMvxGeIv147kx7m WxmYuu2uVbGYVhth7WmJLQv1cjEG0bZj7c8JXxEL46jaTLuM4X0pKB2Ac4xc5c8kNquq ruRWcx3dLoGR3jKqJgfdHA2ZLVYMNorCWwiISPvanpLUNuNxkQkyHMU1yexXqGhoP61k REk9wLvUga2JN8X4XSw72cIEzHCnWxG8rL6YelVwxm2OxW2gEFcDiEiysyvQ7hSlwjAB bxAxcKUtPmYjwHpZGeyfgbFsalZ34rDyKAtSofehEVmwYscwb6D4Bpy3CNvXl2j/FNmD lZjg== 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 y9-v6si6119878pgo.570.2018.06.22.07.59.46; Fri, 22 Jun 2018 08:00:01 -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 S1754190AbeFVO4V (ORCPT + 99 others); Fri, 22 Jun 2018 10:56:21 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38704 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751806AbeFVO4T (ORCPT ); Fri, 22 Jun 2018 10:56:19 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 41E3244D01; Fri, 22 Jun 2018 14:56:19 +0000 (UTC) Received: from vitty.brq.redhat.com (unknown [10.43.2.155]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7AF5311166E1; Fri, 22 Jun 2018 14:56:17 +0000 (UTC) From: Vitaly Kuznetsov To: kvm@vger.kernel.org Cc: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Roman Kagan , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley (EOSG)" , Mohammed Gamal , Cathy Avery , linux-kernel@vger.kernel.org Subject: [PATCH 0/3] KVM: x86: hyperv: PV IPI support for Windows guests Date: Fri, 22 Jun 2018 16:56:13 +0200 Message-Id: <20180622145616.5851-1-vkuznets@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 22 Jun 2018 14:56:19 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 22 Jun 2018 14:56:19 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.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 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. Vitaly Kuznetsov (3): KVM: fix KVM_CAP_HYPERV_TLBFLUSH paragraph number x86/hyper-v: rename ipi_arg_{ex,non_ex} structures KVM: x86: hyperv: implement PV IPI send hypercalls Documentation/virtual/kvm/api.txt | 10 +++- arch/x86/hyperv/hv_apic.c | 12 ++-- arch/x86/include/asm/hyperv-tlfs.h | 16 ++--- arch/x86/kvm/hyperv.c | 116 +++++++++++++++++++++++++++++++++++++ arch/x86/kvm/trace.h | 42 ++++++++++++++ arch/x86/kvm/x86.c | 1 + include/uapi/linux/kvm.h | 1 + 7 files changed, 184 insertions(+), 14 deletions(-) -- 2.14.4