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

Khaja Hussain Shaik Khaji khaja.khaji at oss.qualcomm.com
Mon Mar 2 02:19:05 PST 2026


On Tue, Feb 17, 2026 at 04:55:44PM +0000, Mark Rutland wrote:
> 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.

Thanks,
Khaja



More information about the linux-arm-kernel mailing list