linux/arch/s390/lib
Heiko Carstens b3e0c5f734 s390/alternatives: Rework to allow for callbacks
Rework alternatives to allow for callbacks. With this every
alternative entry has additional data encoded:

- When (aka context) an alternative is supposed to be applied

- The type of an alternative, which allows for type specific handling
  and callbacks

- Extra type specific payload (patch information), which can be passed
  to callbacks in order to decide if an alternative should be applied
  or not

With this only the "late" context is implemented, which means there is
no change to the previous behaviour. All code is just converted to the
more generic new infrastructure.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Tested-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2024-07-23 16:02:31 +02:00
..
csum-partial.c s390/checksum: provide csum_partial_copy_nocheck() 2024-02-16 14:30:17 +01:00
delay.c s390/delay: sync comment within __delay() with reality 2022-08-30 22:00:33 +02:00
error-inject.c s390: enable HAVE_FUNCTION_ERROR_INJECTION 2020-07-27 10:33:28 +02:00
expoline.S s390/expoline: Make modules use kernel expolines 2024-04-17 13:38:03 +02:00
find.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile s390/expoline: Make modules use kernel expolines 2024-04-17 13:38:03 +02:00
mem.S s390: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-09 15:20:50 +02:00
probes.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spinlock.c s390/alternatives: Rework to allow for callbacks 2024-07-23 16:02:31 +02:00
string.c s390 updates for the 5.16 merge window 2021-11-06 14:48:06 -07:00
test_kprobes_asm.S kprobes: add testcases for s390 2021-10-04 09:49:37 +02:00
test_kprobes.c s390/lib: Add missing MODULE_DESCRIPTION() macros 2024-06-28 14:52:30 +02:00
test_kprobes.h kprobes: add testcases for s390 2021-10-04 09:49:37 +02:00
test_modules_helpers.c s390/module: test loading modules with a lot of relocations 2022-01-24 09:10:59 +01:00
test_modules.c s390/lib: Add missing MODULE_DESCRIPTION() macros 2024-06-28 14:52:30 +02:00
test_modules.h s390/module: fix building test_modules_helpers.o with clang 2022-02-06 23:30:37 +01:00
test_unwind.c s390/lib: Add missing MODULE_DESCRIPTION() macros 2024-06-28 14:52:30 +02:00
tishift.S s390: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-09 15:20:50 +02:00
uaccess.c s390: Replace S390_lowcore by get_lowcore() 2024-06-18 17:01:33 +02:00
xor.c lib/xor: make xor prototypes more friendly to compiler vectorization 2022-02-11 20:39:39 +11:00