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.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 64765C433E2 for ; Tue, 19 May 2020 15:06:24 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 40A3720825 for ; Tue, 19 May 2020 15:06:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40A3720825 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jb3oP-0006Tb-Ov; Tue, 19 May 2020 15:05:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jb3oO-0006TW-IB for xen-devel@lists.xenproject.org; Tue, 19 May 2020 15:05:44 +0000 X-Inumbo-ID: 356a1880-99e2-11ea-b9cf-bc764e2007e4 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 356a1880-99e2-11ea-b9cf-bc764e2007e4; Tue, 19 May 2020 15:05:43 +0000 (UTC) Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: 7OfRBbwAFIdeoyZ4RogUx6px3o7TbyFjVkKaHsBPJP1ELm20ETXeFANHeCnqM8HBlCxJiTtRi7 al5H0E7VPfu8hDMEruEhrMJtQSdW1m6RloXpHA0AcexNYL40xcz2GhuScUzjqiztaTI8BXJWgm 4RhdM98lIEXvHqGSP8V2AZWUUxOnl1n/CCNl1bogauPRyWnsDyG8Pmne8VVK8vKu4ODeMPNMxF JZEQGZcWk6hQKjwFkKlDF73L/ujYEXLbOoh6TR8nklzFALCUIus4ceqSySObVvVHeRNKJdz1K6 gWw= X-SBRS: 2.7 X-MesageID: 18599821 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,410,1583211600"; d="scan'208";a="18599821" From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <24259.62913.259268.987283@mariner.uk.xensource.com> Date: Tue, 19 May 2020 16:05:37 +0100 To: Julien Grall Subject: Re: [PATCH 6/7] xen/guest_access: Consolidate guest access helpers in xen/guest_access.h In-Reply-To: References: <20200404131017.27330-1-julien@xen.org> <20200404131017.27330-7-julien@xen.org> <041a9f9f-cc9e-eac5-cdd2-555fb1c88e6f@xen.org> <69deb8f4-bafe-734c-f6fa-de41ecf539d2@xen.org> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Wei Liu , Andrew Cooper , Julien Grall , George Dunlap , Jan Beulich , "xen-devel@lists.xenproject.org" , Volodymyr Babchuk , Roger Pau Monne Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hi. My attention was drawn to this thread. As I understand it, everyone is agreed that deduplicating the implementation is good (I also agree). The debate is only between: 1. Put it in xen/ until an arch comes along that needs something different, at which point maybe introduce an asm-generic-style thing with default implementations. 2. Say, now, that this is a default implementation and it should go in asm-generic. My starting point is that Julien, as the primary author of this cleanup, should be given leeway on a matter of taste like this. (There are as I understand it no wider implications.) Also, ISTM that it can be argued that introducing a new abstraction is an additional piece of work. Doing that is certainly not hampered by Julien's change. So that would be another reason to take Julien's patch as-is. On the merits, I don't have anything to add to the arguments already presented. I am considerably more persuaded by Julien's arguments than Jan's. So on all levels I think this commit should go in, unless there are other concerns that have not been discussed here ? Thanks, Ian.