mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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, netdev@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v8 5/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM
Date: Tue, 24 Nov 2026 06:27:47 +0200	[thread overview]
Message-ID: <179549408717.90858.144565102470528@iav.lv> (raw)
In-Reply-To: <179548270352.3135.4334710117066284426@kernel.org>

> in some topologies the replay here can still reach the MDIO bus before
> the MAC has resumed.

Yes, the commit message describes it; the patch moves this access
later, not earlier.

> Can this abort every suspend for a Broadcom BCM54210E behind stmmac with
> PHY Wake-on-LAN on a level-triggered line?

That is the level-triggered case the commit message describes: 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.

> Could the check fall back to irqd_is_wakeup_set() for nested-thread
> lines?

The cover letter lists these lines as not covered. Enabling one 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 while the bus
controller may already be suspended.

      reply	other threads:[~2026-11-24  4:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  0:46 [PATCH net v8 0/5] " Igor Velkov via B4 Relay
2026-11-23  0:46 ` [PATCH net v8 1/5] net: phy: move irq_suspended and irq_rerun out of the bitfield Igor Velkov via B4 Relay
2026-11-24  1:11   ` netdev-bot+sashiko
2026-11-23  0:46 ` [PATCH net v8 2/5] net: phy: fix three paths that unbalance a postponed PHY interrupt line Igor Velkov via B4 Relay
2026-11-24  1:11   ` netdev-bot+sashiko
2026-11-24  4:26     ` Igor Velkov
2026-11-23  0:46 ` [PATCH net v8 3/5] net: phy: stop postponing PHY interrupts when phy_suspend() fails Igor Velkov via B4 Relay
2026-11-23  0:46 ` [PATCH net v8 4/5] net: phy: run a postponed PHY interrupt handler directly on resume Igor Velkov via B4 Relay
2026-11-24  1:11   ` netdev-bot+sashiko
2026-11-24  4:27     ` Igor Velkov
2026-11-23  0:46 ` [PATCH net v8 5/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM Igor Velkov via B4 Relay
2026-11-24  1:11   ` netdev-bot+sashiko
2026-11-24  4:27     ` 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=179549408717.90858.144565102470528@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 \
    /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®