From: Ian Campbell Subject: [PATCH v3 00/15] xen: arm: 64-bit dom0 kernel support Date: Fri, 19 Jul 2013 12:44:27 +0100 Message-ID: <1374234267.13645.54.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: julien.grall@citrix.com, tim@xen.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Initially we intended this to go into 4.3 but it didn't make it, so here it is rebased onto current staging. Other than the rebasing the only significant change is a major howler in the entry.S code -- we weren't restoring any of the outer stack frame guest state for 32- or 64-bit guests! Most of the 32-bit guest state is in the inner frame and the outer frame contains "only" the SPSR_* registers. Amazing how far you can get without context switching those! For a 64-bit guest the outer frame includes ELR_el1, so the SMC trap injection code exposed the problem... Ian.