qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] a53170: usb/hcd-xhci: Make dma read/writes ho


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] a53170: usb/hcd-xhci: Make dma read/writes hooks pci free
Date: Tue, 29 Sep 2020 02:00:37 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a5317074e123b9303174abb3da560cc7fd4d6b0e
      
https://github.com/qemu/qemu/commit/a5317074e123b9303174abb3da560cc7fd4d6b0e
  Author: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M hw/usb/hcd-xhci.c
    M hw/usb/hcd-xhci.h

  Log Message:
  -----------
  usb/hcd-xhci: Make dma read/writes hooks pci free

This patch starts making the hcd-xhci.c pci free, as part of this
restructuring dma read/writes are handled without passing pci object.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1600957256-6494-2-git-send-email-sai.pavan.boddu@xilinx.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 755fba11fbcadb4ba27700a99f29ebdf9bb63c51
      
https://github.com/qemu/qemu/commit/755fba11fbcadb4ba27700a99f29ebdf9bb63c51
  Author: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M hw/usb/Kconfig
    A hw/usb/hcd-xhci-pci.c
    M hw/usb/hcd-xhci.c
    M hw/usb/hcd-xhci.h
    M hw/usb/meson.build

  Log Message:
  -----------
  usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c

Move pci specific devices to new file. This set the environment to move all
pci specific hooks in hcd-xhci.c to hcd-xhci-pci.c.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Message-id: 1600957256-6494-3-git-send-email-sai.pavan.boddu@xilinx.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 8ddab8dd3d81a3500f2831378dde589f8602cb63
      
https://github.com/qemu/qemu/commit/8ddab8dd3d81a3500f2831378dde589f8602cb63
  Author: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M hw/usb/hcd-xhci-nec.c
    M hw/usb/hcd-xhci-pci.c
    A hw/usb/hcd-xhci-pci.h
    M hw/usb/hcd-xhci.c
    M hw/usb/hcd-xhci.h

  Log Message:
  -----------
  usb/hcd-xhci: Split pci wrapper for xhci base model

This patch sets the base to use xhci as sysbus model, for which pci
specific hooks are moved to hcd-xhci-pci.c. As a part of this requirment
msi/msix interrupts handling is moved under XHCIPCIState. Made required
changes for qemu-xhci-nec.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Message-id: 1600957256-6494-4-git-send-email-sai.pavan.boddu@xilinx.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: f00ff136eee50b1450f9b47ae35df3ca6b9bcfb8
      
https://github.com/qemu/qemu/commit/f00ff136eee50b1450f9b47ae35df3ca6b9bcfb8
  Author: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M hw/usb/Kconfig
    A hw/usb/hcd-xhci-sysbus.c
    A hw/usb/hcd-xhci-sysbus.h
    M hw/usb/hcd-xhci.h
    M hw/usb/meson.build

  Log Message:
  -----------
  usb: hcd-xhci-sysbus: Attach xhci to sysbus device

Use XHCI as sysbus device, add memory region property to get the
address space instance for dma read/write.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Message-id: 1600957256-6494-5-git-send-email-sai.pavan.boddu@xilinx.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 5c43b603a2e3f77f41e0cf339e72bee2077bfe61
      
https://github.com/qemu/qemu/commit/5c43b603a2e3f77f41e0cf339e72bee2077bfe61
  Author: Amey Narkhede <ameynarkhede03@gmail.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M hw/usb/ccid-card-emulated.c

  Log Message:
  -----------
  hw/usb: Use lock guard macros

Use qemu LOCK_GUARD macros from "qemu/lockable.h" in
hw/usb/ccid-card-emulated.c, saves manual unlock calls.

Signed-off-by: Amey Narkhede <ameynarkhede03@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200923134327.576139-1-ameynarkhede03@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 1553d543ff4b9f91de4ed7743f0cd6e534528b9e
      
https://github.com/qemu/qemu/commit/1553d543ff4b9f91de4ed7743f0cd6e534528b9e
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M hw/usb/Kconfig
    M hw/usb/ccid-card-emulated.c
    M hw/usb/hcd-xhci-nec.c
    A hw/usb/hcd-xhci-pci.c
    A hw/usb/hcd-xhci-pci.h
    A hw/usb/hcd-xhci-sysbus.c
    A hw/usb/hcd-xhci-sysbus.h
    M hw/usb/hcd-xhci.c
    M hw/usb/hcd-xhci.h
    M hw/usb/meson.build

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/usb-20200928-pull-request' 
into staging

usb: xhci sysbus support.
usb: use lock guards.

# gpg: Signature made Mon 28 Sep 2020 14:16:22 BST
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/usb-20200928-pull-request:
  hw/usb: Use lock guard macros
  usb: hcd-xhci-sysbus: Attach xhci to sysbus device
  usb/hcd-xhci: Split pci wrapper for xhci base model
  usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c
  usb/hcd-xhci: Make dma read/writes hooks pci free

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/74504514b154...1553d543ff4b



reply via email to

[Prev in Thread] Current Thread [Next in Thread]