Re: [PATCH v2 0/3] Handle delay slot for extable lookup

From: Jiaxun Yang
Date: Thu Feb 08 2024 - 04:21:21 EST

在 2024/2/2 12:30, Jiaxun Yang 写道:
Hi all,

This series fixed extable handling for architecture delay slot (MIPS).

Please see previous discussions at [1].

There are some other places in kernel not handling delay slots properly,
such as uprobe and kgdb, I'll sort them later.

A gentle ping :-)

This series fixes a regression, perhaps it should go through fixes tree.

- Jiaxun



To: Oleg Nesterov <oleg@xxxxxxxxxx>

To: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>

To: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
To: Ben Hutchings <ben@xxxxxxxxxxxxxxx>

Cc: <linux-arch@xxxxxxxxxxxxxxx>
Cc: <linux-kernel@xxxxxxxxxxxxxxx>

Cc: <linux-mips@xxxxxxxxxxxxxxx>

Cc: <linux-mm@xxxxxxxxx>

Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
Changes in v2:
- Reduce diffstat by implemente fallback macro in linux/ptrace.h (linus)
- Link to v1:

Jiaxun Yang (3):
ptrace: Introduce exception_ip arch hook
MIPS: Clear Cause.BD in instruction_pointer_set
mm/memory: Use exception ip to search exception tables

arch/mips/include/asm/ptrace.h | 3 +++
arch/mips/kernel/ptrace.c | 7 +++++++
include/linux/ptrace.h | 4 ++++
mm/memory.c | 4 ++--
4 files changed, 16 insertions(+), 2 deletions(-)
base-commit: 06f658aadff0e483ee4f807b0b46c9e5cba62bfa
change-id: 20240131-exception_ip-194e4ad0e6ca

Best regards,

Jiaxun Yang