kernel_optimize_test/arch/parisc
John David Anglin eb44b1386a parisc: Fix lpa and lpa_user defines
commit db19c6f1a2a353cc8dec35b4789733a3cf6e2838 upstream.

While working on the rewrite to the light-weight syscall and futex code, I
experimented with using a hash index based on the user physical address of
atomic variable. This exposed two problems with the lpa and lpa_user defines.

Because of the copy instruction, the pa argument needs to be an early clobber
argument. This prevents gcc from allocating the va and pa arguments to the same
register.

Secondly, the lpa instruction can cause a page fault so we need to catch
exceptions.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Fixes: 116d753308 ("parisc: Use lpa instruction to load physical addresses in driver code")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v5.2+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 10:54:26 +01:00
..
boot vmlinux.lds.h: Split ELF_DETAILS from STABS_DEBUG 2020-09-01 09:50:35 +02:00
configs parisc: disable CONFIG_IDE in defconfigs 2020-10-15 08:10:38 +02:00
include parisc: Fix lpa and lpa_user defines 2022-01-27 10:54:26 +01:00
kernel parisc: Avoid calling faulthandler_disabled() twice 2022-01-27 10:54:20 +01:00
lib Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 2021-09-03 10:09:31 +02:00
math-emu parisc: math-emu: Fix fall-through warnings 2021-10-27 09:56:46 +02:00
mm parisc: fix warning in flush_tlb_all 2021-11-18 14:04:01 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
defpalo.conf
install.sh parisc: Fix "make install" on newer debian releases 2021-12-08 09:03:28 +01:00
Kconfig parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST 2021-03-11 14:17:21 +01:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile parisc: Fix KBUILD_IMAGE for self-extracting kernel 2021-12-08 09:03:28 +01:00
nm