qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: aik@ozlabs.ru, mdroth@linux.vnet.ibm.com
Cc: lvivier@redhat.com, thuth@redhat.com, agraf@suse.de,
	qemu-devel@nongnu.org, qemu-ppc@nongnu.org,
	David Gibson <david@gibson.dropbear.id.au>
Subject: [Qemu-devel] [PATCHv2 0/3] Reduce abuse of rtas_st / rtas_ld
Date: Tue, 19 Jan 2016 15:30:21 +1100	[thread overview]
Message-ID: <1453177824-27408-1-git-send-email-david@gibson.dropbear.id.au> (raw)

The rtas_ld() and rtas_st() helpers were designed for loading RTAS
arguments and storing RTAS returns which are in a simple, common array
format.

However, a number of RTAS routines - and even non-RTAS routines - have
started using these for accessing other memory buffers, where the
normal qemu memory access routines would be more appropriate.

This series removes some of these abuses of the RTAS accessors.

Changes in v2:
 * Reworked 1/3 to use a local helper instead of open-coding
 * Assorted small cleanups suggesed by Alexey Kardashevskiy

David Gibson (3):
  spapr: Small fixes to rtas_ibm_get_system_parameter, remove
    rtas_st_buffer
  spapr: Remove rtas_st_buffer_direct()
  spapr: Remove abuse of rtas_ld() in h_client_architecture_support

 hw/ppc/spapr_hcall.c   | 14 +++++++-------
 hw/ppc/spapr_rtas.c    | 39 ++++++++++++++++++++++++++++-----------
 include/hw/ppc/spapr.h | 36 +++++++++---------------------------
 3 files changed, 44 insertions(+), 45 deletions(-)

-- 
2.5.0

             reply	other threads:[~2016-01-19  4:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19  4:30 David Gibson [this message]
2016-01-19  4:30 ` [Qemu-devel] [PATCHv2 1/3] spapr: Small fixes to rtas_ibm_get_system_parameter, remove rtas_st_buffer David Gibson
2016-01-19  4:38   ` Alexey Kardashevskiy
2016-01-19  4:59     ` David Gibson
2016-01-19  4:30 ` [Qemu-devel] [PATCHv2 2/3] spapr: Remove rtas_st_buffer_direct() David Gibson
2016-01-19  4:41   ` Alexey Kardashevskiy
2016-01-19  4:30 ` [Qemu-devel] [PATCHv2 3/3] spapr: Remove abuse of rtas_ld() in h_client_architecture_support 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=1453177824-27408-1-git-send-email-david@gibson.dropbear.id.au \
    --to=david@gibson.dropbear.id.au \
    --cc=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=lvivier@redhat.com \
    --cc=mdroth@linux.vnet.ibm.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).