From: Ethan Chen via <qemu-devel@nongnu.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: <qemu-devel@nongnu.org>, <richard.henderson@linaro.org>,
<pbonzini@redhat.com>, <peterx@redhat.com>, <david@redhat.com>,
<philmd@linaro.org>
Subject: Re: [RFC PATCH] memory: Introduce memory region fetch operation
Date: Thu, 13 Jun 2024 10:46:32 +0800 [thread overview]
Message-ID: <ZmpdiB2blfm63fU1@ethan84-VirtualBox> (raw)
In-Reply-To: <CAFEAcA9W1EN7eO+qa6s9a870s8Zm-mD3T0mxRUY5hjY_-ZE4bQ@mail.gmail.com>
On Wed, Jun 12, 2024 at 01:43:41PM +0100, Peter Maydell wrote:
>
> On Wed, 12 Jun 2024 at 10:02, Ethan Chen via <qemu-devel@nongnu.org> wrote:
> >
> > Allow the memory region to have different behaviors for read and fetch
> > operations.
> >
> > For example RISCV IOPMP will raise interrupt when cpu try to fetch a
> > non-excutable region.
>
> It actually raises an interrupt rather than it being a permissions fault?
Device can return bus error, interrupt or success with fabricated data.
>
> > If fetch operation of a memory region is not implemented, it still uses the
> > read operation for fetch.
>
> This patch should probably be part of the series with the device that
> needs it.
I will add this patch to IOPMP patch series.
Thanks,
Ethan
prev parent reply other threads:[~2024-06-13 2:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-12 9:01 [RFC PATCH] memory: Introduce memory region fetch operation Ethan Chen via
2024-06-12 12:43 ` Peter Maydell
2024-06-13 2:46 ` Ethan Chen via [this message]
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=ZmpdiB2blfm63fU1@ethan84-VirtualBox \
--to=qemu-devel@nongnu.org \
--cc=david@redhat.com \
--cc=ethan84@andestech.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=peterx@redhat.com \
--cc=philmd@linaro.org \
--cc=richard.henderson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.