[SRU][N:linux-bluefield][PATCH v1 0/1] mlxbf_gige: add deferred probing

David Thompson davthompson at nvidia.com
Thu Jul 17 22:51:52 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2117197

SRU Justification:

[Impact]
The GIGE driver gets the PHY IRQ resource during its initialization path.
If this resource is not available at driver probe(), an error message
is emitted to log: "Error getting PHY irq. Use polling instead"

[Fix]
The fix is to update the GIGE driver to use deferred probing, i.e. return
EPROBE_DEFER if the resource is not available. This allows the driver
probe() to be re-entered, where the resource acquisition will be tried again.
The upstream patch does not apply cleanly, so provide SAUCE patch for now.

[Test Case]
* Boot BF platform with software containing fix
* Check the kernel log via dmesg for above message
* Reboot many times and keep checking log

[Regression Potential]
This fix is upstreamed and tested well.

David Thompson (1):
  UBUNTU: SAUCE: mlxbf_gige: return EPROBE_DEFER if PHY IRQ is not
    available

 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.43.2




More information about the kernel-team mailing list