Skip to content

spapr: generate DT node names

Laurent Vivier qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 2 repliesIn review
  2. v42 patches 9 repliesSuperseded
  3. v31 patch 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch1 replySuperseded
v11 patch1 replySuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: add missing classes in pci_ids.h to build device treeinclude/hw/pci/pci_ids.h+103 -91 reply
2/2spapr: generate DT node nameshw/ppc/spapr_pci.c+276 -141 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichael S. TsirkinThomas HuthDavid Gibson
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 0/2] spapr: generate DT node names

When DT node names for PCI devices are generated by SLOF, they are generated according to the type of the device (for instance, ethernet for virtio-net-pci device).

Node name for hotplugged devices is generated by QEMU. This series adds the mechanic to QEMU to create the node name according to the device type too.

v5: store subclass and iface ids as-is (int) and mask them when
we compare them.

v4: move pci_ids.h to a separate patch, fix PCI_CLASS_NETWORK_WORDFIP
remove duplicate NL, remove 386, 486 and alpha subclasses rename "unknown-legacy-device", correctly check array size add Thomas and Michael "Reviewed-by".

v3: use values from pci_ids.h, update pci_ids.h values
keep only details for USB (xhci, ohci, ...) and PIC (IO-APIC, IO-XAPIC)

v2: Use CamelCase name, remove misc-* name,
remove _OTHER entries to fallback to class name (as SLOF does). Fix typo (IPMI-bltr).

Laurent Vivier (2):
PCI: add missing classes in pci_ids.h to build device tree
spapr: generate DT node names

 hw/ppc/spapr_pci.c       | 290 ++++++++++++++++++++++++++++++++++++++++++++---
 include/hw/pci/pci_ids.h | 112 ++++++++++++++++--
 2 files changed, 379 insertions(+), 23 deletions(-)
Signature · 1 line
2.4.3