linux/arch/mips/include
Jiaxun Yang fdd12a80f6 ptrace: Introduce exception_ip arch hook
[ Upstream commit 11ba1728be ]

On architectures with delay slot, architecture level instruction
pointer (or program counter) in pt_regs may differ from where
exception was triggered.

Introduce exception_ip hook to invoke architecture code and determine
actual instruction pointer to the exception.

Link: https://lore.kernel.org/lkml/00d1b813-c55f-4365-8d81-d70258e10b16@app.fastmail.com/
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Stable-dep-of: 8fa5070833 ("mm/memory: Use exception ip to search exception tables")
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-02-23 09:24:53 +01:00
..
asm ptrace: Introduce exception_ip arch hook 2024-02-23 09:24:53 +01:00
uapi/asm - added support for TP-Link HC220 G5 v1 2023-06-29 15:01:51 -07:00