qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: qemu-ppc@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>,
	thuth@redhat.com, "Michael S. Tsirkin" <mst@redhat.com>,
	qemu-devel@nongnu.org, Alexander Graf <agraf@suse.de>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: [Qemu-devel] [PATCH v4 0/2] spapr: generate DT node names
Date: Thu, 24 Sep 2015 12:27:37 +0200	[thread overview]
Message-ID: <1443090459-9281-1-git-send-email-lvivier@redhat.com> (raw)

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.

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       | 292 ++++++++++++++++++++++++++++++++++++++++++++---
 include/hw/pci/pci_ids.h | 112 ++++++++++++++++--
 2 files changed, 381 insertions(+), 23 deletions(-)

-- 
2.4.3

             reply	other threads:[~2015-09-24 10:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24 10:27 Laurent Vivier [this message]
2015-09-24 10:27 ` [Qemu-devel] [PATCH v4 1/2] PCI: add missing classes in pci_ids.h to build device tree Laurent Vivier
2015-09-24 10:45   ` Thomas Huth
2015-09-24 10:27 ` [Qemu-devel] [PATCH v4 2/2] spapr: generate DT node names Laurent Vivier
2015-09-24 23:29   ` Gavin Shan
2015-09-25  8:29     ` Laurent Vivier
2015-09-25  9:12       ` Michael S. Tsirkin
2015-09-25 10:21         ` Laurent Vivier
2015-09-29  5:18   ` David Gibson
2015-09-29  8:37     ` Laurent Vivier
2015-09-29  9:40       ` Thomas Huth
2015-09-30  4:33       ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443090459-9281-1-git-send-email-lvivier@redhat.com \
    --to=lvivier@redhat.com \
    --cc=agraf@suse.de \
    --cc=david@gibson.dropbear.id.au \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).