From: Igor Velkov <iav@iav.lv>
To: netdev-bot+sashiko@kernel.org
Cc: iav@iav.lv, andrew@lunn.ch, hkallweit1@gmail.com,
linux@armlinux.org.uk, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, tglx@kernel.org,
linux-pm@vger.kernel.org, maxime.chevallier@bootlin.com,
lukas@wunner.de, rafael.j.wysocki@intel.com, wei.fang@nxp.com,
niklas.soderlund@ragnatech.se, paul@pbarker.dev,
florian.fainelli@broadcom.com, opendmb@gmail.com,
Thangaraj.S@microchip.com, shenwei.wang@nxp.com,
Haoning.CHENG@cn.bosch.com, willemb@google.com,
netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v10 5/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM
Date: Thu, 03 Dec 2026 23:28:28 +0000 [thread overview]
Message-ID: <179634050835716.phylib-v10-sashiko@iav.lv> (raw)
In-Reply-To: <179632987837.3146.12860767392112121060@kernel.org>
> Can this condition ever be true when phydev->irq is a nested-threaded
> child, such as regmap-irq, an I2C/SPI GPIO expander or a switch irqchip?
No. The cover letter lists this line as not covered. Enabling it in the
noirq phase is not safe: enable_irq() goes through chip_bus_sync_unlock(),
which on regmap-irq writes the mask over I2C or SPI.
> Can this enable_irq() abort every suspend with Wake-on-LAN on a
> level-triggered line?
Yes, the level-triggered case in the commit message: the PHY driver has
to restrict its interrupt to Wake-on-LAN in its suspend callback. I have
no such hardware; bcm54xx_suspend() is for a separate patch.
The two Low comments are right; I'll fix them if there is a v11.
prev parent reply other threads:[~2026-12-03 23:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 20:16 [PATCH net v10 0/5] " Igor Velkov via B4 Relay
2026-12-02 20:16 ` [PATCH net v10 1/5] net: phy: move irq_suspended and irq_rerun out of the bitfield Igor Velkov via B4 Relay
2026-12-02 20:16 ` [PATCH net v10 2/5] net: phy: fix three paths that unbalance a postponed PHY interrupt line Igor Velkov via B4 Relay
2026-12-03 20:31 ` netdev-bot+sashiko
2026-12-02 20:16 ` [PATCH net v10 3/5] net: phy: stop postponing PHY interrupts when phy_suspend() fails Igor Velkov via B4 Relay
2026-12-02 20:16 ` [PATCH net v10 4/5] net: phy: run a postponed PHY interrupt handler directly on resume Igor Velkov via B4 Relay
2026-12-03 20:31 ` netdev-bot+sashiko
2026-12-02 20:16 ` [PATCH net v10 5/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM Igor Velkov via B4 Relay
2026-12-03 20:31 ` netdev-bot+sashiko
2026-12-03 23:28 ` Igor Velkov [this message]
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=179634050835716.phylib-v10-sashiko@iav.lv \
--to=iav@iav.lv \
--cc=Haoning.CHENG@cn.bosch.com \
--cc=Thangaraj.S@microchip.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=lukas@wunner.de \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=niklas.soderlund@ragnatech.se \
--cc=opendmb@gmail.com \
--cc=pabeni@redhat.com \
--cc=paul@pbarker.dev \
--cc=rafael.j.wysocki@intel.com \
--cc=shenwei.wang@nxp.com \
--cc=tglx@kernel.org \
--cc=wei.fang@nxp.com \
--cc=willemb@google.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
all inboxes | Powered by JetHome®