From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCMPP-0006qE-K7 for qemu-devel@nongnu.org; Wed, 30 Jul 2014 01:26:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCMPK-0001AQ-6K for qemu-devel@nongnu.org; Wed, 30 Jul 2014 01:26:39 -0400 Received: from mail-qa0-x22e.google.com ([2607:f8b0:400d:c00::22e]:48692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCMPK-00018U-1A for qemu-devel@nongnu.org; Wed, 30 Jul 2014 01:26:34 -0400 Received: by mail-qa0-f46.google.com with SMTP id v10so785618qac.19 for ; Tue, 29 Jul 2014 22:26:32 -0700 (PDT) Date: Wed, 30 Jul 2014 15:24:23 +1000 From: "Edgar E. Iglesias" Message-ID: <20140730052423.GC13728@toto> References: <20140728074056.4555.84832.malonedeb@gac.canonical.com> <20140728074056.4555.84832.malonedeb@gac.canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140728074056.4555.84832.malonedeb@gac.canonical.com> Subject: Re: [Qemu-devel] [Bug 1349277] [NEW] AArch64 emulation ignores SPSel=0 when taking (or returning from) an exception at EL1 or greater List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1349277 <1349277@bugs.launchpad.net> Cc: qemu-devel@nongnu.org On Mon, Jul 28, 2014 at 07:40:56AM -0000, T McIntosh wrote: > Public bug reported: > > The AArch64 emulation ignores SPSel=0 when: > > (1) taking an interrupt from an exception level greater than EL0 (e.g., > EL1t), > > (2) returning from an exception (via ERET) to an exception level greater > than EL0 (e.g., EL1t), with SPSR_ELx[SPSel]=0. > > The attached patch fixes the problem in my application. Hi, Patches 1-3 in the following series fix the this problem. http://lists.gnu.org/archive/html/qemu-devel/2014-06/msg03675.html Cheers, Edgar