All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Bobroff <sam.bobroff@au1.ibm.com>
To: qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org
Subject: [Qemu-devel] [PATCH v2 0/4] spapr: improve RTAS get_system_parameter
Date: Wed, 25 Jun 2014 13:54:28 +1000	[thread overview]
Message-ID: <cover.1403668461.git.sam.bobroff@au1.ibm.com> (raw)


This series of patches improves QEMU's emulation of the RTAS call
"ibm,get-system-parameter" by adding support for the "UUID" and "SPLPAR
Characteristics" parameters as well as fixing a problem in the the
implementation of the "Platform Processor Diagnostics Run Mode" parameter.

It also improves the surrounding code a little to support the addition of
additional system parameters.

Patchset changelog:

v2:
    * Reordered patches to correct DIAGNOSTICS_RUN_MODE earlier so
    that new RTAS constants can be added at the same time and all of
    them moved out into spapr.h.
    * Use g_strdup_printf()/g_free() rather than snprintf() to a stack array.
    * Use cpu_physical_memory_write() instead of looping over each
    byte.

Sam Bobroff (4):
  spapr: Add rtas_st_buffer utility function
  spapr: Fix RTAS sysparm DIAGNOSTICS_RUN_MODE
  spapr: Add RTAS sysparm UUID
  spapr: Add RTAS sysparm SPLPAR Characteristics

 hw/ppc/spapr_rtas.c    | 30 +++++++++++++++++++++---------
 include/hw/ppc/spapr.h | 28 ++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 9 deletions(-)

-- 
1.9.0

             reply	other threads:[~2014-06-25  3:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25  3:54 Sam Bobroff [this message]
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 1/4] spapr: Add rtas_st_buffer utility function Sam Bobroff
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 2/4] spapr: Fix RTAS sysparm DIAGNOSTICS_RUN_MODE Sam Bobroff
2014-06-25 11:10   ` [Qemu-devel] [Qemu-ppc] " Alexander Graf
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 3/4] spapr: Add RTAS sysparm UUID Sam Bobroff
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 4/4] spapr: Add RTAS sysparm SPLPAR Characteristics Sam Bobroff
2014-06-25 11:12 ` [Qemu-devel] [Qemu-ppc] [PATCH v2 0/4] spapr: improve RTAS get_system_parameter Alexander Graf
2014-06-25 23:38   ` Sam Bobroff

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=cover.1403668461.git.sam.bobroff@au1.ibm.com \
    --to=sam.bobroff@au1.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.