1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 08:35:19 -05:00
linux/Documentation/powerpc
Nicholas Piggin 5665bc35c1 powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls
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
2021-05-21 00:58:03 +10:00
..
booting.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
bootwrapper.rst
cpu_families.rst
cpu_features.rst
cxl.rst
cxlflash.rst
dawr-power9.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
dscr.rst
eeh-pci-error-recovery.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
elfnote.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
features.rst
firmware-assisted-dump.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
hvcs.rst
imc.rst
index.rst
isa-versions.rst
kaslr-booke32.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
mpc52xx.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
papr_hcalls.rst powerpc updates for 5.13 2021-04-30 12:22:28 -07:00
pci_iov_resource_on_powernv.rst
pmu-ebb.rst
ptrace.rst
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-21 00:58:03 +10:00
transactional_memory.rst docs: powerpc: Fix misspellings and grammar errors 2021-03-31 13:50:59 -06:00
ultravisor.rst
vas-api.rst Documentation/powerpc: Add proper links for manual and tests 2021-04-20 14:22:23 +10:00
vcpudispatch_stats.rst