# \[PATCH v3 0/2\] powerpc/ptrace: Hard wire PT\_SOFTE value to 1 in gpr\_get() too

- From: Oleg Nesterov \<oleg@redhat.com\>
- Date: 2020-11-19 16:02:10 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/11/6182940
- Thread: https://ratatoskr.run/linuxppc-dev/2020/11/6182940/t.md

```text
Can we finally fix this problem? ;)

My previous attempt was ignored, see

	https://lore.kernel.org/lkml/20190917121256.GA8659@redhat.com/

Now that gpr_get() was changed to use membuf API we can make a simpler fix.

Sorry, uncompiled/untested, I don't have a ppc machine.

Oleg.

 arch/powerpc/kernel/ptrace/ptrace-tm.c   | 21 ++++++++++++---------
 arch/powerpc/kernel/ptrace/ptrace-view.c | 21 ++++++++++++---------
 include/linux/regset.h                   | 12 ++++++++++++
 3 files changed, 36 insertions(+), 18 deletions(-)

```
