qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v3 00/13] pcie port switch emulators


From: Isaku Yamahata
Subject: [Qemu-devel] [PATCH v3 00/13] pcie port switch emulators
Date: Wed, 15 Sep 2010 14:38:13 +0900

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




reply via email to

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