Re: [PATCH net v4 4/4] igb: only allow runtime PM if the device can wake up

From: Antonio Quartulli

Date: Tue Nov 24 2026 - 18:57:19 EST




On 24/11/2026 22:38, netdev-bot+sashiko@xxxxxxxxxx wrote:
Thank you for your contribution! Sashiko AI review found 1 potential
issue(s) to consider.

Critical: 0 · High: 0 · Medium: 1 · Low: 0

If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).

- [Medium] The runtime PM usage count can end up unbalanced, because the
same decision is made twice.

Right: pci_dev_run_wake() can change while the driver is bound. v5
checks it where the runtime suspend is scheduled (the watchdog and
igb_runtime_idle()) instead of at probe and remove, which stay
unconditional, so the usage count stays balanced.

Regards,


--
Antonio Quartulli

CEO and Co-Founder
Mandelbit Srl
https://www.mandelbit.com