From: Ian Campbell Subject: Re: [PATCH 25/45] xen: arm: separate guest user regs from internal guest state. Date: Thu, 14 Feb 2013 13:57:10 +0000 Message-ID: <1360850230.20449.381.camel@zakaz.uk.xensource.com> 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> <20130214135006.GT83752@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130214135006.GT83752@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: "xen-devel@lists.xen.org" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 2013-02-14 at 13:50 +0000, Tim Deegan wrote: > 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. I did wonder that. > And I guess we'd like to be able to > tinker with the stack format without worrying about the ABI. But this. > So I > withdraw the question. :) :-) > > Tim. >