[Intel-wired-lan] [PATCH v2] e1000e: Print PHY register address when MDI read/write fails
naamax.meir
naamax.meir at linux.intel.com
Wed Feb 23 07:02:29 UTC 2022
On 2/10/2022 15:22, Chen Yu wrote:
> There is occasional suspend error from e1000e which blocks the
> system from further suspending. And the issue was found on
> a WhiskeyLake-U platform with I219-V:
>
> [ 20.078957] PM: pci_pm_suspend(): e1000e_pm_suspend+0x0/0x780 [e1000e] returns -2
> [ 20.078970] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -2
> [ 20.078974] e1000e 0000:00:1f.6: PM: pci_pm_suspend+0x0/0x170 returned -2 after 371012 usecs
> [ 20.078978] e1000e 0000:00:1f.6: PM: failed to suspend async: error -2
>
> According to the code flow, this might be caused by broken MDI read/write
> to PHY registers. However currently the code does not tell us which
> register is broken. Thus enhance the debug information to print the
> offender PHY register. So the next the issue is reproduced, this
> information could be used for narrow down.
>
> Acked-by: Paul Menzel<pmenzel at molgen.mpg.de>
> Reported-by: Todd Brandt<todd.e.brandt at intel.com>
> Signed-off-by: Chen Yu<yu.c.chen at intel.com>
> ---
> drivers/net/ethernet/intel/e1000e/phy.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Tested-by: Naama Meir <naamax.meir at linux.intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20220223/6bef2cfd/attachment-0001.html>
More information about the Intel-wired-lan
mailing list