From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7DCB606A323 for ; Sun, 29 Nov 2026 13:58:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Ryq4DD1W; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=YEHxdF5B DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID:References: Mime-Version:In-Reply-To:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=Hdf8KCGj7stOqI8tSYie4WPgrmdAYWRykBroK3nXhW4=; b=Ryq4DD1Wm/kqTJeGLy11u9csh+ a4+SK0aRLl3i1QVP5Etc012J3xOxpVE/O9eCDw//nvqHniqlno+iV4SLK/CU4eRdWuh+W01r11vdB U6Ek+yKKx3s0XB9aLOiY+RRJyrHouFS4aEXGJ5+dZgsYu06BB1zLzpZ7KqPBpShv4AH3ZJEfDgPQ8 GLQp7CUctebLEMKepOmJBN/6zNC2PnxDNwe8gaFIfgqVxN04eOv4J59K89H3wq4luoaWnA22ekmxg HaWbk2q6bC/DHLnKp0TZwOdhVLKgt8FzA2UAHmcRqKbGrcI+vunzt5B3KGxDAP871mxu0jv9yQRT/ 4x6Oee7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXfPn-000000025gc-47sS; Sun, 29 Nov 2026 13:58:03 +0000 Received: from mail-qv1-xf48.google.com ([2607:f8b0:4864:20::f48]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXfPl-000000025fT-015V for linux-rockchip@lists.infradead.org; Sun, 29 Nov 2026 13:58:03 +0000 Received: by mail-qv1-xf48.google.com with SMTP id 6a1803df08f44-9213c7a506fso113144756d6.1 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=lists.infradead.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=YEHxdF5BGiTL1jPTh5+jeRhQLH3eypWfDJXBaWHk3AY3B5w0nfRn1qOmQUjQshxhZZ v5QUlWFg8c6IhHSz11N7z9bEsOL0kXc3cIbNRnq9YLDRPNQyOpTRyqIeQxsNDEteKzT9 Za6zXsa16xSEDohT6ZefVC43pByMocX5lVnXdKD3vy2Pkd1cwq9nXj1huA0sMBxAkei8 8x6DU8LDdzpMPmJOL2lNGsVqLGf7WyFyiqnOopviwDd4ZkMCgumMJly6yOoh/3oJqWG0 VKMXP0YhfMhASNGMmn1CcLSI4s3HUYoyqpxhDjOCF9xFiQh27FKC+gLZw73yu43H98lj PEEw== 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=jJscz52FsGX2v7I+T6Q60335iZRRfcwUtsTUljxvbZzbt7eiqps8lTn6jWN/qwV57b mmp+ibh9E4c3H+drIEBdRMmGR0Krw36wU0gDrRZWYmtVF1kKz7+Po06NqGA+ep63k1G1 fEAKAKw49aBkbawOVi2KBKQUB7fW2z+2c9DfEALNHKhnu+yPRzob9SZwfIiGogFBWA2U yqpzZxu2rzjqyrAQZmkQH/X8wizJN+RMdi1Sxc7MxGoqfifEkBEVHHF8IcuIN7F+ioNO KkJkG7xMLkqhMp8jDOu+Ts82jJ+KxIWDWCYbaXBUuVKyjYcmxqFIchc7FmpVU7rQWRfd K/yw== X-Forwarded-Encrypted: i=1; AL+hErFyy5hRJjEYmuU8ATHTe2zcUCqgKDmIORxgeJRcrGt6Yeo4rkOVAu35bjoMbo63Vlogi5nNbePeBlPr5aANqA==@lists.infradead.org X-Gm-Message-State: APuU4Z8c4FVs1fx0K7+QwgLjJRCq2qrtqiQs+Fw2ha1d/uionYdAGF8h n1i22xKKPwDK4ZKqAw9f909plQUalv/avuVYrb2hc8sPwPSNMLJ3GZPBcW3zNHVsDk9iOUYKJ2L AH4u2sn6lsA== 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-Archived-By: 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_055801_038082_49229600 X-CRM114-Status: GOOD ( 10.09 ) X-Spam-Score: -9.5 (---------) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Sender: "Linux-rockchip" X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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