[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] hw/usb/hcd-xhci.c: allow unaligned access to Capability
From: |
Tomoyuki Hirose |
Subject: |
Re: [PATCH 2/2] hw/usb/hcd-xhci.c: allow unaligned access to Capability Registers |
Date: |
Tue, 12 Dec 2023 10:43:15 +0900 |
Thanks for comment.
On Mon, Dec 11, 2023 at 10:57 PM Peter Maydell <peter.maydell@linaro.org> wrote:
> We should definitely look at fixing the unaligned access
> stuff, but the linked bug report is not trying to do an
> unaligned access -- it wants to do a 2-byte read from offset 2,
> which is aligned. The capability registers in the xHCI spec
> are also all at offsets and sizes that mean that a natural
> read of them is not unaligned.
Shouldn't I link this bug report?
Or is it not appropriate to allow unaligned access?
thanks,
Tomoyuki HIROSE
Re: [PATCH 0/2] support unaligned access for some xHCI registers, Tomoyuki Hirose, 2023/12/18