From: Ian Jackson Subject: Re: [PATCH 4/4] xen/arm: clean and invalidate all guest caches by VMID after domain build. Date: Thu, 30 Jan 2014 11:26:35 +0000 Message-ID: <21226.14059.736402.79784@mariner.uk.xensource.com> References: <1390997452.31814.90.camel@kazak.uk.xensource.com> <1390997486-3986-4-git-send-email-ian.campbell@citrix.com> <52E9098B0200007800117EC5@nat28.tlf.novell.com> <1391004947.31814.119.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1391004947.31814.119.camel@kazak.uk.xensource.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: Ian Campbell Cc: keir@xen.org, stefano.stabellini@eu.citrix.com, julien.grall@linaro.org, tim@xen.org, george.dunlap@citrix.com, xen-devel@lists.xen.org, Jan Beulich List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH 4/4] xen/arm: clean and invalidate all guest caches by VMID after domain build."): > On Wed, 2014-01-29 at 13:00 +0000, Jan Beulich wrote: >>> On 29.01.14 at 13:11, Ian Campbell wrote: > > > +int xc_domain_cacheflush(xc_interface *xch, uint32_t domid) > > > + domctl.domain = (domid_t)domid; > > > > Why can't the function parameter be domid_t right away? > > It seemed that the vast majority of the current libxc functions were > using uint32_t for whatever reason. What's the point of the cast, though ? Ian.