Article View: linux.kernel.netdev
Article #25771Re: [PATCH net-next v5 3/4] net: phy: realtek: add PTP clock support for RTL8127a
From: Nicolai Buchwitz
Date: Wed, 02 Dec 2026 12:20
Date: Wed, 02 Dec 2026 12:20
30 lines
9347 bytes
9347 bytes
Hi Javen On 2.12.2026 09:55, Javen wrote: > [...] >> What happens when r8169 is runtime suspended? Nothing on this path >> resumes it. > > I think we could resume the MAC around the PHC callbacks with > pm_runtime_resume_and_get(phydev->mdio.bus->parent), or only take a > reference with pm_runtime_get_if_active() and return -EBUSY while the > MAC is suspended, so the PHC doesn't wake up the NIC (and re-init the > PHY) while there is no link. > Which one do you prefer? I'd lean towards the second one. Waking the NIC on every clock read would probably keep it from suspending while phc2sys runs, and without link there isn't much to sync. But I'm not sure, hwmon has the same issue, so maybe Heiner prefers fixing it on the r8169 side ? > [...] Regards Nicolai
Technical Details
Message-ID:
<a1b525c91f1ae90f7c74382a6cff71c7@tipi-net.de>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375763-linux-kernel-netdev=dewy.ruReferences:
<20261201094454.1150-1-javen_xu@realsil.com.cn> <20261201094454.1150-4-javen_xu@realsil.com.cn> <f3abdf1bd4bb98dba9c3a4e4861b4f65@tipi-net.de> <d88a3c255e50437a9e5f348519a735bf@realsil.com.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375763-linux-kernel-netdev=dewy.ru From: nb@tipi-net.de (Nicolai Buchwitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v5 3/4] net: phy: realtek: add PTP clock support for RTL8127a Date: Wed, 02 Dec 2026 13:20:11 +0100 Organization: Usenet Network Message-ID: <a1b525c91f1ae90f7c74382a6cff71c7@tipi-net.de> References: <20261201094454.1150-1-javen_xu@realsil.com.cn> <20261201094454.1150-4-javen_xu@realsil.com.cn> <f3abdf1bd4bb98dba9c3a4e4861b4f65@tipi-net.de> <d88a3c255e50437a9e5f348519a735bf@realsil.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="1968380"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:XGWZ+1Sm3M4BEooNijOchi86PSw= sha256:C/oM0EFY7lvZ0i4nFqVWmQTfE8Ao0IgmboLmyekSajc= sha1:1AMfVhM0tVl/WgfOxNb8E4J0bkE= sha256:p9lGOmSJs8dOCHvGk8tU4C2knv5Cd+jQqEbWFl/OiYg= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 3902A117628; Wed, 2 Dec 2026 15:20:34 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=tipi-net.de X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 77VrWlxDOEwN; Wed, 2 Dec 2026 15:20:31 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-375763-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 5B395117620; Wed, 2 Dec 2026 15:20:23 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id B009B602775; Wed, 2 Dec 2026 12:20:22 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796214020; b=F7HBT8UKYbE//ni/MVNuBNqjlPHfH+Iow45JVFa27Ze/aoGKQkTAeuP0XNMVfBlIcE9f JUjbaO9Wvc/5IhHhaoyw1eX+2JdRUb7ziZVCsB2zC9qDGnljeulNlt9PLOnx0bqZerzwY pzhAuo9ztjAWWDKEFvVVhF7uRBQZcoxDuFw3dG8m0VM1u1KemSIxjv/AAHPkpxecL57It spgOUJ9JOMMebzOjD7Cdss7umTRhF21iaiCa6SSf2sf9nBg0qzLmyf6zqJCFSgWyqIfkM VlK9lr3J3pr7UgGlnDxBCjlx9teIHF3ulkkxfi0VaR+V7Db4/zVGo+Mp4l8bcLehNrA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796214020; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=BVotzuS5szB+T+nvGN/Ln60ob+hSx1xEgvgEJNPFNyw=; b=dHn+0/T5yh5XfTMklILVFlaHrbk/7X3hVvsfEkb28oyaM4La9IvkQtp/RgF2bCa4UJYO LFuf6+8499q0m2xLdMdp7h4frhYd2sC8veqrHvI+E5CststUmeMANLiAgsXyxN/FnGYwI oAoCZsPn4701oklF8zUbUrZkhitkXaKAlO6uQhqRuwxoNOA5r9740xK4rYGV9WGK67cg/ AFAWF9+swTwoBkWoS0xbHDPZ/QlMy+ZfAOrqIMXl1eh062K3g58rXhocdds2q+1s1AYg6 osAMhIAioj66nE4DkrYj8OOrzAiuyodp4tffGrVs3gqrkMwrO8fOplvrZzSlzcPPDlA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=fV90SArY; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 178EF606A333; Wed, 2 Dec 2026 12:20:20 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=fV90SArY X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796214019; b=vxIZNNCNsSQ3Yl2UgfQl+AtFMZMNVFOn00db/1sRKHE2FHrnriOu4q02Xf0VsuDnLwqK Y2MhwuaypunbpIW0cbNy5IWR9uxFCToJpnBl9CIkvqFYtQGCxVJZLVR+NjeC0QjLHoJPE S3Ki0Bt0SUyvHMnS7x1E43Ri2WC7gnElu2GRQAdReF/XHPcsO+hBzsksRr4tehNs6il+D qOFfCsCrBRwwyNEaxItDvJNH7oGUocsvH3PXmlDk/ASC/GqhQ8HyuvO31jXRGoLNAFaQ4 Gp2ldt1SgJd99j0G6Ke9zRPN+OhdHFYYIOozp8ETE6Pxw1nnM+k+DEH+zh+ojuzO+Jw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796214019; h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=BVotzuS5szB+T+nvGN/Ln60ob+hSx1xEgvgEJNPFNyw=; b=i6GPBAe3IBXWSqMX0Le30Ov/VFpl5SoLY38hlM+tRMT7Wb9o7Ni9cynPrSxVWP1cdn9Q I9+bWpNBrk9aMElbr91JBSh9TCgXwTxdnqk4MOzPLvQ0mlGNyHm1TKTTDhl2515BwumZl 1hr4EwfL4zKZsz5+PJnn+o6aAVbOYrMDBEeuf3NaOCWGjug2jKjPty7EcfP4hpnsxo/ME G8UpqiauD6MZNL8c8LbZf5Ci2Big0j5DN4UD8m5mBr1Hz6A4Y+8+cJQ6myJYz2LC2R91/ asYTjYuQPl3ZjbKqJ8h4jIMnv8TdIQ7TDg9aPdNP8/NYxBgGSZO2Pd3T4gnM8Aj5Plg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=fV90SArY; arc=none smtp.remote-ip=194.13.80.246 X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246]) (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 3902B606A323; Wed, 2 Dec 2026 12:20:17 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3902B606A323 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 65D9DA166D; Wed, 02 Dec 2026 13:20:12 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1796214015; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=BVotzuS5szB+T+nvGN/Ln60ob+hSx1xEgvgEJNPFNyw=; b=fV90SArYv6iZqFMokJJxSNKQXe1tRFtIXsBcre9n6SnC5qxCLtXHCaVWRYePr2IEAfjVL9 GA1vSgKcV26bk+2RN+6bKwCPHmuU8Ry9zxm3eQ6xw7LLNkVOLrKiVhfsA1/LWSVb6G4MZN DX+j8CuGUaAXdAbGTM/eHYXEh9UDyBXV8woQtnShUCmxu3FjESugqKvI391lnb/BpXb71M wK1fHkHzsFfMdP2ElweHyL4P82scFOvC9iedv0KDl1Euc5v2zi1uZfPibaeQhMBltQZRcM v11nZMiLg5qV0Y+Zn3SCJruxyVLsZY4eltgn/2SpF6OwS6Go5+pw/456AWkHuA== X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, maxime.chevallier@bootlin.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, daniel@makrotopia.org, vladimir.oltean@nxp.com X-In-Reply-To: <d88a3c255e50437a9e5f348519a735bf@realsil.com.cn> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3