1
0
Fork 0
freescale-linux-fslc/Documentation/powerpc
Nicholas Piggin 105345b909 powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls
commit 5665bc35c1 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 powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
cpu_families.rst docs: powerpc: Clarify book3s/32 MMU families 2020-07-15 12:04:38 +10:00
cpu_features.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
cxl.rst docs: powerpc: cxl.rst: mark two section titles as such 2020-04-20 15:45:25 -06:00
cxlflash.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
dawr-power9.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
dscr.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
eeh-pci-error-recovery.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
elfnote.rst docs: powerpc: Add missing documentation reference 2019-09-17 23:59:34 +10:00
firmware-assisted-dump.rst docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
hvcs.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
imc.rst powerpc/imc: Add documentation for IMC and trace-mode 2020-01-06 16:25:27 +11:00
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 powerpc/fsl_booke/32: Document KASLR implementation 2019-11-13 19:27:58 +11:00
mpc52xx.rst powerpc: Replace HTTP links with HTTPS ones 2020-07-22 00:01:23 +10:00
papr_hcalls.rst powerpc: Document details on H_SCM_HEALTH hcall 2020-06-15 18:22:43 -07:00
pci_iov_resource_on_powernv.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
pmu-ebb.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
ptrace.rst powerpc/watchpoint/ptrace: Introduce PPC_DEBUG_FEATURE_DATA_BP_ARCH_31 2020-09-15 22:13:20 +10:00
qe_firmware.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
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 powerpc/tm: Document h/rfid and mtmsrd quirk 2020-05-20 23:39:57 +10:00
ultravisor.rst KVM: PPC: Book3S HV: In H_SVM_INIT_DONE, migrate remaining normal-GFNs to secure-GFNs 2020-07-28 12:34:52 +10:00
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 docs: powerpc: convert vcpudispatch_stats.txt to ReST 2020-06-19 14:09:48 -06:00