From: Jean Guyader Subject: Re: [PATCH] Linux: 6 arguments hypercall v3 Date: Fri, 24 Jun 2011 23:15:13 +0100 Message-ID: <20110624221513.GA8916@spongy.cam.xci-test.com> References: <20110624151324.GB356@spongy.cam.xci-test.com> <4E04C8AA.2040506@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <4E04C8AA.2040506@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Ian Campbell , "xen-devel@lists.xensource.com" , Jean Guyader , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On 24/06 06:26, Jeremy Fitzhardinge wrote: > On 06/24/2011 08:13 AM, Jean Guyader wrote: > > Hi, > > > > This patch implements the 6 arguments hypercalls. > > The sixth argument is passed using ebp or r9. > > > > Signed-off-by: Jean Guyader > > Reviewed-by: Ian Campbell > > Looks OK, but I am still a bit worried about triggering compiler bugs > with register pressure. What compilers have you tested? > I only tested it gcc 4.4. We could still use the v2 which is not as nice, but it doesn't try to load eax twice. Let me know which one you will feel better about. > What hypercalls have 6 args? > I'm planning on upstream v4v which is a inter vm memory transport based on hypervisor memcpy. The send hypercall takes 6 arguments. Jean