From: Andrew Lunn <andrew@lunn.ch>
To: willie.wiholm@tritechsolutions.se
Cc: Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Thomas Haemmerle <thomas.haemmerle@wolfvision.net>,
netdev@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH RFC net 1/2] net: phy: dp83867: set INT_OE when enabling Wake-on-LAN
Date: Fri, 27 Nov 2026 19:56:51 +0100 [thread overview]
Message-ID: <8abecae4-8a6d-4608-bf97-45423d69541c@lunn.ch> (raw)
In-Reply-To: <20261127-wol-net-v1-1-769a2aff91df@tritechsolutions.se>
On Fri, Nov 27, 2026 at 07:44:56PM +0100, Willie Wiholm via B4 Relay wrote:
> From: Willie Wiholm <willie.wiholm@tritechsolutions.se>
>
> dp83867_set_wol() enables the WoL interrupt in MICR, so a detected
> magic packet is signalled on the INT/PWDN_N pin. That pin is only an
> interrupt output when CFG3.INT_OE is set, and dp83867_config_init()
> sets INT_OE only when the PHY has a valid IRQ. Otherwise the pin stays
> a power-down input and the WoL event never leaves the PHY.
>
> This happens on Intel Elkhart Lake boards with dwmac-intel, where the
> PHY is polled (no PHY IRQ in Linux) and INT/PWDN_N is wired to the MAC,
> which raises PME to wake the system.
Can this pin on the MAC actually generate interrupts? It would be
better to turn it into an interrupt controller, so all the usual
mechanisms just work, like PHY interrupts, not just WoL wake up.
Andrew
next prev parent reply other threads:[~2026-11-27 18:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 18:44 [PATCH RFC net 0/2] net: phy: dp83867: fix Wake-on-LAN without a PHY IRQ Willie Wiholm via B4 Relay
2026-11-27 18:44 ` [PATCH RFC net 1/2] net: phy: dp83867: set INT_OE when enabling Wake-on-LAN Willie Wiholm via B4 Relay
2026-11-27 18:56 ` Andrew Lunn [this message]
2026-11-29 22:03 ` Wiholm Willie, Tritech Solutions AB
2026-11-29 22:19 ` Andrew Lunn
2026-11-27 18:44 ` [PATCH RFC net 2/2] net: phy: dp83867: clear latched WoL interrupt before suspend Willie Wiholm via B4 Relay
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=8abecae4-8a6d-4608-bf97-45423d69541c@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stable@vger.kernel.org \
--cc=thomas.haemmerle@wolfvision.net \
--cc=willie.wiholm@tritechsolutions.se \
/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