From: Tim Deegan Subject: Re: [PATCH 25/45] xen: arm: separate guest user regs from internal guest state. Date: Thu, 14 Feb 2013 13:50:06 +0000 Message-ID: <20130214135006.GT83752@ocelot.phlegethon.org> References: <1358956576.17440.60.camel@zakaz.uk.xensource.com> <1358956611-8432-25-git-send-email-ian.campbell@citrix.com> <20130214131041.GR83752@ocelot.phlegethon.org> <1360849103.20449.371.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1360849103.20449.371.camel@zakaz.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: "xen-devel@lists.xen.org" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org At 13:38 +0000 on 14 Feb (1360849103), Ian Campbell wrote: > On Thu, 2013-02-14 at 13:10 +0000, Tim Deegan wrote: > > So this ends up with two different layouts for core regs, one public and > > one private, both of which have the padding/unions to allow 64-bit and > > 32-bit to coexist. Can we really not re-use them? > > The 32-bit internal version doesn't have padding because that makes > entry.S hellish, and wastes a bunch of hypervisor memory. Understood - but could the 64-bit on-stack format and the public interface share some code? Maybe that's just as ugly as having two very-similar register structs. And I guess we'd like to be able to tinker with the stack format without worrying about the ABI. So I withdraw the question. :) Tim.