Re: [PATCH 32/32] s390/extable: Remove EX_TABLE macros and fallback extable search
From: Ilya Leoshkevich
Date: Mon Oct 12 2026 - 12:11:54 EST
On 10/1/26 12:32, Heiko Carstens wrote:
Now that all exception table entries point to the faulting instruction,
rename all EX_TABLE* macros to EX_TABLE_INSN* and remove the
EX_TABLE_INSN* aliases.
Also remove the fallback extable search via instruction_pointer() which
was only needed to handle the old EX_TABLE entries that pointed to the
instruction after the faulting instruction.
Add a comment above the EX_TABLE_INSN macros that documents the usage
rule and describe the difference to the previous EX_TABLE macros. This
might be helpful in case of backporting to old kernels.
Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
---
arch/s390/boot/pgm_check.c | 23 +++++------------
arch/s390/include/asm/asm-extable.h | 38 ++++++++++++++---------------
arch/s390/include/asm/extable.h | 25 ++++++-------------
arch/s390/mm/extable.c | 2 --
4 files changed, 32 insertions(+), 56 deletions(-)
Reviewed-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>