The current clobbers list for syscalls using sc or scv in sysdeps/unix/sysv/linux/powerpc/sysdep.h is not complete, as the kernel zeroes XER register on exit and per the kernel documentation scv may also clobber the condition register. This is unlikely to be causing issues in the wild today, as the code has been missing the XER clobber for years and I couldn't find any reported bugs related to that. Also, the kernel currently restores the CR on exit, but that could change in the future, as that is not mandated by the ABI for all CR fields.
I'm preparing a patch and will post to libc-alpha shortly.
Fixed by commit 5d61fc2021922b4f572be218dad5b299e2939346 Author: Matheus Castanho <msc@linux.ibm.com> Date: Wed Mar 17 10:14:15 2021 -0300 powerpc: Add missing registers to clobbers list for syscalls [BZ #27623] https://sourceware.org/git/?p=glibc.git;a=commit;h=5d61fc2021922b4f572be218dad5b299e2939346