qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/2] spapr: generate DT node names
@ 2015-09-30 15:13 Laurent Vivier
  2015-09-30 15:13 ` [Qemu-devel] [PATCH v5 1/2] PCI: add missing classes in pci_ids.h to build device tree Laurent Vivier
  2015-09-30 15:13 ` [Qemu-devel] [PATCH v5 2/2] spapr: generate DT node names Laurent Vivier
  0 siblings, 2 replies; 5+ messages in thread
From: Laurent Vivier @ 2015-09-30 15:13 UTC (permalink / raw)
  To: qemu-ppc
  Cc: Laurent Vivier, thuth, Michael S. Tsirkin, qemu-devel,
	Alexander Graf, David Gibson

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

-- 
2.4.3

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

end of thread, other threads:[~2015-10-01  3:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 15:13 [Qemu-devel] [PATCH v5 0/2] spapr: generate DT node names Laurent Vivier
2015-09-30 15:13 ` [Qemu-devel] [PATCH v5 1/2] PCI: add missing classes in pci_ids.h to build device tree Laurent Vivier
2015-10-01  3:11   ` David Gibson
2015-09-30 15:13 ` [Qemu-devel] [PATCH v5 2/2] spapr: generate DT node names Laurent Vivier
2015-10-01  3:15   ` David Gibson

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