Re: [PATCH net] octeontx2-pf: propagate ME IRQ registration failures

From: Daniel Machon

Date: Mon Nov 30 2026 - 06:27:02 EST


Hi Ziheng,

> ME request_irq() failures are only logged. The next request overwrites
> ret, so SR-IOV is enabled without its ME handler:
>
> request_irq(ME) fails -> ret overwritten -> SR-IOV reports success
> -> ME events have no handler
>
> Return ME errors like FLR errors and unwind all IRQs already registered
> by the failing call.
>
> Found by LLM-assisted static analysis. Build tested with allmodconfig;
> no runtime fault-injection test.
>
> Fixes: d424b6c02415 ("octeontx2-pf: Enable SRIOV and added VF mbox handling")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Ziheng Wei <zihengw03@xxxxxxx>

The fix looks good, but I agree with sashiko that the fixes tag is wrong.

/Daniel