qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] support unaligned access for some xHCI registers
@ 2024-02-01  8:13 Tomoyuki HIROSE
  2024-02-01  8:13 ` [PATCH v2 1/2] system/memory.c: support unaligned access Tomoyuki HIROSE
  2024-02-01  8:13 ` [PATCH v2 2/2] hw/usb/hcd-xhci.c: allow unaligned access to Capability Registers Tomoyuki HIROSE
  0 siblings, 2 replies; 9+ messages in thread
From: Tomoyuki HIROSE @ 2024-02-01  8:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: Tomoyuki HIROSE

v1 -> v2:
* Improved the calculation of addresses and masks in memory.c.

According to xHCI spec rev 1.2, unaligned access to xHCI Host
Controller Capability Registers are not prohibited. But current
implementation does not support unaligned access to 'MemoryRegion'.
These patches contain 2 changes:
1. support unaligned access to 'MemoryRegion' .
2. allow unaligned access to Host Controller Capability Registers.

Tomoyuki HIROSE (2):
  system/memory.c: support unaligned access
  hw/usb/hcd-xhci.c: allow unaligned access to Capability Registers

 hw/usb/hcd-xhci.c |  4 +++-
 system/memory.c   | 38 +++++++++++++++++++++++++-------------
 2 files changed, 28 insertions(+), 14 deletions(-)

-- 
2.39.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-19 14:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01  8:13 [PATCH v2 0/2] support unaligned access for some xHCI registers Tomoyuki HIROSE
2024-02-01  8:13 ` [PATCH v2 1/2] system/memory.c: support unaligned access Tomoyuki HIROSE
2024-02-26  7:28   ` Tomoyuki Hirose
2024-03-18  4:34     ` Tomoyuki Hirose
2024-03-18 16:15   ` Peter Xu
2024-03-19  6:43     ` Philippe Mathieu-Daudé
2024-03-19  6:50       ` Philippe Mathieu-Daudé
2024-03-19 14:08   ` Peter Maydell
2024-02-01  8:13 ` [PATCH v2 2/2] hw/usb/hcd-xhci.c: allow unaligned access to Capability Registers Tomoyuki HIROSE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).