Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp251095pxv; Wed, 30 Jun 2021 04:57:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6tn9TFyif1bAM/og9JlFm0TsKmcCge6S5+oBhQtsfrUwQx4Rjsloaz2WQDOVlFsbkxbrX X-Received: by 2002:aa7:d74b:: with SMTP id a11mr46423375eds.40.1625054271540; Wed, 30 Jun 2021 04:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625054271; cv=none; d=google.com; s=arc-20160816; b=E24LFC2XjiEJjldqmlxMtLpqNG9lFbVNjjdogg9IFvI4Xc6KpxBBMZAg4iGHEkrOJg qXJmJ4eST3JOpLJzg6SGKS4M760OFg2funF/2RVu3mTG/9jZF39AfXqXF674dovzGc7D 3tLNl43lzbczI3OSuAOw4fTVWwKkMd5vhT4vkuJElUwyT6JUAUOBhs+Dk+cWOTlmMzLK ZNMwtBVnRx9i4h0jqMwb87LZP5COKsXVozUjw1IZBIxQOkciK1fKzNtKPJmDzmV+und3 ycZlI5+2Un2nia9/OdxAeV40ZsutBc7aUGaZ8xK4WoC1kB9gLeDOfJZv9aKfKSUceKFH Ztvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ASayfU0iOY/GQix80CamBpd9iL3PrqqC262D7i55c6Y=; b=aYAx3BaDEjVVqpYNMxJ3GVwEKwkAfEvmz6vOJyBmpp8Rj5jp156lh0+mmAn8GV8igU NC1OgR2Yk0Oh/3cK94y4yJakueFJn8EsSdNkRoVnYUAAK3xzCCNujpb2A6BAo7UyKEhg /RcNR8ZU72Z4dP1tD34725rIa6KPfvfWP5K4nP5bCRPnrypGIbhzkv3DEj0zuZQkFYGr YA2z+WkqMkBSfij+8H6/xLre/ywaWk3RAj8VY1DweBKSDBYvlbnFR/I3yHSPoc0Viqn7 XfvpPQQ/0JdNQphZjb6U2XOm3fOsfy32DM33m/QQKv0H9basRTzlILwotURJYMi0OleF CKPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=lNP9rbhC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si20566062edr.362.2021.06.30.04.57.26; Wed, 30 Jun 2021 04:57:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=lNP9rbhC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234373AbhF3L6v (ORCPT + 99 others); Wed, 30 Jun 2021 07:58:51 -0400 Received: from smtp-fw-9103.amazon.com ([207.171.188.200]:1600 "EHLO smtp-fw-9103.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234148AbhF3L6v (ORCPT ); Wed, 30 Jun 2021 07:58:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1625054182; x=1656590182; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ASayfU0iOY/GQix80CamBpd9iL3PrqqC262D7i55c6Y=; b=lNP9rbhC8M0pzf+fap3Tjo9Hqfqf9SPaUxocOYlN3MF6p5tOtmft/HxV P8NHRw9+vITEUsBf84APtTk6JY/fHe9/kooidldwztOAe1Nc+KZ39Recq CcIwTP5IN0+ZQHf+DwIVrcLAwt4nLHqLSdRVKOiEHqhHQS9SOnILOePlj o=; X-IronPort-AV: E=Sophos;i="5.83,311,1616457600"; d="scan'208";a="941049953" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-9103.sea19.amazon.com with ESMTP; 30 Jun 2021 11:56:14 +0000 Received: from EX13D28EUC003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com (Postfix) with ESMTPS id 0DBACA1F4C; Wed, 30 Jun 2021 11:56:13 +0000 (UTC) Received: from u366d62d47e3651.ant.amazon.com (10.43.162.164) by EX13D28EUC003.ant.amazon.com (10.43.164.43) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 30 Jun 2021 11:56:04 +0000 Date: Wed, 30 Jun 2021 13:56:00 +0200 From: Siddharth Chandrasekaran To: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Thomas Gleixner , Ingo Molnar , Borislav Petkov , , "H. Peter Anvin" , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel CC: Siddharth Chandrasekaran , Alexander Graf , Evgeny Iakovlev , Liran Alon , Ioannis Aslanidis , , , Subject: Re: [PATCH v4 0/4] Add support for XMM fast hypercalls Message-ID: <20210630115559.GA32360@u366d62d47e3651.ant.amazon.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.43.162.164] X-ClientProxiedBy: EX13D19UWA004.ant.amazon.com (10.43.160.102) To EX13D28EUC003.ant.amazon.com (10.43.164.43) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 26, 2021 at 10:56:07AM +0200, Siddharth Chandrasekaran wrote: > Hyper-V supports the use of XMM registers to perform fast hypercalls. > This allows guests to take advantage of the improved performance of the > fast hypercall interface even though a hypercall may require more than > (the current maximum of) two general purpose registers. > > The XMM fast hypercall interface uses an additional six XMM registers > (XMM0 to XMM5) to allow the caller to pass an input parameter block of > up to 112 bytes. Hyper-V can also return data back to the guest in the > remaining XMM registers that are not used by the current hypercall. > > Although the Hyper-v TLFS mentions that a guest cannot use this feature > unless the hypervisor advertises support for it, some hypercalls which > we plan on upstreaming in future uses them anyway. This patchset adds > necessary infrastructure for handling input/output via XMM registers and > patches kvm_hv_flush_tlb() to use xmm input arguments. Hi Paolo, Are you expecting more reviews on these patches? Thanks. ~ Sid Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879