Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4741394pxv; Tue, 6 Jul 2021 08:07:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKmA3DXWDoiyV2IpRcb8+/pJVPPH3JJW2BDgxNI+q+e9sD0kDhnGHrO5IdPAf5LutOgxqR X-Received: by 2002:a17:906:d553:: with SMTP id cr19mr17177980ejc.233.1625584028689; Tue, 06 Jul 2021 08:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625584028; cv=none; d=google.com; s=arc-20160816; b=LoszvQ78RVLfpq1nitT0L+mpVYvOHqs1aoo6QVhKOO/o5UoonNqDk1OvW3jxMBAQja o0Hi+AafnRKQ5offAFEB41NeK+9Anu9w5sRkID0pj9TsYi7Gh6SJjRcmhFCSsbBgZ2RJ x42hBhU3gbYImn++POUOE2YjodJwb3gDCLIteyjrFRW37gOf42vOUyru4lg4A2W21qjn fX4tzsf56DPJi5h4Cm//7/JnXByahseNoKV5Ls+Cvue+iXyJHXWsAWR8z5O7mluXsr1T 5htlCbHjn4KQZR2mY1+SwGCEIh6Q7ZiS7TXRAxJU7DDk7bs4vgg7eC+srODFeFVOT0kW /LHA== 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=q2uDQFfbEEnoXVD07oyEydX792HJ7X0nk2qGNk3vVko=; b=Lj545LUGOo9I5ixZltGwVTDo7B2+yma1rwxeOHEto9MBhy5Y0YyViXbpD2kw3o4yU4 5AQbbYoqHDiNP7Ip2VG4atoTXYH6dj2BjZ1+rNSphGKixYYC7QMkin1MtRfFAXmbwHXK 8wuslhHdv893MhFc3jqSIfuNIfLb89u8L+PFfVEKMCPppWs3o484ML+JKiHXgHFuwYsC FB7b4gZ+6RGN8Lw78gGJJqrOgoISUBNmgFWIFzJMsMo1LKggDAO636vYzbqCo0Kbqndp ycXUDpRqH4M8zuoXPNEblbmpTwLEMwGyjxu81Gvy0VCAh9AmNmw3H2/5eDLgVf49JVb7 596Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QCyFKiWD; 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 d26si15173851ejz.183.2021.07.06.08.06.44; Tue, 06 Jul 2021 08:07:08 -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=QCyFKiWD; 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 S231715AbhGFPHp (ORCPT + 99 others); Tue, 6 Jul 2021 11:07:45 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:53270 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232118AbhGFPHo (ORCPT ); Tue, 6 Jul 2021 11:07:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625583904; 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=q2uDQFfbEEnoXVD07oyEydX792HJ7X0nk2qGNk3vVko=; b=QCyFKiWDfYXMtHO7p+babVcsidcXWwcW7gcJh0fVaYxEDO5QliVvBuw7y2BSz3NXK8awoX q+tu7iNfdjr0uUgSkcl2GM1jAarmNkqsyQLo554pCXXpivnjBeE7MulsH0wJaA+BmZw+qN CezOT0hzWTWIkRTE5kxtv3/oXtUzDps= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-119-SewjmqIeO3ODXRS1M5F3wA-1; Tue, 06 Jul 2021 11:05:03 -0400 X-MC-Unique: SewjmqIeO3ODXRS1M5F3wA-1 Received: by mail-ed1-f72.google.com with SMTP id m21-20020a50ef150000b029039c013d5b80so815035eds.7 for ; Tue, 06 Jul 2021 08:05:03 -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=q2uDQFfbEEnoXVD07oyEydX792HJ7X0nk2qGNk3vVko=; b=SkJ8DWBWlZdi9F4U0pT7/Zzc1OQboRdNobPy+Dzh7l+BGbZIrpRnEEz6u6RgHzB1NW A0mcWw4Ne37kjAUVuntQXsBu/aTxzV50jnxwx4srYXXoZwHF6Plb2D43eDKzsPRXQLgo XjZ12OIMzBa2wP2qB7pxAOBMQO1GM9TUGT08DjTAq9eeCmNLK5gXWFzUgJ8moQ+JbIIV iPOP8k6hM2QBChoDrw26EgTDNv/X59K1lRB/u50lwk+gbzrRvDGDvFW31xK+4nTCkNXM HvfWdWSOZSDXzOkfr/pb54Tb5bP+M3f2cVX08UYDrLo4SPKHgca/VoNW1a15jjkNMxJa yY9w== X-Gm-Message-State: AOAM531Qo9z95ncypRzVhGtrOumeCpBhIm8mdyEp4dVzH0R4DqCyCPtW XIHOzYMQBr/FcYekZCbOIXjYnmnkpHRbbF5BwlhF5RZzFSM+gvgEFBy3hgyeSHR/gZxJmB40pFi bXXsxU9JZ1fZzbRA9qbsM2Yhb X-Received: by 2002:a50:f0cf:: with SMTP id a15mr23385494edm.347.1625583901923; Tue, 06 Jul 2021 08:05:01 -0700 (PDT) X-Received: by 2002:a50:f0cf:: with SMTP id a15mr23385458edm.347.1625583901736; Tue, 06 Jul 2021 08:05:01 -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 n11sm6026214ejg.43.2021.07.06.08.05.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jul 2021 08:05:01 -0700 (PDT) Subject: Re: [PATCH v4 0/4] Add support for XMM fast hypercalls To: Siddharth Chandrasekaran , "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 Cc: 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> From: Paolo Bonzini Message-ID: Date: Tue, 6 Jul 2021 17:04:59 +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: <20210630115559.GA32360@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 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. :) Paolo