From: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
To: "Peter Maydell" <peter.maydell@linaro.org>,
"Markus Armbruster" <armbru@redhat.com>,
"'Marc-André Lureau'" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Edgar Iglesias" <edgari@xilinx.com>,
"Francisco Eduardo Iglesias" <figlesia@xilinx.com>
Cc: "Eduardo Habkost" <ehabkost@redhat.com>,
"Vikram Garhwal" <fnuv@xilinx.com>,
qemu-devel@nongnu.org, "Paul Zimmerman" <pauldzim@gmail.com>,
"Sai Pavan Boddu" <saipava@xilinx.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Ying Fang" <fangying1@huawei.com>,
"'Philippe Mathieu-Daudé'" <philmd@redhat.com>
Subject: [PATCH v10 0/7] Make hcd-xhci independent of pci hooks
Date: Thu, 24 Sep 2020 19:50:49 +0530 [thread overview]
Message-ID: <1600957256-6494-1-git-send-email-sai.pavan.boddu@xilinx.com> (raw)
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.
Changes for V4:
Add DWC3 usb controller
Add versal, usb2-reg module
Connect sysbus xhci to versal virt board
Changes for V5:
Add extra info about dwc3 and usb2_regs devices in commit messages
Use only one irq for versal usb controller
Mark the unimplemented registers in dwc3 controller
Rebase the patches over master.
Move few mispalced contents from patch 2/7 to 3/7.
Fix the author names in the header.
Move the inclusion of "sysemu/dma.h" from patch 1/7 to 3/7
Changes for V6:
Fixed style issue in patch 7/7
Renamed usb2_reg model to VersalUsb2CtrlReg
Fixed author in headers
Changes for V7:
Create a usb structure to keep things clean
Remove the repeated patch in the series i.e 5/7
Changes for V8:
Fix vmstate sturcts to support cross version migration.
Changes for V9:
Added recommended changes to fix vmstate migration.
Fixed commit message on 3/7.
Changes for V10:
use vmstate_post_load avaialble in VMStateDescription
tested vmstate cross migration.
Sai Pavan Boddu (5):
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
usb: hcd-xhci-sysbus: Attach xhci to sysbus device
misc: Add versal-usb2-ctrl-regs module
Vikram Garhwal (2):
usb: Add DWC3 model
Versal: Connect DWC3 controller with virt-versal
hw/arm/xlnx-versal-virt.c | 58 +++
hw/arm/xlnx-versal.c | 34 ++
hw/misc/meson.build | 1 +
hw/misc/xlnx-versal-usb2-ctrl-regs.c | 222 +++++++++
hw/usb/Kconfig | 17 +
hw/usb/hcd-dwc3.c | 717 +++++++++++++++++++++++++++
hw/usb/hcd-xhci-nec.c | 18 +-
hw/usb/hcd-xhci-pci.c | 261 ++++++++++
hw/usb/hcd-xhci-pci.h | 44 ++
hw/usb/hcd-xhci-sysbus.c | 109 ++++
hw/usb/hcd-xhci-sysbus.h | 32 ++
hw/usb/hcd-xhci.c | 269 ++--------
hw/usb/hcd-xhci.h | 21 +-
hw/usb/meson.build | 3 +
include/hw/arm/xlnx-versal.h | 14 +
include/hw/misc/xlnx-versal-usb2-ctrl-regs.h | 45 ++
include/hw/usb/hcd-dwc3.h | 55 ++
17 files changed, 1689 insertions(+), 231 deletions(-)
create mode 100644 hw/misc/xlnx-versal-usb2-ctrl-regs.c
create mode 100644 hw/usb/hcd-dwc3.c
create mode 100644 hw/usb/hcd-xhci-pci.c
create mode 100644 hw/usb/hcd-xhci-pci.h
create mode 100644 hw/usb/hcd-xhci-sysbus.c
create mode 100644 hw/usb/hcd-xhci-sysbus.h
create mode 100644 include/hw/misc/xlnx-versal-usb2-ctrl-regs.h
create mode 100644 include/hw/usb/hcd-dwc3.h
--
2.7.4
next reply other threads:[~2020-09-24 14:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 14:20 Sai Pavan Boddu [this message]
2020-09-24 14:20 ` [PATCH v10 1/7] usb/hcd-xhci: Make dma read/writes hooks pci free Sai Pavan Boddu
2020-09-24 14:20 ` [PATCH v10 2/7] usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c Sai Pavan Boddu
2020-09-24 14:20 ` [PATCH v10 3/7] usb/hcd-xhci: Split pci wrapper for xhci base model Sai Pavan Boddu
2020-09-24 14:20 ` [PATCH v10 4/7] usb: hcd-xhci-sysbus: Attach xhci to sysbus device Sai Pavan Boddu
2020-09-24 14:20 ` [PATCH v10 5/7] misc: Add versal-usb2-ctrl-regs module Sai Pavan Boddu
2020-09-24 14:20 ` [PATCH v10 6/7] usb: Add DWC3 model Sai Pavan Boddu
2020-09-24 14:20 ` [PATCH v10 7/7] Versal: Connect DWC3 controller with virt-versal Sai Pavan Boddu
2020-09-25 18:39 ` Edgar E. Iglesias
2020-09-28 13:15 ` Gerd Hoffmann
2020-09-29 6:58 ` Sai Pavan Boddu
2020-09-29 5:42 ` Sai Pavan Boddu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600957256-6494-1-git-send-email-sai.pavan.boddu@xilinx.com \
--to=sai.pavan.boddu@xilinx.com \
--cc=alistair.francis@wdc.com \
--cc=armbru@redhat.com \
--cc=edgari@xilinx.com \
--cc=ehabkost@redhat.com \
--cc=fangying1@huawei.com \
--cc=figlesia@xilinx.com \
--cc=fnuv@xilinx.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pauldzim@gmail.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=saipava@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).