Re: [PATCH v4 3/3] system/memory: Make ram device region directly accessible

Peter Maydell <[email protected]> Mon, 27 Jul 2026 13:07:48 +0100
Newsgroups org.nongnu.qemu-arm,org.nongnu.qemu-devel
Message-ID <CAFEAcA9-1ATVURTH9hK4a0YcgKy3G41PnYdO38c8UQjsJHUqhA@mail.gmail.com>
On Mon, 27 Jul 2026 at 04:27, Gavin Shan <[email protected]> wrote:
>
> This basically reverts 4a2e242bbb30 ("memory: Don't use memcpy for
> ram_device regions") to make ram device region directly accessible
> again. With this, the bounce buffer is bypassed in address_space_map()
> when a ram device region is involved, potentially avoid to overrun
> the (small) bounce buffer.
>
> Reported-by: Julia Graham <[email protected]>
> Suggested-by: Michael S. Tsirkin <[email protected]>
> Suggested-by: Peter Xu <[email protected]>
> Suggested-by: Richard Henderson <[email protected]>
> Suggested-by: Peter Maydell <[email protected]>
> Signed-off-by: Gavin Shan <[email protected]>
> ---

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM