From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFORR-0007CJ-4N for qemu-devel@nongnu.org; Thu, 07 Aug 2014 10:13:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFORK-00013H-RR for qemu-devel@nongnu.org; Thu, 07 Aug 2014 10:13:17 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:40967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFORK-000134-Lv for qemu-devel@nongnu.org; Thu, 07 Aug 2014 10:13:10 -0400 Message-ID: <53E38974.6080600@codeaurora.org> Date: Thu, 07 Aug 2014 10:13:08 -0400 From: Christopher Covington MIME-Version: 1.0 References: <20140807104233.GD14001@redhat.com> <20140807112940.GE14001@redhat.com> <20140807114303.GM1302@redhat.com> <53E38285.3060706@codeaurora.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] aarch64 & gdb: warning: while parsing target description (at line 1): Could not load XML document "arm-core.xml" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "Richard W.M. Jones" , QEMU Developers On 08/07/2014 09:53 AM, Peter Maydell wrote: > On 7 August 2014 14:43, Christopher Covington wrote: >> On 08/07/2014 08:03 AM, Peter Maydell wrote: >>> No, because at the moment our AArch64 TCG implementation >>> (and the way we configure KVM) assumes that the highest >>> exception level is running AArch64. We might fix this eventually, >>> though. >> >> When EL3 and EL2 support is added, the bootloader will >> presumably have to be modified to make the switch from >> EL3 into EL2. In my experience switching into AArch32 >> EL2 instead of AArch64 EL2 is an easy option to add. > > I think the biggest difficulty is not the code to actually > do the switch but figuring out what the command line > UI to request "start in AArch32" ought to be and how that > then gets plumbed into the code to do the actual work. ELF-32 file passed to -kernel seems to me like a reasonable place to start. Christopher -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation.