(subset) [PATCH 1/2] powerpc/32: fix syscall wrappers with 64-bit arguments of unaligned register-pairs
Michael Ellerman
patch-notifications at ellerman.id.au
Sat Oct 15 10:21:17 AEDT 2022
On Wed, 12 Oct 2022 13:53:34 +1000, Nicholas Piggin wrote:
> powerpc 32-bit system call (and function) calling convention for 64-bit
> arguments requires the next available odd-pair (two sequential registers
> with the first being odd-numbered) from the standard register argument
> allocation.
>
> The first argument register is r3, so a 64-bit argument that appears at
> an even position in the argument list must skip a register (unless there
> were preceeding 64-bit arguments, which might throw things off). This
> requires non-standard compat definitions to deal with the holes in the
> argument register allocation.
>
> [...]
Applied to powerpc/fixes.
[1/2] powerpc/32: fix syscall wrappers with 64-bit arguments of unaligned register-pairs
https://git.kernel.org/powerpc/c/e237506238352f3bfa9cf3983cdab873e35651eb
cheers
More information about the Linuxppc-dev
mailing list