From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.197 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795960680; b=qFYQ8/IGHHxm4N5Pd6Mt7ZNXZOuj78OCQ54nmADvddhA/ItU9EIxNWt3og58mecxUtZS rkKHH+X5//bbpGT/ta0NOc3XH7vl6AjIIozL3ai32iM9zTv/5SUSCkeSXxlGPSDM1Puz4 oGWo4c+cK4bPXCMn/t2UAVRtw/fzkG4e6EkUDB099lyUpPdgYccnF53cuJvX5jUMwDh9Y hI7HL8lluQ5o49FkYc0RmWBZPQZGmEe+ktNUPTVCVmu2dPUQKD7uzqvE+7aLM8Rh4kNrZ 3hYbb8iA0BNHbUA7shVoZcfTANj9FVBWGhMkgWmV0KA8/CQGvdYibwmKDdNw2Ru2Tlg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795960680; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:Message-ID:Subject:From:To:Cc:Content-Type; bh=7nDVn7QQ8uvutQsgHNuEiUX26YpZBUimElrNs0LDOmk=; b=RuAclOhRLeYwri3Zb7or/LK/9u+08eV8uZxBYB2QYUZ0uAQLQxteGdEtodDoKvKAfj0Z 5GBaC3Yfd/9zT5eNiFaI6AyKH9Ezk8zd4kcSqS+/LU/QlWTX/ggLGdMpZ7L8a5Rf0k1J7 AIf2oFBB6ftIeGELVa1Fu/r9AJSdfIeEW0+mvtmIUkupDWDsoqo5HP6vTvKbTKmefkMA4 mCYVIH08IBkFrlX86fwBvq5UsbqabVEbit2Zdl8u84XyIPXFQjLaciekeiTkB7OB+7yEY zWNuYjdZLK5z/bpr4hwLsbdGFBd+m+vsynMfNxRgoQqG4O/Mo2C8QfmFxBO7Le6d6nw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=PEpxObS5; arc=none smtp.remote-ip=209.85.222.197 Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FFC4606A323 for ; Sun, 29 Nov 2026 13:57:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9FFC4606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=PEpxObS5 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-9493e89d4f9so1272904985a.2 for ; Sun, 29 Nov 2026 05:57:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1795960678; x=1796565478; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=7nDVn7QQ8uvutQsgHNuEiUX26YpZBUimElrNs0LDOmk=; b=PEpxObS5O9gxY3fbAQ/hhgjQTHerWJzGmn4bVwQRCAs7QB1QBHkyrJ7CQXaxUMNZJj eFG95zPJoXENq9npI0wN472YmVhuPBlnvr2LWuatXzZBNmq7a9Qa3BaXMZJiMlD/u82u 5ZCeOY1cs7q6I3xsl1veQBOQytnJ0K8Vsx0hg9Ne/RZ+v8ej8aepFxJezxTVZAhvshnl j9pN41ElsAqZiYe9vRt1QUP1fA0JDsmmmmB7W0ujWmf01crEUuZQFR+e4ghYIIMFFFbS qDsq1CxIydJMkx604UGVb63O1dUqiv014p096ig8ZK5w6Hp+cbIbGYF8r03jbFUbx9yi dg7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795960678; x=1796565478; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=7nDVn7QQ8uvutQsgHNuEiUX26YpZBUimElrNs0LDOmk=; b=kDA00s4DW1xCT/nMRK2BuYkf9N/DAo7BbbJblmgFaUI0B+M8BNhrYUbJ6sBmTm7rdv avqHBgiYcydFFdv+cmg+HyzfqAObInU3nFIwQbKbqmn242DawoImN+1DmtuO2aC2qxTU Z5SQtZfe8B4mzgDHjSBPyQi8IM3wBbQjSOqMVjBrzZN9MKdGNE34NL9UN8t69kpiBI00 y3eQZEKhNUcu9O6T6WLwERPk7PpUmchSLwEPIgpfqbEjkNieYaLaSQNbbolfM4X9QciQ JbSQcUnsX+ZFSOVhfAxcu6Sq0bBE5CfK+q2jEPpq2zp6CAY9GGgHEUmqkoKWT6jEyUxp r3kA== X-Forwarded-Encrypted: i=1; AL+hErG/vDubFWd6kVMeWr6UcHUBubUpwWsYnDHQzg54xm4a3jX7jnfLLeQ/tXAeH4kKcvM21RUCUIY=@vger.kernel.org X-Gm-Message-State: APuU4Z/sQkQjfYkgAg/wvH7RkHhVlBVSMZ2d8yh7exY+hTZ3Li/k+QIy c5WX27wwAStNnpyvL0HPtiQbKIhyT52XIXzfg1e832p9LqWfAuZDnr5GhXiEsgZsup3/QtFFrBU hBaya4nDtzA== X-Received: from qknre6.prod.google.com ([2002:a05:620a:8e06:b0:93f:18ba:bf7a]) (user=willemb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:620a:838a:b0:949:7497:7c22 with SMTP id af79cd13be357-949bab72ed0mr5110351985a.80.1795960678155; Sun, 29 Nov 2026 05:57:58 -0800 (PST) Date: Sun, 29 Nov 2026 08:57:56 -0500 In-Reply-To: <179549408701.90856.922626687148@iav.lv> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261123-b4-phylib-mac-pm-irq-v3-v8-4-e9f706e79614@iav.lv> <179548270110.3135.13757603939004535921@kernel.org> <179549408701.90856.922626687148@iav.lv> Message-ID: Subject: Re: [PATCH net v8 4/5] net: phy: run a postponed PHY interrupt handler directly on resume From: willemb@google.com To: Igor Velkov , 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 Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes 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