[GIT PULL] parisc architecture fixes for v6.2-rc7

From: Helge Deller
Date: Sat Feb 04 2023 - 09:41:05 EST


Hi Linus,

please pull some small fixes for the parisc architecture, 3 out of 4 are
tagged for stable series.

The most important patch fixes ptrace() for the compat case, which is
used by latest strace source which now used PTRACE_GETREGS() to get the
CPU registers.

Thanks,
Helge


The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262:

Linux 6.2-rc3 (2023-01-08 11:49:43 -0600)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.2-rc7

for you to fetch changes up to 316f1f42b5cc1d95124c1f0387c867c1ba7b6d0e:

parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case (2023-02-01 21:42:37 +0100)

----------------------------------------------------------------
parisc architecture fixes for kernel v6.2-rc7:

- Fix PTRACE_GETREGS/PTRACE_SETREGS for 32-bit userspace on 64-bit kernel
- pdc_iodc_print() dropped chars for newline in strings
- Drop constants in favour of PRIV_USER
- use safer strscpy() function in pdc_stable driver

----------------------------------------------------------------
Helge Deller (3):
parisc: Fix return code of pdc_iodc_print()
parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c
parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case

Xu Panda (1):
parisc: pdc_stable: use strscpy() to instead of strncpy()

arch/parisc/kernel/firmware.c | 5 +++--
arch/parisc/kernel/ptrace.c | 21 ++++++++++++++++-----
drivers/parisc/pdc_stable.c | 9 +++------
3 files changed, 22 insertions(+), 13 deletions(-)