Article View: linux.kernel.netdev
Article #16458Re: [PATCH net-next] net: dsa: motorcomm: Resync SMI slave after interrupted MDIO access
From: Andrew Lunn
Date: Sat, 14 Nov 2026 21:32
Date: Sat, 14 Nov 2026 21:32
8 lines
8416 bytes
8416 bytes
> Realign the machine before the next access does its own work. Also, the
> initial value is unsynced, so any stale state is not inherited.
Seems like you should call the sync function in yt921x_chip_reset
before doing anything else.
Andrew
Technical Details
Message-ID:
<825e7781-7331-4596-8efc-9253ca544d0d@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363467-linux-kernel-netdev=dewy.ruReferences:
<20261111163954.1132921-1-mmyangfl@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363467-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] net: dsa: motorcomm: Resync SMI slave after interrupted MDIO access Date: Sat, 14 Nov 2026 22:32:30 +0100 Organization: Usenet Network Message-ID: <825e7781-7331-4596-8efc-9253ca544d0d@lunn.ch> References: <20261111163954.1132921-1-mmyangfl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1667923"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:KH2KrJe50u1k9yMlBaXAd1rQGIQ= sha256:/gSzvGwssbYFdCZoDHbDrIm1qKJNIXdhkB2wGznXfc4= sha1:IC4hhceyvsYQ+4rlEoobQc6YkEg= sha256:8proO6ZIS0Oze8XFpHwyEDf4d1Cl61ejICosp5Owvdw= Content-Disposition: inline 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 378DF1148DD; Sun, 15 Nov 2026 00:33:04 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 (1024-bit key) header.d=lunn.ch 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 1QcWaXBIMZBH; Sun, 15 Nov 2026 00:33:00 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-363467-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id C51D11148E3; Sun, 15 Nov 2026 00:32:51 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id D8F5B36FB6; Sat, 14 Nov 2026 21:32:41 +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=1794691956; b=CAnpF0j2yjIEWqQCC83CO4IS9aqLFcpBYJJDalT5Tao/0SiEAs26AYTVJgzs0N8YIMMv ZTerZ0rF8hnE8n1fcT80PCfrv7E1zRFG4tTv760c7T8QlR8fWXVEBL0hdnZ6r7wBeAwr8 l0uxSH3bkza/ANV7aFc/LDrnEgTEu89oMUO2BslmKjHPCEB4MaFL6U7EyFryRdlwnYY3w XdlU+28AOSC8+A3cUjrvT1PquV5p0ei5q2eszaA41JshpvtfE9Ao5o8AMJ1WC2JtiDOpl NOk1f2fmyQJnLA1JnB9XkBfUxDREYoVPVst1dFSaITXm9qOodtUgAFq1i0HeUT3NhYQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794691956; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=DEbZG1llRU2rKP4835mGQK+4Byf0ouXp6r0lXYvbzoQ=; b=kNxK3t0zdA4lTzpCxtpyJyrCKB0xWtetE0xadHmwTmIc/Pxzc+rV1e2wUHNXwi9bZgeF vEgsZFN/s58d097or1wLMPkMt7TH5mG9jjK6eqKdxMA/l96K0hX1qXzTNfLfgxP4YCnoY BALfA5sv83HFSA0CEjgBm8hKimQSDfLV7DSsv4bKUgPnXZy70C7MdS14g/ceFRcKPj+DW yo+7mSRVLqfzWhPIvNLIroU6AIFthRVLpS8vWJuPQOTbqWjkhizngcHVNH5oHqBeyKV2K VrD1gd9YpxhOhp5glnAKYtDxHhv+uKmKU9tg+yj3AI/gQWr40CXCs+Uzcy3j0cxkTww== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=uYX6FFVJ; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; 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 A4D5D606A338; Sat, 14 Nov 2026 21:32:36 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=uYX6FFVJ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794691955; b=4ebAKBjyaZ9SgfP78YbhtbE3qBArwbQNnv2xcBh1Lu79i1uscx8u3RKNhrqvTrgNipna bEMAZk6GAUj8y2/LhWctt8mNGhrpAWCEVgcLgDE/1lNPxmHk2AXvB1LIlEpwZBGlb+Yvz K98lyvDRmf1uoVm/T2jlZStScv/97RB8ZEg7Yx6NyV3nkLNrfJXRlYcx15j3tmn1WnjK8 ZIqTV8TewAGg7OsctJ8PA3YI77iPcsleUerExolQ12IAa7N8igwfAfzlL0eBYqi3Pq5xS IaeUAaAOCvcvakOYOhH9y5XiHtrhTla+57gJmidF5ppsm4bDGeOBb1/h1ZHtfCoiwuA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794691955; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=DEbZG1llRU2rKP4835mGQK+4Byf0ouXp6r0lXYvbzoQ=; b=retDfvuontQAnhjltrxufVtL0pImPuO1baGfcrNZkt7phLHckfqe22O+8V1Bdem0+hEa /Oz/EDbRXMZd2gcGCOn2af+J+ya6TYhddktaJlnvxdZqPZDbUeZMtgoONVK4hDeGoFoij cziLpWkHqaY4DJnbCRgo1CXrWBa7+U84Bdn+gvHUWTdt6/VAcgyI8XMb8owSJ8/Q0gCJu 08swZQXNlscmC41ih/a24FiLZWpszN4EdncRKkAOPr1tBnWr6ec5gaQDv+qvWUGo/ay3G psrCveq57hXOhB1KKwEM3NLccasGw505QN1kgA+47Eq9TyrKwDktdOgtyC2Ov/SOV0w== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=uYX6FFVJ; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 821FB606A323; Sat, 14 Nov 2026 21:32:35 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 821FB606A323 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=DEbZG1llRU2rKP4835mGQK+4Byf0ouXp6r0lXYvbzoQ=; b=uYX6FFVJEw7Le8Uj1QSzGfpJBJ iAcbSAdllYeRN9n0tWM6MBCwHOd6dspEYhpZ/fPXJCdzgVKM6YBX3Ugs4tjdf6/wD8nIFEYjCQ7gI ViG36NwKQf/NFpb4hluBnhg+yu1m6gUJDB9eA/rypBtGuQ1imBpmVTS5uGfpKm9G6Dow=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xSLMM-00GXSF-K8; Sat, 14 Nov 2026 22:32:30 +0100 X-Cc: netdev@vger.kernel.org, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, linux-kernel@vger.kernel.org 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-In-Reply-To: <20261111163954.1132921-1-mmyangfl@gmail.com>