-
- Downloads
s390/kernel: expand exception table logic to allow new handling options
This is a s390 port of commit 548acf19 ("x86/mm: Expand the exception table logic to allow new handling options"), which is needed for implementing BPF_PROBE_MEM on s390. The new handler field is made 64-bit in order to allow pointing from dynamically allocated entries to handlers in kernel text. Unlike on x86, NULL is used instead of ex_handler_default. This is because exception tables are used by boot/text_dma.S, and it would be a pain to preserve ex_handler_default. The new infrastructure is ignored in early_pgm_check_handler, since there is no pt_regs. Signed-off-by:Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by:
Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by:
Heiko Carstens <hca@linux.ibm.com>
Showing
- arch/s390/include/asm/extable.h 47 additions, 5 deletionsarch/s390/include/asm/extable.h
- arch/s390/include/asm/linkage.h 2 additions, 1 deletionarch/s390/include/asm/linkage.h
- arch/s390/kernel/kprobes.c 1 addition, 3 deletionsarch/s390/kernel/kprobes.c
- arch/s390/kernel/traps.c 2 additions, 5 deletionsarch/s390/kernel/traps.c
- arch/s390/mm/fault.c 1 addition, 3 deletionsarch/s390/mm/fault.c
- scripts/sorttable.c 41 additions, 0 deletionsscripts/sorttable.c
Loading
Please register or sign in to comment