Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAUcd-0001kV-EW for qemu-devel@nongnu.org; Fri, 07 May 2010 16:58:11 -0400 Received: from [140.186.70.92] (port=40541 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAUcb-0001jL-RV for qemu-devel@nongnu.org; Fri, 07 May 2010 16:58:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAUca-0006Mk-FZ for qemu-devel@nongnu.org; Fri, 07 May 2010 16:58:09 -0400 Received: from mail.serverraum.org ([78.47.150.89]:57014) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAUca-0006Lr-Al for qemu-devel@nongnu.org; Fri, 07 May 2010 16:58:08 -0400 From: Michael Walle Date: Fri, 7 May 2010 22:57:57 +0200 References: <201004222338.06194.michael@walle.cc> <4BD14B05.3050301@web.de> In-Reply-To: <4BD14B05.3050301@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201005072257.57198.michael@walle.cc> Subject: [Qemu-devel] Re: Commit 9c9bb6c89d4 breaks code execution from flash List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel@nongnu.org [sorry didn't see the CC to the mailinglist] Am Friday 23 April 2010 09:23:49 schrieb Jan Kiszka: > Michael Walle wrote: > > Hi Jan, > > > > your commit "Optimize consecutive CFI02 writes by remapping memory > > lazily" breaks the code execution from flash. > > > > If you write to the flash, the flash will switch into I/O mode. Now if > > code is executed from this flash, a cpu_abort will be raised ("Trying to > > execute code outside RAM or ROM"). > > Hmm, guess I didn't test execute-in-place back then. Do you happen to > have a test case for this scenario? I'll look into this. Only for my qemu-lm32 port.. But reading the flash id, while executing this code from flash should trigger the bug. -- michael