diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-03-08 18:55:30 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-17 17:11:45 +0100 |
commit | 2f12b9febb38de5d7c0bbf0dd7f4a2fdb9ab1e0b (patch) | |
tree | c82e2b05608ebcbe0eade0b67b702ce99b46d08a /arch/powerpc/include/asm/switch_to.h | |
parent | 9e46a01793b1c1292c83e6028ff4d679b27cbd98 (diff) | |
download | linux-rt-2f12b9febb38de5d7c0bbf0dd7f4a2fdb9ab1e0b.tar.gz |
powerpc: Fix inverted SET_FULL_REGS bitop
commit 73ac79881804eed2e9d76ecdd1018037f8510cb1 upstream.
This bit operation was inverted and set the low bit rather than
cleared it, breaking the ability to ptrace non-volatile GPRs after
exec. Fix.
Only affects 64e and 32-bit.
Fixes: feb9df3462e6 ("powerpc/64s: Always has full regs, so remove remnant checks")
Cc: stable@vger.kernel.org # v5.8+
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210308085530.3191843-1-npiggin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/include/asm/switch_to.h')
0 files changed, 0 insertions, 0 deletions