qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] [PATCH] system/memory: Fix max access size


From: Paolo Bonzini
Subject: Re: [PATCH] [PATCH] system/memory: Fix max access size
Date: Mon, 22 Jul 2024 18:50:47 +0200

On Mon, Jul 22, 2024 at 4:29 PM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
> It seems this model could be simplified using .min_access_size = 8,
> letting the core memory layer handle the % 4 byte accesses (the
> read path is obvious, the write one a bit less). Nothing urgent,
> possibly a BitSizedTask.

The memory access core is not able to do a read-modify-write
operation. You can get a smaller read from a bigger one or split a
large read/write into many small ones, but it cannot convert a small
write into a large one. Even splitting a large read/write into many
small ones is only possible if they don't have side effects.

Paolo

> > +    },
> >       .endianness = DEVICE_NATIVE_ENDIAN,
> >   };
> >
> > I'll now look into the other patch for interrupts. Thanks for testing
> > my changes!
> >
> > Paolo
> >
> > [1] https://gitlab.com/bonzini/qemu/-/commits/hpet
> >
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]