s390/extable: add EX_TABLE_UA_LOAD_REGPAIR() macro
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 2 Nov 2022 14:18:45 +0000 (15:18 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 21 Nov 2022 12:36:15 +0000 (13:36 +0100)
commitf39a8c4a22ea104c368361b9ae0f550da161db2d
tree371973e6f3980432d3a12488aa3e09bc7b543a21
parente388d66f032166c8e8c4efd9e6c6f43610378903
s390/extable: add EX_TABLE_UA_LOAD_REGPAIR() macro

Add new exception table type which is able to handle register
pairs. If an exception is recognized on such an instruction the
specified register pair will be zeroed, and the specified error
register will be modified so it contains -EFAULT, similar to the
existing EX_TABLE_UA_LOAD_REG() macro.

Link: https://lore.kernel.org/r/Y2J8RSW2khWLgpPo@osiris
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/asm-extable.h
arch/s390/mm/extable.c