Re: powerpc/64: syscall ABI

2016-09-20 Thread Michael Ellerman
On Wed, 2016-14-09 at 03:21:47 UTC, Nicholas Piggin wrote: > Add some documentation for the 64-bit syscall ABI, which doesn't seem > to be documented elsewhere. > > This attempts to documented existing practice. The only small > discrepancy is glibc clobbers not quite matching the kernel (e.g., >

[PATCH] powerpc/64: syscall ABI

2016-09-13 Thread Nicholas Piggin
Add some documentation for the 64-bit syscall ABI, which doesn't seem to be documented elsewhere. This attempts to documented existing practice. The only small discrepancy is glibc clobbers not quite matching the kernel (e.g., xer, some vsyscalls trash cr1 whereas glibc only clobbers cr0). These w

[RFC] powerpc/64: syscall ABI

2016-07-22 Thread Nicholas Piggin
This adds some documentation for the 64-bit syscall ABI, because we don't seem to have a canonical document anywhere. I have been mostly looking at 64S, so comments about 32-bit and embedded would be welcome too. I have just documented existing practice. The only small issue I have come across is