Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: willemb@google.com
To: Igor Velkov <iav@iav.lv>, 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 4/5] net: phy: run a postponed PHY interrupt handler directly on resume
Date: Sun, 29 Nov 2026 08:57:56 -0500	[thread overview]
Message-ID: <willemb.1480725d820b1@google.com> (raw)
In-Reply-To: <179549408701.90856.922626687148@iav.lv>

Igor Velkov wrote:
> > Can phydev->interrupts reliably tell us that the PHY still has its
> > interrupt requested at this point?

> > Is this read of phydev->interrupts really serialized against the write  
> in
> > phy_free_interrupt()?

> Agreed on both: some resume callbacks set the bit again, and it shares
> a bitfield word. I will gate the rerun on a separate bool that only
> phy_request_interrupt() and phy_free_interrupt() write under
> irq_pm_lock, in the next version or in a follow-up, and update both
> irq_pm_lock comments with it.

Please go ahead and post v9 incorporating the phy_free_interrupt() matching  
fix and the separate bool under irq_pm_lock.

--

pw-bot: cr

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2026-11-29 13:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  0:46 [PATCH net v8 0/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM 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-29 13:57       ` willemb [this message]
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

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=willemb.1480725d820b1@google.com \
    --to=willemb@google.com \
    --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=iav@iav.lv \
    --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