qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Walle <michael@walle.cc>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Commit 9c9bb6c89d4 breaks code execution from flash
Date: Fri, 7 May 2010 22:57:57 +0200	[thread overview]
Message-ID: <201005072257.57198.michael@walle.cc> (raw)
In-Reply-To: <4BD14B05.3050301@web.de>


[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

  reply	other threads:[~2010-05-07 20:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-22 21:38 [Qemu-devel] Commit 9c9bb6c89d4 breaks code execution from flash Michael Walle
2010-04-23  7:23 ` [Qemu-devel] " Jan Kiszka
2010-05-07 20:57   ` Michael Walle [this message]
2010-05-12  7:56     ` Jan Kiszka
2010-05-12 23:02       ` Michael Walle
2010-05-13  7:38         ` Jan Kiszka
2010-05-13 10:58           ` Michael Walle
2010-05-13 11:46             ` Jan Kiszka
2010-05-13 11:57               ` Jan Kiszka
2010-05-13 12:38                 ` Jan Kiszka
2010-05-13 13:51                   ` Michael Walle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005072257.57198.michael@walle.cc \
    --to=michael@walle.cc \
    --cc=jan.kiszka@web.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).