kernel_optimize_test/Documentation/powerpc
Nicholas Piggin 105345b909 powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls
commit 5665bc35c1ed917ac8fd06cb651317bb47a65b10 upstream.

The sc and scv 0 system calls have different ABI conventions, and
ptracers need to know which system call type is being used if they want
to look at the syscall registers.

Document that pt_regs.trap can be used for this, and fix one in-tree user
to work with scv 0 syscalls.

Fixes: 7fa95f9ada ("powerpc/64s: system call support for scv/rfscv instructions")
Cc: stable@vger.kernel.org # v5.9+
Reported-by: "Dmitry V. Levin" <ldv@altlinux.org>
Suggested-by: "Dmitry V. Levin" <ldv@altlinux.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210520111931.2597127-1-npiggin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-26 12:06:53 +02:00
..
booting.rst dt: Remove booting-without-of.rst 2020-10-13 13:33:16 -05:00
bootwrapper.rst
cpu_families.rst
cpu_features.rst
cxl.rst
cxlflash.rst
dawr-power9.rst
dscr.rst
eeh-pci-error-recovery.rst
elfnote.rst
firmware-assisted-dump.rst
hvcs.rst
imc.rst
index.rst dt: Remove booting-without-of.rst 2020-10-13 13:33:16 -05:00
isa-versions.rst powerpc: Update documentation of ISA versions for Power10 2020-09-08 22:57:11 +10:00
kaslr-booke32.rst
mpc52xx.rst
papr_hcalls.rst
pci_iov_resource_on_powernv.rst
pmu-ebb.rst
ptrace.rst powerpc/watchpoint/ptrace: Introduce PPC_DEBUG_FEATURE_DATA_BP_ARCH_31 2020-09-15 22:13:20 +10:00
qe_firmware.rst
syscall64-abi.rst powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls 2021-05-26 12:06:53 +02:00
transactional_memory.rst
ultravisor.rst
vas-api.rst It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
vcpudispatch_stats.rst