From: Ian Campbell Subject: Re: [PATCH v2] xen: arm: clarify cacheability requirements of hypercall arguments. Date: Wed, 18 Dec 2013 13:49:21 +0000 Message-ID: <1387374561.28680.22.camel@kazak.uk.xensource.com> References: <1387367686-27428-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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@linaro.org, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-12-18 at 11:59 +0000, Stefano Stabellini wrote: > On Wed, 18 Dec 2013, Ian Campbell wrote: > > Accepting hypercall arguments which are either consistently in cached or > > uncached is tricky and/or potentially slow, requiring a guest mapping lookup > > to determine whether/when to do a cache clean or invalidate. > > > > There are very few reasons, and no current use cases in practice, for a guest > > to use uncached memory for their hypercall arguments. Therefore mandate that > > all hypercall arguments must be mapped inner-cacheable. > > > > Do not place any restriction on the outer-cacheability or on the cache > > fill/flush strategy used. > > > > If use cases arise then we can consider specific exemptions to this rule. > > > > Signed-off-by: Ian Campbell > > Acked-by: Stefano Stabellini I don't think this needs a freeze exception. applied, thanks.