From: Ian Campbell Subject: Re: [PATCH] xen: arm: document which hypercalls (and subops) are supported on ARM Date: Tue, 23 Jul 2013 17:59:48 +0100 Message-ID: <1374598788.6623.123.camel@hastur.hellion.org.uk> References: <1374517040-10822-1-git-send-email-ijc@hellion.org.uk> <1374588861.6623.104.camel@hastur.hellion.org.uk> 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@citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2013-07-23 at 16:34 +0100, Stefano Stabellini wrote: > On Tue, 23 Jul 2013, Ian Campbell wrote: > > On Tue, 2013-07-23 at 12:33 +0100, Stefano Stabellini wrote: > > > > > You are missing all the common tmem ops. > > > > tmem_ops are not hooked up in arm_hypercall_table, so they are currently > > not supported. We should add them here when we add the necessary > > support. ISTR stubbing out some functions which are used by tmem > > (steal_page and donate_page perhaps?) so it's not just a case or wiring > > it up either. > > Right.. I was confused by the fact that we do compile tmem_op in Linux, > even though XEN_TMEM is actually not available on ARM or ARM64 I started from the other end and looked at what the hypervisor actually implements rather than what Linux calls. It's useful to validate from both angles though. For now I think we should stick with documenting what the hypervisor provides even if the kernel might try and optimistically call other stuff too. Ian.