Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4812684pxv; Tue, 6 Jul 2021 09:43:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXTu8Xmg2YNpWPvLXewSQjlV8awM4MHUpT8eyybcfXXPj2bPUkfUjQjNwSY2CiWtoMN4dn X-Received: by 2002:a17:906:b0e:: with SMTP id u14mr14800352ejg.185.1625589798881; Tue, 06 Jul 2021 09:43:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625589798; cv=none; d=google.com; s=arc-20160816; b=iftMM+in2xUFEgYKZsQs8EdFGzxhEV3/MnyK+IHMzb7d3bKbkg80tZy3Gc+6xv/go/ RMCQMTzLAmCkBHgX9/btb8vdAxmJiGrunvkGbQJ98I+WvEHswEEj9sq4fyKsfkH50Trp uIygY8CG7M74nm8VQf3U+i9tWM14CvGyIT1eR4WE3EPELVmwWVF1MRaHUe4gltzy55IN mKNR0B+wkJwvMx3PlH4bZSZxg5K3LcgLocaQdPeKSEifvOT2hTxI3zghs7ima7vPZYJi pm8qg94t2bHbLmUnPL/zXUiOWuHqbRR8+ZEc9Fd5E9k+TMT7SoR+MelpyxIxluLCZwjz 837Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=cIGfRNQJl5ggKMxg79cS0CRRyE/NvGU9bwegJhnpmik=; b=SHEilqwTZdbucC54vgunnP78Le/Jmk/rjuPFtbcLyGcrkx5tl0Ic72KVXsLY3k8qW7 OEhN3ncOtRplUmypUE0iVI9qychg/umgtzd2LbIZ0XQdMWH4mqOVAB0s/wLKhb48v0zO dNlHASlWkeKztLUEr/ul+TqLCgN4KroREjxeKk/Sww08KD84UIbuGhzz+Wgf1Gk5ACGn 5t/XjIXjVF78RNeRstgv1CwnA0pxqXU7J7tXi5RhTXk42vvOUBeC7/X/BdgtKgjFCfIL 6c6Fwuie7YrX1A83nghUulDWaCdvxkMyrxbrVpMOqHTw2xEDZumMC33f28BFxKvn9aDW 75vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hbE4aHRx; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si15189830edr.217.2021.07.06.09.42.53; Tue, 06 Jul 2021 09:43:18 -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=@redhat.com header.s=mimecast20190719 header.b=hbE4aHRx; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230087AbhGFQod (ORCPT + 99 others); Tue, 6 Jul 2021 12:44:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:49775 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbhGFQod (ORCPT ); Tue, 6 Jul 2021 12:44:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625589714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cIGfRNQJl5ggKMxg79cS0CRRyE/NvGU9bwegJhnpmik=; b=hbE4aHRxVCWZe9KpM/pj6euFjfIx1omcfzdAVWYNMQXfIAhv1Qs0VHwVHYpI3cOOSR2eKc qq9b7XTsCfwrqVfy6e0TeRHuBKbeOppjpoqFziJDEitQC/SEaBmmfIXRhd1nOTPwmC1kTc gB0yNyegI9Fio1eHABiMZ5YwdcCweoo= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-506-upYIHCrzP-GKTxDhGFkNyg-1; Tue, 06 Jul 2021 12:41:53 -0400 X-MC-Unique: upYIHCrzP-GKTxDhGFkNyg-1 Received: by mail-ed1-f71.google.com with SMTP id m15-20020a056402430fb0290399da445c17so3243788edc.8 for ; Tue, 06 Jul 2021 09:41:52 -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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cIGfRNQJl5ggKMxg79cS0CRRyE/NvGU9bwegJhnpmik=; b=i3A1zWHnDTK99mJC7uSbO8VeZHGDCoOMki5g5Q6f6WWnHdE8URhs8Ad8iI8aw2VL/L W9t4UV8pP8fwdivUoBI3OHK7Okzs3Qu7HQb8UtXoL1y+blcQJuBP42pve8nhKCareX94 4SkhMwp7nu51V3hQlR0tGRvUKQP9ysQwekCpqV6Pzl5f0hAGvybPG8IU9h7HB7SRmoyK QDGVs5/7LcY6tWBGs/mxu9h4DYbUjR8C4MXBKQk5sk42jGbJAyHCYfflG4E4eki01L0u ZGXdgYEQ3+oSl5r6sdGiJYAn1S6RM8QteX08vcQF8uLi/RkFNTyK253BLj9XA74+z4pG 46kQ== X-Gm-Message-State: AOAM530z2NeNuFRSc6HR0/nq0P+zT+Vkae+UZIF7KO4IPA53V20iYfYR 8o1Pyp+i9DcK/nvqmAZm/JXTioMkyLMyqCFuff3adiW7nBMQHfyumGqp4kkBItQxKOyZMJTPYbm 4LPPsqRMXtW/MxjVZokhTiPPa X-Received: by 2002:a17:906:2b85:: with SMTP id m5mr19699912ejg.141.1625589373095; Tue, 06 Jul 2021 09:36:13 -0700 (PDT) X-Received: by 2002:a17:906:2b85:: with SMTP id m5mr19699873ejg.141.1625589372890; Tue, 06 Jul 2021 09:36:12 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id hw6sm6009886ejc.37.2021.07.06.09.36.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jul 2021 09:36:12 -0700 (PDT) Subject: Re: [PATCH v4 0/4] Add support for XMM fast hypercalls To: Siddharth Chandrasekaran Cc: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Siddharth Chandrasekaran , Alexander Graf , Evgeny Iakovlev , Liran Alon , Ioannis Aslanidis , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org References: <20210630115559.GA32360@u366d62d47e3651.ant.amazon.com> <20210706151535.GA28697@u366d62d47e3651.ant.amazon.com> From: Paolo Bonzini Message-ID: Date: Tue, 6 Jul 2021 18:36:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210706151535.GA28697@u366d62d47e3651.ant.amazon.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/07/21 17:15, Siddharth Chandrasekaran wrote: > On Tue, Jul 06, 2021 at 05:04:59PM +0200, Paolo Bonzini wrote: >> On 30/06/21 13:56, Siddharth Chandrasekaran wrote: >>> 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? >> >> They are part of 5.14 already. :) > > Ahh, I see them now. I was expecting them to show up in master - that was > the confusion. No problem! The patches for the rc period (in your case it was 5.13) go in master, while yours ended up in next (destined for 5.14). I usually update master only after 5.14-rc1 is out. In this case I didn't even have access to kvm.git on the day that Linus pulled your patches into his tree. Paolo