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=-0.3 required=3.0 tests=BUG6152_INVALID_DATE_TZ_ABSURD,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID, INVALID_DATE_TZ_ABSURD,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 28F47C5DF61 for ; Thu, 7 Nov 2019 09:10:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6D262178F for ; Thu, 7 Nov 2019 09:10:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WenmaUFl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E6D262178F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:From:Date: MIME-Version:Subject:To:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ati3c99u8ZEWlaujzGRKQeueKfnkA5nKZfzH6CJC5Vw=; b=WenmaUFlfllJTFFCLphopzogT lAwKQR9acce1vPuVorwIqwn9F4HOwoXysBhLDZcAY75IW3o0B1LbVCmQYdRUDdfD4SHH9WtYCAzqa mke5UiI3lDNaftTwC04bVrt4aezyC2pYpz4AFDlQiJVAjh4Dhu2VZYT8jJLYT8OFM+Ko/nD/ova6q /d7UOf9jThz3lSRJPhS5gqioPEZjNN5Vw90J/y68m5Y2AMnXQ5aIO5jObIo28wMfkCbAHVoiap0yk KKVjiTI5BnFThMnFQfH+ak5x8erk04IvYKi5grbgRlw+pctPNKFJAb5rey+svACtv9D8kHemqjw1C pXHPRLAQg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSdoS-0007oF-4J; Thu, 07 Nov 2019 09:10:44 +0000 Received: from inca-roads.misterjones.org ([213.251.177.50]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSdoO-0007ma-SW for linux-arm-kernel@lists.infradead.org; Thu, 07 Nov 2019 09:10:42 +0000 Received: from www-data by cheepnis.misterjones.org with local (Exim 4.80) (envelope-from ) id 1iSdoJ-0002WC-Ai; Thu, 07 Nov 2019 10:10:35 +0100 To: Michael Kelley Subject: RE: [PATCH v5 2/8] arm64: hyperv: Add hypercall and register access functions X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Date: Thu, 07 Nov 2019 10:19:56 +0109 From: Marc Zyngier In-Reply-To: References: <1570129355-16005-1-git-send-email-mikelley@microsoft.com> <1570129355-16005-3-git-send-email-mikelley@microsoft.com> <8cdc86e5bcf861c74069e0d349910c94@www.loen.fr> Message-ID: X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/0.7.2 X-SA-Exim-Connect-IP: X-SA-Exim-Rcpt-To: mikelley@microsoft.com, will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, marcelo.cerri@canonical.com, kys@microsoft.com, sunilmut@microsoft.com, boqun.feng@gmail.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191107_011041_064978_58E75DA7 X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, linux-hyperv@vger.kernel.org, "boqun.feng" , catalin.marinas@arm.com, jasowang@redhat.com, linux-kernel@vger.kernel.org, marcelo.cerri@canonical.com, olaf@aepfle.de, gregkh@linuxfoundation.org, apw@canonical.com, devel@linuxdriverproject.org, vkuznets , KY Srinivasan , will@kernel.org, Sunil Muthuswamy , linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2019-11-06 19:08, Michael Kelley wrote: > From: Marc Zyngier Sent: Wednesday, November 6, > 2019 2:20 AM >> >> On 2019-10-03 20:12, Michael Kelley wrote: >> > Add ARM64-specific code to make Hyper-V hypercalls and to >> > access virtual processor synthetic registers via hypercalls. >> > Hypercalls use a Hyper-V specific calling sequence with a non-zero >> > immediate value per Section 2.9 of the SMC Calling Convention >> > spec. >> >> I find this "following the spec by actively sidestepping it" counter >> productive. You (or rather the Hyper-V people) are reinventing the >> wheel (of the slightly square variety) instead of using the standard >> that the whole of the ARM ecosystem seems happy to take advantage >> of. >> >> I wonder what is the rational for this. If something doesn't quite >> work for Hyper-V, I think we'd all like to know. >> > > I'll go another round internally with the Hyper-V people on this > topic and impress upon them the desire of the Linux community to > have Hyper-V adopt the true spirit of the spec. But I know they are > fairly set in their approach at this point, regardless of the > technical > merits or lack thereof. Hyper-V is shipping and in use as a > commercial > product on ARM64 hardware, which makes it harder to change. I > hope we can find a way to avoid a complete impasse .... Hyper-V shipping with their own calling convention is fine by me. Linux having to implement multiple calling conventions because the Hyper-V folks refuse (for undisclosed reason) to adopt the standard isn't fine at all. HV can perfectly retain its interface for Windows or other things, but please *at least* implement the standard interface on which all existing operating systems rely. Thanks, M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel