qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 00/13]  pcie port switch emulators
@ 2010-09-15  5:38 Isaku Yamahata
  2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 01/13] msi: implemented msi Isaku Yamahata
                   ` (13 more replies)
  0 siblings, 14 replies; 42+ messages in thread
From: Isaku Yamahata @ 2010-09-15  5:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: skandasa, yamahata, etmartin, wexu2, mst

Here is v3 of the patch series.
I didn't address the pcie_init() issue yet with v3 because
there are already many changes. So I'd like to get feed back
before going too far. The issue would be addressed with the next spin
if necessary.

new patches: 2, 3, 4, 5, 6
Other patches are (almost) same as before except adjustment to compile.
The patches of 1 and 13 can be harmlessly merged, I think.

Patch description:
This patch series implements pcie port switch emulators
which is basic part for pcie/q35 support.
This is for mst/pci tree.

changes v2 -> v3:
- msi: improved commant and simplified shift/ffs dance
- pci w1c config register framework
- split pcie.[ch] into pcie_regs.h, pcie.[ch] and pcie_aer.[ch]
- pcie, aer: many changes by following reviews.

changes v1 -> v2:
- update msi
- dropped already pushed out patches.
- added msix patches.

Isaku Yamahata (13):
  msi: implemented msi.
  pci: implement RW1C register framework.
  pci: introduce helper function pci_shift_word/long which returns
    shifted value.
  pcie: add pcie constants to pcie_regs.h
  pcie: helper functions for pcie capability and extended capability.
  pcie/aer: helper functions for pcie aer capability.
  pcie port: define struct PCIEPort/PCIESlot and helper functions
  pcie root port: implement pcie root port.
  pcie upstream port: pci express switch upstream port.
  pcie downstream port: pci express switch downstream port.
  pcie/hotplug: glue pushing attention button command. pcie_abp
  pcie/aer: glue aer error injection into qemu monitor.
  msix: clear not only INTA, but all INTx when MSI-X is enabled.

 Makefile.objs        |    6 +-
 hw/msi.c             |  358 ++++++++++++++++++++
 hw/msi.h             |   41 +++
 hw/msix.c            |    5 +-
 hw/pci.c             |    5 +
 hw/pci.h             |   51 +++-
 hw/pcie.c            |  638 ++++++++++++++++++++++++++++++++++++
 hw/pcie.h            |  102 ++++++
 hw/pcie_aer.c        |  881 ++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/pcie_aer.h        |  105 ++++++
 hw/pcie_downstream.c |  218 +++++++++++++
 hw/pcie_downstream.h |   33 ++
 hw/pcie_port.c       |  188 +++++++++++
 hw/pcie_port.h       |   51 +++
 hw/pcie_regs.h       |  170 ++++++++++
 hw/pcie_root.c       |  240 ++++++++++++++
 hw/pcie_root.h       |   32 ++
 hw/pcie_upstream.c   |  200 ++++++++++++
 hw/pcie_upstream.h   |   32 ++
 qemu-common.h        |    6 +
 qemu-monitor.hx      |   36 ++
 sysemu.h             |    9 +
 22 files changed, 3401 insertions(+), 6 deletions(-)
 create mode 100644 hw/msi.c
 create mode 100644 hw/msi.h
 create mode 100644 hw/pcie.c
 create mode 100644 hw/pcie.h
 create mode 100644 hw/pcie_aer.c
 create mode 100644 hw/pcie_aer.h
 create mode 100644 hw/pcie_downstream.c
 create mode 100644 hw/pcie_downstream.h
 create mode 100644 hw/pcie_port.c
 create mode 100644 hw/pcie_port.h
 create mode 100644 hw/pcie_regs.h
 create mode 100644 hw/pcie_root.c
 create mode 100644 hw/pcie_root.h
 create mode 100644 hw/pcie_upstream.c
 create mode 100644 hw/pcie_upstream.h

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

end of thread, other threads:[~2010-09-28 10:44 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-15  5:38 [Qemu-devel] [PATCH v3 00/13] pcie port switch emulators Isaku Yamahata
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 01/13] msi: implemented msi Isaku Yamahata
2010-09-15 13:03   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 02/13] pci: implement RW1C register framework Isaku Yamahata
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 03/13] pci: introduce helper function pci_shift_word/long which returns shifted value Isaku Yamahata
2010-09-15 12:49   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-19  4:13     ` Isaku Yamahata
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 04/13] pcie: add pcie constants to pcie_regs.h Isaku Yamahata
2010-09-20 18:14   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 05/13] pcie: helper functions for pcie capability and extended capability Isaku Yamahata
2010-09-15 12:43   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-19  4:56     ` Isaku Yamahata
2010-09-19 11:45       ` Michael S. Tsirkin
2010-09-24  2:24         ` Isaku Yamahata
2010-09-26 12:32           ` Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 06/13] pcie/aer: helper functions for pcie aer capability Isaku Yamahata
2010-09-22 11:50   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-24  2:50     ` Isaku Yamahata
2010-09-26 12:46       ` Michael S. Tsirkin
2010-09-27  6:03         ` Isaku Yamahata
2010-09-27 10:36           ` Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 07/13] pcie port: define struct PCIEPort/PCIESlot and helper functions Isaku Yamahata
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 08/13] pcie root port: implement pcie root port Isaku Yamahata
2010-09-22 11:25   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-24  5:38     ` Isaku Yamahata
2010-09-26 12:49       ` Michael S. Tsirkin
2010-09-27  6:36         ` Isaku Yamahata
2010-09-26 12:50       ` Michael S. Tsirkin
2010-09-27  6:22         ` Isaku Yamahata
2010-09-27 10:40           ` Michael S. Tsirkin
2010-09-27 23:01             ` Isaku Yamahata
2010-09-28  9:27               ` Michael S. Tsirkin
2010-09-28 10:38                 ` Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 09/13] pcie upstream port: pci express switch upstream port Isaku Yamahata
2010-09-22 11:22   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 10/13] pcie downstream port: pci express switch downstream port Isaku Yamahata
2010-09-22 11:22   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 11/13] pcie/hotplug: glue pushing attention button command. pcie_abp Isaku Yamahata
2010-09-22 11:30   ` [Qemu-devel] " Michael S. Tsirkin
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 12/13] pcie/aer: glue aer error injection into qemu monitor Isaku Yamahata
2010-09-15  5:38 ` [Qemu-devel] [PATCH v3 13/13] msix: clear not only INTA, but all INTx when MSI-X is enabled Isaku Yamahata
2010-09-20 18:18 ` [Qemu-devel] Re: [PATCH v3 00/13] pcie port switch emulators Michael S. Tsirkin

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