diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2018-12-07 02:17:11 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-09 21:32:30 +1100 |
commit | 409dd7dc83eb54c4bc156aea890cc95bc21dc6f0 (patch) | |
tree | 0c5f90d735d2013f6b71773432fd45a456de76f3 /.cocciconfig | |
parent | 683ec0e04ab7e2d86d2656c71322dfb2ebf063fc (diff) |
powerpc/papr_scm: Remove endian conversions
The return values of a h-call are returned in the CPU registers and
written to the provided buffer by the plpar_hcall() wrapper. As a result
the values written to memory are always in the native endian and should
not be byte swapped.
The inital implementation of the H-Call interface was done in qemu and
the returned values were byte swapped unnecessarily in both the
hypervisor and in the driver so this was only noticed when bringing up
the PowerVM implementation.
Fixes: b5beae5e224f ("powerpc/pseries: Add driver for PAPR SCM regions")
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions