Re: [PATCH v2 1/2] arm64: kprobes: disable preemption across XOL single-step

From
Mark Rutland <mark.rutland@arm.com>
Date
2026-03-02 10:23:13
Also in
linux-arm-msm, lkml
Reply to
Khaja Hussain Shaik Khaji, 2026-03-02
On Mon, Mar 02, 2026 at 03:49:05PM +0530, Khaja Hussain Shaik Khaji wrote:
On Tue, Feb 17, 2026 at 04:55:44PM +0000, Mark Rutland wrote:
quoted
Since DAIF is masked, we won't take an IRQ to preempt during XOL.
Can you please share an example failure that you have seen?
I believe other architectures are likely affected by the same problem.
Thank you for the review. You were correct on all counts.

I confirmed the issue is not related to scheduling or preemption, and the
v1/v2 approach was based on an incorrect assumption. I’m dropping that
line of reasoning.

I’ve since identified the actual root cause and have a new fix ready,
which I’ll send shortly as v3.
Ok.

As above, *please* include an observed failure in the commit message. It
will be the first thing we ask for otherwise.

Mark.
Thread (19 messages) 19 messages, 3 authors, last reply 2026-04-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help