From: Ian Campbell Subject: Re: [RFC PATCH 2/2] xen/arm: introduce XENFEAT_grant_map_11 Date: Wed, 16 Jul 2014 16:59:32 +0100 Message-ID: <1405526372.1087.48.camel@kazak.uk.xensource.com> References: <1404834794-16055-2-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1404834794-16055-2-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: julien.grall@citrix.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, 2014-07-08 at 16:53 +0100, Stefano Stabellini wrote: > +/* Xen also maps grant references at pfn = mfn */ > +#define XENFEAT_grant_map_11 12 David also mentioned this but "11" is not a very good rendering of 1:1. I know we use this internally within both Xen and Linux but perhaps at the hypercall API layer we could use "identity" or something instead? It might be worth trying to include a word which implies "in addition to the mapping you asked for" as well, for clarity. > + > #define XENFEAT_NR_SUBMAPS 1 > > #endif /* __XEN_PUBLIC_FEATURES_H__ */