qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Make hcd-xhci independent of pci hooks
@ 2020-07-07 16:44 Sai Pavan Boddu
  2020-07-07 16:44 ` [PATCH v3 1/3] usb/hcd-xhci: Make dma read/writes hooks pci free Sai Pavan Boddu
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Sai Pavan Boddu @ 2020-07-07 16:44 UTC (permalink / raw)
  To: Gerd Hoffmann, Peter Maydell, Markus Armbruster
  Cc: Thomas Huth, Eduardo Habkost, Vikram Garhwal, sai.pavan.boddu,
	qemu-devel, Paul Zimmerman, Alistair Francis, Paolo Bonzini,
	Ying Fang, 'Marc-André Lureau',
	'Philippe Mathieu-Daudé'

Hi

This patch series attempts to make 'hcd-xhci' an independent model so
it can be used by both pci and system-bus interface.

Changes for V2:
    Make XHCIState non-qom
    Use container_of functions for retriving pci device instance
    Initialize the AddressSpace pointer in PATCH 1/3 itself
Changes for V3:
    Convert XHCIState to TYPE_DEVICE and register as a child of XHCIPciState.


Sai Pavan Boddu (3):
  usb/hcd-xhci: Make dma read/writes hooks pci free
  usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c
  usb/hcd-xhci: Split pci wrapper for xhci base model

 hw/usb/Kconfig        |   6 ++
 hw/usb/Makefile.objs  |   1 +
 hw/usb/hcd-xhci-nec.c |  18 ++--
 hw/usb/hcd-xhci-pci.c | 242 ++++++++++++++++++++++++++++++++++++++++++++++
 hw/usb/hcd-xhci-pci.h |  45 +++++++++
 hw/usb/hcd-xhci.c     | 259 ++++++++++----------------------------------------
 hw/usb/hcd-xhci.h     |  20 ++--
 7 files changed, 367 insertions(+), 224 deletions(-)
 create mode 100644 hw/usb/hcd-xhci-pci.c
 create mode 100644 hw/usb/hcd-xhci-pci.h

-- 
2.7.4



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

end of thread, other threads:[~2020-07-16 13:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 16:44 [PATCH v3 0/3] Make hcd-xhci independent of pci hooks Sai Pavan Boddu
2020-07-07 16:44 ` [PATCH v3 1/3] usb/hcd-xhci: Make dma read/writes hooks pci free Sai Pavan Boddu
2020-07-07 16:44 ` [PATCH v3 2/3] usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c Sai Pavan Boddu
2020-07-07 16:44 ` [PATCH v3 3/3] usb/hcd-xhci: Split pci wrapper for xhci base model Sai Pavan Boddu
2020-07-15 10:48   ` Gerd Hoffmann
2020-07-14 13:59 ` [PATCH v3 0/3] Make hcd-xhci independent of pci hooks Sai Pavan Boddu
2020-07-15 10:51   ` Gerd Hoffmann
2020-07-16 12:57     ` Sai Pavan Boddu

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).