linux/arch/parisc
Sven Schnelle 2aa65e353f parisc: entry: set W bit for !compat tasks in syscall_restore_rfi()
commit 5fb1d3ce3e upstream.

When the kernel leaves to userspace via syscall_restore_rfi(), the
W bit is not set in the new PSW. This doesn't cause any problems
because there's no 64 bit userspace for parisc. Simple static binaries
are usually loaded at addresses way below the 32 bit limit so the W bit
doesn't matter.

Fix this by setting the W bit when TIF_32BIT is not set.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-01-08 10:14:43 +01:00
..
boot parisc: fix building with gcc-15 2025-06-27 11:11:22 +01:00
configs drm/display: Make DisplayPort CEC-over-AUX Kconfig name consistent 2024-03-28 11:26:47 +01:00
include Fix access to video_is_primary_device() when compiled without CONFIG_VIDEO 2025-11-13 15:34:22 -05:00
kernel parisc: entry: set W bit for !compat tasks in syscall_restore_rfi() 2026-01-08 10:14:43 +01:00
lib parisc: Remove spurious if statement from raw_copy_from_user() 2025-10-19 16:33:52 +02:00
math-emu parisc: Fix double SIGFPE crash 2025-05-09 09:50:31 +02:00
mm parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault() 2025-08-28 16:31:00 +02:00
net parisc: fix unaligned accesses in BPF 2024-07-29 16:19:07 +02:00
video arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
defpalo.conf parisc: switch to gzip-compressed vmlinuz kernel 2013-07-09 22:09:20 +02:00
install.sh kbuild: Abort make on install failures 2024-07-20 13:34:54 +09:00
Kbuild parisc: Wire up eBPF JIT compiler 2023-08-22 10:24:47 +02:00
Kconfig parisc: Temporarily disable jump label support 2025-02-17 10:05:29 +01:00
Kconfig.debug parisc: Use page table locks only if DEBUG_KERNEL is enabled 2023-08-20 20:23:46 +02:00
Makefile parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers 2025-08-28 16:31:00 +02:00