From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9413CC07E96 for ; Tue, 6 Jul 2021 16:36:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 768B061C3C for ; Tue, 6 Jul 2021 16:36:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230019AbhGFQiz (ORCPT ); Tue, 6 Jul 2021 12:38:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:49407 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbhGFQiy (ORCPT ); Tue, 6 Jul 2021 12:38:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625589375; 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=R0xRA+kkTgdlHJ91yJCW+hxYS+nc2KjSwFjgXh7RqDu57Jbsh4YC8+wBF15zYCP/zGARP6 CBzGWYz+Fel+2KEo3dikreain0E/vCKH6bFnR4cJUox2tbft6XHiwLu23JW48nc54aRulb rNR96IlWu5UARCRXSmtGkuQNbpqaWok= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-192-F4f_T5sONHOseO2C04RcBQ-1; Tue, 06 Jul 2021 12:36:14 -0400 X-MC-Unique: F4f_T5sONHOseO2C04RcBQ-1 Received: by mail-ed1-f70.google.com with SMTP id o8-20020aa7dd480000b02903954c05c938so11121118edw.3 for ; Tue, 06 Jul 2021 09:36:14 -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=BYPv0nCeMyVidVwA66eVEpPco7OiehFO4ZhA6bqc14gFukJdwWICImYijoRxrfuUFJ AIJYO8SiuC52A732/iA3FNuIvXcQk+g7YrzI8gHOTDo1JvOFIHBCpbsgFPnSdRmOVY9B XPmFFL9TAduWQVu9IYLYb2ZXIK7X5OVecouLU7nr3bKpBTljx30mBMQMoMwcx0g8bwV6 XVSGloxZatEzdzPbL2iwXqqw/dDXynDwzKbjjn7nFac11RM+BYzditnwZGSYiggOeNNJ JuRg78Wv9CQPHaIBmNmHaVKIZMIkypjDSof28Z+EupnCKC1Xlzx0N7ANaCVElc/rw9V3 Ra8Q== X-Gm-Message-State: AOAM533tvIpCz2PE84GufXy/WJf7Wk/U28/uQgo1br/kujmKj9ttTtYy kptabASp0D91TkFT0BKbMuHaoJ7yEX6l8xx+bk0ep5f59muSg1iRSI8K6Vj8J7+IsBti89ncDsv g4B+jjpJ8zqGfTd2mhll9usD6 X-Received: by 2002:a17:906:2b85:: with SMTP id m5mr19699899ejg.141.1625589373094; Tue, 06 Jul 2021 09:36:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwklRUDSeiurdb2sBPdof7jI8gOjgmNWus52vqj/2qJ07LO5gCWoAEqWQqjNpNwlfPHkYs8oQ== 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-hyperv@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