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

From: Linus Torvalds
Date: Sun Feb 04 2024 - 06:45:53 EST


On Sun, 4 Feb 2024 at 11:03, Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote:
>
> Well this is the tricky part of my assumption.
> In `exception_epc()` `__isa_exception_epc()` stuff is only called if we
> are in delay slot.
> It is impossible for a invalid instruction_pointer to be considered as
> "in delay slot" by hardware.

Ok, I guess I'm convinced this is all safe. Not great, and not exactly
giving me the warm fuzzies, but not buggy.

Linus