[PATCH] perf/arm-smmuv3: Propagate errors from optional IRQ lookup
Bui Duc Phuc
phucduc.bui at gmail.com
Fri Oct 2 17:07:12 PDT 2026
Hi Will,
Thank you for your review.
>
> Not sure about this. If it's optional, why should we bail the probe if
> we don't manage to get an irq? Surely it's better to continue without
> the interrupt in that case?
>
platform_get_irq_optional() returns -ENXIO when no IRQ is available.
Other negative return values indicate errors, including -EPROBE_DEFER.
In the case of -EPROBE_DEFER, we should propagate the error so that
the probe can be retried later.
Best regard,
Phuc
More information about the linux-arm-kernel
mailing list