From: "Ruinskiy, Dima" <dima.ruinskiy@intel.com>
To: Michael Serajnik <dev@mser.at>, <intel-wired-lan@lists.osuosl.org>
Cc: Tony Nguyen <anthony.l.nguyen@intel.com>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>,
<netdev@vger.kernel.org>
Subject: Re: igc: I226-V does not wake from S5, PHPM D3 link-disable bits never cleared
Date: Tue, 20 Oct 2026 09:55:54 +0300 [thread overview]
Message-ID: <1562f299-bb3e-4fe6-81d9-e11f67606737@intel.com> (raw)
In-Reply-To: <179223208565.28107.1987245697366860479@mser.at>
On 17/10/2026 13:14, Michael Serajnik wrote:
> What I see:
> - `ethtool eno1` shows "Supports Wake-on: pumbg" and "Wake-on: g".
> - BIOS: ErP disabled, Power On By PCI-E enabled.
> - /proc/acpi/wakeup has the NIC and every port on its path enabled.
> - After `systemctl poweroff`, the port LEDs go dark, the switch sees
> no link, and a magic packet from the same subnet does not wake the
> machine.
>
> Register read:
> With igc unbound (strict devmem refuses the mmap while it is bound),
> I read BAR0 + 0xE14 (IGC_I225_PHPM):
>
> PHPM = 0x00045298
> DIS_1000_D3 (0x0008), DIS_100_D3 (0x0200), DIS_2500_D3 (0x1000)
> are all set (mask 0x1208).
>
> As a sanity check, RAL0 (0x5400) read 0x62e7fcbc, which matches the
> MAC address bc:fc:e7:62:d6:2f.
>
> These bits come from the NIC's NVM, not from the board firmware, and
> FreeBSD bug 282140 (below) reports the same link-disable bits on other
> hardware, so I do not expect a BIOS update to change this. [1]
>
> With all three speeds disabled in D3, the PHY has no link while the
> device is in D3, so the magic packet never reaches the MAC, however
> WUFC is programmed. In mainline igc, `__igc_shutdown()` sets WUC,
> WUFC and CTRL.ADVD3WUC and calls `igc_power_up_link()`, but nothing
> in the driver clears these PHPM bits, and igc defines neither the
> bits nor a D3 LPLU operation.
Hi Michael,
With these bits cleared, the link should resolve to the lowest, 10Mbps
speed. In recent years, an increasing number of switches stopped
supporting 10Mbps, so we have been receiving reports of similar problems
from time to time.
I think I can fix it in the driver, but to double-check that the problem
is indeed this, and not something else in the wake-from-shutdown path,
could you try to reproduce with a different link partner (switch or
back-to-back) that is known to support 10Mbps link speed?
Thanks!
--Dima
next prev parent reply other threads:[~2026-10-20 6:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 10:14 igc: I226-V does not wake from S5, PHPM D3 link-disable bits never cleared Michael Serajnik
2026-10-20 6:55 ` Ruinskiy, Dima [this message]
2026-10-20 9:40 ` Michael Serajnik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1562f299-bb3e-4fe6-81d9-e11f67606737@intel.com \
--to=dima.ruinskiy@intel.com \
--cc=anthony.l.nguyen@intel.com \
--cc=dev@mser.at \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=netdev@vger.kernel.org \
--cc=przemyslaw.kitszel@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox