Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp583632pxf; Thu, 8 Apr 2021 08:57:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVDkBo9jfcvkNnl8SWPU7tYDmMeHxx/tIQJl6++nzs1hQxHh+8TjHaeu+wmCbW91sFR5sJ X-Received: by 2002:a17:907:7785:: with SMTP id ky5mr11064912ejc.133.1617897450263; Thu, 08 Apr 2021 08:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617897450; cv=none; d=google.com; s=arc-20160816; b=K8Ymnwgpcxk1xpgXIe4Sn2D/QOCqnWAUiy7Pjm1rDX4N01vqXRwkzRflUFLSvyvzCA w56YclPIp9+yGEQI5ORF4jxqyIzWQO6ZvhgJHheYVH3IDtgLEJHpwI5B72Z2zXmk5ZO1 FiRE4po+cNryBRZc1xSDG6NbQOaAD3zk/bwpd+ONmkRKJcZvw078HbGg+GjdwZBhbHN7 6jD5XLIgo9evR5amSLcgzonhdW7WqLb1mVyxSusMoSquLJEIKlSr5KYKm10sG9WWvl2x HtvOCedcwg9ZkLfcD0WwHG7EhcigSKGentD1ioPaNDX43LysjfN9VdYzP4GCb/Td8Kk3 IfCA== 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:cc:to:from:date:subject :dkim-signature; bh=tnSfbdlPVrnoXs/CcVWL+1OsISLvlQaieFsHWyaOUNM=; b=rlR2/7Z/WH4pu2eEIEJe2c67wcyfRSEq3uzhRtcmsx+t0UeWuiCqBV60IvSI71zuFp dYz3C5+/hGNtB+XsWXwST2QEg0AhiuIsrgoeK6lkt1VPxjCxwBpY/0jvO2B/mLBsM6Qy nZNBlic3BVNwdPKc3fz/0/HK2xpdqW7ZnAjT8yDOzhk/aBjswF2pk3r6C5MLD23uSOTO jwgJ6/pJ1wIXxMrHCTiECWR4jJ224kmSFCEGl10uzuMw5syyTUWhPclIBubSqwbNB8+h 84lbKLS0D29ydjfu32X765xlZ/V6XAWbIK0f91kNDkN5TWMXW7auA9Vm3Rso0qRmnVpM 9UrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=AOs+UGYw; 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 i11si14455954edk.574.2021.04.08.08.57.07; Thu, 08 Apr 2021 08:57:30 -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=AOs+UGYw; 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 S232031AbhDHPzN (ORCPT + 99 others); Thu, 8 Apr 2021 11:55:13 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:5339 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbhDHPzM (ORCPT ); Thu, 8 Apr 2021 11:55:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1617897301; x=1649433301; h=date:from:to:cc:message-id:references:mime-version: in-reply-to:subject; bh=tnSfbdlPVrnoXs/CcVWL+1OsISLvlQaieFsHWyaOUNM=; b=AOs+UGYway5XaaaKu8gJKCc6aONtLi+VhI+s7l8Vvxzz2XgBi8PAtZBQ OI9BRfWgE3ODAnEFCwzVrLdTQwe+SweSypQWVjwioGC59Vy5fqcz9s12U DCjOwLnZ9P98re/Jlbt7mp4DKZeYTnuLSQ9AYcvtKwU+itwA9bnMRES2o 4=; X-IronPort-AV: E=Sophos;i="5.82,206,1613433600"; d="scan'208";a="101984579" Subject: Re: [PATCH 0/4] Add support for XMM fast hypercalls Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-c7f73527.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 08 Apr 2021 15:54:56 +0000 Received: from EX13D28EUC003.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-1e-c7f73527.us-east-1.amazon.com (Postfix) with ESMTPS id 91701C138C; Thu, 8 Apr 2021 15:54:54 +0000 (UTC) Received: from u366d62d47e3651.ant.amazon.com (10.43.162.104) by EX13D28EUC003.ant.amazon.com (10.43.164.43) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 8 Apr 2021 15:54:46 +0000 Date: Thu, 8 Apr 2021 17:54:43 +0200 From: Siddharth Chandrasekaran To: Paolo Bonzini CC: Wei Liu , , , , , , , , , , , , , , , , , , Message-ID: <20210408155442.GC32315@u366d62d47e3651.ant.amazon.com> References: <20210407212926.3016-1-sidcha@amazon.de> <20210408152817.k4d4hjdqu7hsjllo@liuwe-devbox-debian-v2> <033e7d77-d640-2c12-4918-da6b5b7f4e21@redhat.com> <20210408154006.GA32315@u366d62d47e3651.ant.amazon.com> <53200f24-bd57-1509-aee2-0723aa8a3f6f@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <53200f24-bd57-1509-aee2-0723aa8a3f6f@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.43.162.104] X-ClientProxiedBy: EX13D07UWA002.ant.amazon.com (10.43.160.77) To EX13D28EUC003.ant.amazon.com (10.43.164.43) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 08, 2021 at 05:48:19PM +0200, Paolo Bonzini wrote: > On 08/04/21 17:40, Siddharth Chandrasekaran wrote: > > > > > 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. > > > > No, please don't do this. Check the feature bit(s) before you issue > > > > hypercalls which rely on the extended interface. > > > Perhaps Siddharth should clarify this, but I read it as Hyper-V being > > > buggy and using XMM arguments unconditionally. > > The guest is at fault here as it expects Hyper-V to consume arguments > > from XMM registers for certain hypercalls (that we are working) even if > > we didn't expose the feature via CPUID bits. > > What guest is that? It is a Windows Server 2016. 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