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