Re: [PATCH v2 1/2] system/memory.c: support unaligned access

2024-03-19 Thread Peter Maydell
On Thu, 1 Feb 2024 at 08:15, Tomoyuki HIROSE wrote: > > The previous code ignored 'impl.unaligned' and handled unaligned accesses > as is. But this implementation cannot emulate specific registers of some > devices that allow unaligned access such as xHCI Host Controller Capability > Registers. >

Re: [PATCH v2 1/2] system/memory.c: support unaligned access

2024-03-19 Thread Philippe Mathieu-Daudé
Hi Tomoyuki, On 19/3/24 07:43, Philippe Mathieu-Daudé wrote: On 18/3/24 17:15, Peter Xu wrote: Hi, On Thu, Feb 01, 2024 at 05:13:12PM +0900, Tomoyuki HIROSE wrote: The previous code ignored 'impl.unaligned' and handled unaligned accesses as is. But this implementation cannot emulate

Re: [PATCH v2 1/2] system/memory.c: support unaligned access

2024-03-19 Thread Philippe Mathieu-Daudé
On 18/3/24 17:15, Peter Xu wrote: Hi, On Thu, Feb 01, 2024 at 05:13:12PM +0900, Tomoyuki HIROSE wrote: The previous code ignored 'impl.unaligned' and handled unaligned accesses as is. But this implementation cannot emulate specific registers of some devices that allow unaligned access such as

Re: [PATCH v2 1/2] system/memory.c: support unaligned access

2024-03-18 Thread Peter Xu
Hi, On Thu, Feb 01, 2024 at 05:13:12PM +0900, Tomoyuki HIROSE wrote: > The previous code ignored 'impl.unaligned' and handled unaligned accesses > as is. But this implementation cannot emulate specific registers of some > devices that allow unaligned access such as xHCI Host Controller Capability

Re: [PATCH v2 1/2] system/memory.c: support unaligned access

2024-03-17 Thread Tomoyuki Hirose
ping. On Mon, Feb 26, 2024 at 4:28 PM Tomoyuki Hirose wrote: > > Hello, > I would be happy if you could give me some comments. > > ping. > > On Thu, Feb 1, 2024 at 5:14 PM Tomoyuki HIROSE > wrote: > > > > The previous code ignored 'impl.unaligned' and handled unaligned accesses > > as is. But

Re: [PATCH v2 1/2] system/memory.c: support unaligned access

2024-02-25 Thread Tomoyuki Hirose
Hello, I would be happy if you could give me some comments. ping. On Thu, Feb 1, 2024 at 5:14 PM Tomoyuki HIROSE wrote: > > The previous code ignored 'impl.unaligned' and handled unaligned accesses > as is. But this implementation cannot emulate specific registers of some > devices that allow

[PATCH v2 1/2] system/memory.c: support unaligned access

2024-02-01 Thread Tomoyuki HIROSE
The previous code ignored 'impl.unaligned' and handled unaligned accesses as is. But this implementation cannot emulate specific registers of some devices that allow unaligned access such as xHCI Host Controller Capability Registers. This commit checks 'impl.unaligned' and if it is false, QEMU