From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnNLD-0005YP-An for qemu-devel@nongnu.org; Thu, 22 May 2014 03:23:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnNL7-0005Sy-0X for qemu-devel@nongnu.org; Thu, 22 May 2014 03:23:03 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:54753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnNL6-0005SM-Qk for qemu-devel@nongnu.org; Thu, 22 May 2014 03:22:56 -0400 Received: by mail-lb0-f170.google.com with SMTP id w7so2345543lbi.1 for ; Thu, 22 May 2014 00:22:55 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140522004842.GE30982@hostname> References: <1400491383-6725-1-git-send-email-edgar.iglesias@gmail.com> <1400491383-6725-17-git-send-email-edgar.iglesias@gmail.com> <20140522004842.GE30982@hostname> From: Peter Maydell Date: Thu, 22 May 2014 08:22:35 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v3 16/22] target-arm: A64: Generalize ERET to various ELs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: Rob Herring , Peter Crosthwaite , Fabian Aggeler , QEMU Developers , Alexander Graf , John Williams , =?UTF-8?B?QWxleCBCZW5uw6ll?= , Christoffer Dall , Richard Henderson On 22 May 2014 01:48, Edgar E. Iglesias wrote: > On Wed, May 21, 2014 at 08:20:20PM +0100, Peter Maydell wrote: >> it needs to also fix the bit in the "returning to an exception >> level which is 32 bit" which says "new_el = 0" since that's >> not guaranteed to be true any more. (Also I think the register >> mapping for AArch32 EL2/EL1 needs handling correctly.) > > I've tried to stay away from touching too much of the AArch32 > code as I haven't had a setup to test 64/32 transitions > beyond a64/el1 and a32/el0. OK; if we put in a TODO comment that we assume EL1..EL3 are 64 bit currently, we'll have a marker to come back and fix later. thanks -- PMM