qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@linux.vnet.ibm.com>,
	aik@ozlabs.ru, "Alexander Graf" <agraf@suse.de>,
	qemu-ppc@nongnu.org, "Anthony Liguori" <anthony@codemonkey.ws>,
	"Prerna Saxena" <prerna@linux.vnet.ibm.com>,
	"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH v3 0/2] target-ppc: Tidy sPAPR device tree CPU nodes
Date: Tue, 15 Oct 2013 18:33:35 +0200	[thread overview]
Message-ID: <1381854817-19552-1-git-send-email-afaerber@suse.de> (raw)

Hello Alexey and Alex,

This series cleans up the fdt CPU nodes for -M pseries as attempted by Prerna.

v3 uses DeviceClass::fw_name for name storage exclusively, with "PowerPC,UNKNOWN"
as fallback.

Regards,
Andreas

v2 -> v3:
* Drop any type-based model name mangling and default to PowerPC,UNKNOWN (Alex).

preview -> v2:
* Set fw_name at family level rather than model level, saving macro extensions.
* Appended patch stripping underscores (Prerna).

v1 / Prerna's v3 -> preview:
* Instead of overwriting cpu_model with parent's type name for -cpu host,
  set fw_name for some models and read type / parent's types otherwise.
* Don't pass cpu_model to functions, determine name per CPU iterated.
* Avoid walking alias list by taking fw_name or model part of type name.

Cc: Prerna Saxena <prerna@linux.vnet.ibm.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Huth <thuth@linux.vnet.ibm.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-ppc@nongnu.org

Andreas Färber (2):
  target-ppc: Fill in OpenFirmware names for some PowerPCCPU families
  spapr: Use DeviceClass::fw_name for device tree CPU node

 hw/ppc/spapr.c              | 26 ++++++--------------------
 include/hw/ppc/spapr.h      |  1 -
 target-ppc/translate_init.c |  5 +++++
 3 files changed, 11 insertions(+), 21 deletions(-)

-- 
1.8.1.4

             reply	other threads:[~2013-10-15 16:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 16:33 Andreas Färber [this message]
2013-10-15 16:33 ` [Qemu-devel] [PATCH v3 1/2] target-ppc: Fill in OpenFirmware names for some PowerPCCPU families Andreas Färber
2013-10-15 16:33 ` [Qemu-devel] [PATCH v3 2/2] spapr: Use DeviceClass::fw_name for device tree CPU node Andreas Färber
2013-10-17 12:38 ` [Qemu-devel] [PATCH v3 0/2] target-ppc: Tidy sPAPR device tree CPU nodes Alexander Graf

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=1381854817-19552-1-git-send-email-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=anthony@codemonkey.ws \
    --cc=prerna@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=thuth@linux.vnet.ibm.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).