Article View: linux.kernel.netdev
Article #16367Re: [PATCH net-next v3 0/2] net: dsa: mxl-gsw1xx: reset the switch through reset-gpios
From: Andrew Lunn
Date: Sat, 14 Nov 2026 15:26
Date: Sat, 14 Nov 2026 15:26
16 lines
9422 bytes
9422 bytes
> Since GL's own firmware resets the switch from Linux too, I still think > a hardware reset at probe is the right fix. I'll send a v4 with the > cover letter corrected, this explained, and Sashiko's points addressed > (the silent skip with CONFIG_RESET_GPIO=n, and the repeated pulse on > probe deferral). And this reset to clear other settings was what i was thinking about, and how it affects backwards compatibility. In general, a reset is good. So you should add support for it. And i don't think there is a DT blob ABI problem. To make use of the reset you need to change the DT blob. If you are changing the blob, you can also change the PHY mapping at the same time. Andrew
Technical Details
Message-ID:
<cb65f839-2809-4d1b-918f-386644c5f792@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-363335-linux-kernel-netdev=dewy.ruReferences:
<20261112-mxl-gsw1xx-reset-v3-0-863e82074893@telaak.dev> <a2f45802-b75b-4a19-9508-2d1b5ebe473a@lunn.ch> <avcoghKd4CU13QI_@makrotopia.org> <9804b024-236a-4791-aa55-d83a71b2598c@lunn.ch> <CAPY4CJ6jQTNE=ZtyBysaxuOxG1Pb9zFsYcyas8isfXte2=OiKw@mail.gmail.com> <CAPY4CJ4gB42mW6UW4Qk6r1+u2_AA=58WTFCvRrea2cedPuAcBA@mail.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-363335-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v3 0/2] net: dsa: mxl-gsw1xx: reset the switch through reset-gpios Date: Sat, 14 Nov 2026 16:26:58 +0100 Organization: Usenet Network Message-ID: <cb65f839-2809-4d1b-918f-386644c5f792@lunn.ch> References: <20261112-mxl-gsw1xx-reset-v3-0-863e82074893@telaak.dev> <a2f45802-b75b-4a19-9508-2d1b5ebe473a@lunn.ch> <avcoghKd4CU13QI_@makrotopia.org> <9804b024-236a-4791-aa55-d83a71b2598c@lunn.ch> <CAPY4CJ6jQTNE=ZtyBysaxuOxG1Pb9zFsYcyas8isfXte2=OiKw@mail.gmail.com> <CAPY4CJ4gB42mW6UW4Qk6r1+u2_AA=58WTFCvRrea2cedPuAcBA@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1599873"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:adv8G3uY5NbLYU51hbpZsZ/jrXo= sha256:lYq59OVHVaG046geL6KyqUVr1ohuX3MTtSfudTHY0uU= sha1:M+30FZkUUQlmGXUdJFOIYdGo1AE= sha256:RC/vZfoJWeEyHINR94DzSWHVmSlhmiob84zlx5guUHs= 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 5329A11484C; Sat, 14 Nov 2026 18:27:47 +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 IBYeLOAxHlHO; Sat, 14 Nov 2026 18:27:39 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-363335-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id BBD41114838; Sat, 14 Nov 2026 18:27:29 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 1147D33A5C; Sat, 14 Nov 2026 15:27:20 +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=1794670036; b=klxyWabPM3F550nsZpY2/ltUDdI8ShUcxuOFW0fOPMBiuVtYaZTaEjW8lcuQ00dnWpcu PCLDTxulPe55GREkAECtW6XWKK6r+xom3nrwiAgMAKTDuW481eImo0Agr44y94NlCNLwS LKjbkTuRdlNoPglSvCKTv1ZajFvSn/biHUnsR0nK6kuN1yoRj7Zk2bSPOxmDslVdyeb/w Zaxm6HQEQjESVK0AoW4AKu5LH8L/8ATRoLqdlnKB14AsxrkwQcLIcij5uBZX7WQgIp26y 3Cumx1h/51P0//4BKW3jwo4aKKgYCw/gqNcNoYdYgFOiRKpX7+MzA/iEIuVPG/przsA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794670036; 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=DfR/q336KNQwe5WWHF5lus4bznwLlva2G84Nw8tNU1w=; b=RFFMTRM17qWLimmhF9N6CrSRkq1s04N1M6Q1bxpQ8WSvhsULGMVhVWi2a5N6vCvv0x4W WdBDUpIlVogj7lIOGjLE31SzxQBJmE/362gOCLGrwFzIkwm+LiKThcEHh5UNqBa/+k9MK S9Zm3R1wykGwH78fbMDhnYQztR+uJ5URfVF4BCtdhIeWzb2DpgMchdfucD6J8J7JnfK+K 2FnuhWzeQFoKMTBjKEuziBgrfWnqY0X4wlmXAnUA/Mw4rsrH3vdAVwJ0SVYlJc2xlyq0w gLJp+LzcK9d795OGZWxn5vGhD8WV118YOiB0as1m3HjKXLcDYlkgRntyV7rNW16F48g== 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=DhVp6XIC; 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 7A285606A339; Sat, 14 Nov 2026 15:27:16 +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=DhVp6XIC 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=1794670035; b=nAzAc3U7EM9otnJlLWg3muaRX/w24PRONjJ367Iin+r6eNuxjQImp1tT4GD7N3nGG2Lm emvPZzfk3hcvi7zH1YpmbRySomOwZtMulp2RfX1cELamAFHl6kpplYx1d5Dl823tCtEY9 gK8+/vatGvUkMrk0PxY5ij0eUzJsajvvpPaXFI6i5YsO/rRqiksqLsvuReysepiAUsiKI nCJe4VzKvl79GPzQh0yUV/OYcg30xEHUPHXapXxe4FGVUpfE8lBxp8XEHXTMhw0Q2shSG F2Zdd1n22VQnrTESG3xv+1T6Dsww4V/O+i15fia2kmogNDwkP+vR/cvgNrGdNI22Arg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794670035; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=DfR/q336KNQwe5WWHF5lus4bznwLlva2G84Nw8tNU1w=; b=poKdKGU2Rpb8SNMlV+0kapKGWOphepXmBtDMicrS9y/cZqqc3GrhTH0oJb6YHC53aq4k bcQQnho1hCcgdk87uK9rwXyAoDqO6MJqhjKk95AvslNQul+KtjrtnK+enwRLf7clU236K xoVMEv8J0pnkPHKLOrm7m8Xsksri7Z5Nvu5IOTr2EBsxrSYlNBi5n+hluDTlop9/vSZjl szTfsetCip8ykiqutKmE/NJlDVAlP6ba6tFtEHShfcocjwjIvIJibqIDLVF1Nzy1d3AcQ V5i9kfEhuuC6uJ+nNnS2qh5VW3/wJA355UrT2DwbZMosUblrXkYWkdH1z3M9nKgjXLg== 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=DhVp6XIC; 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 555D9606A329; Sat, 14 Nov 2026 15:27:15 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 555D9606A329 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=DfR/q336KNQwe5WWHF5lus4bznwLlva2G84Nw8tNU1w=; b=DhVp6XICUHsqJIhXRu7Ark/rdc 66tH3tG+gTXWHkoYFgfzrhhXz6meTOgDx3GDP3lsEQnyF9tue2NujkDkSg7YRgN7yPAVoAgVWsBNK cQ/dTiq0zkPJptype9Ki5jbTuUZACkwnKxRQIaRqSHxQBU3GCvKKPz56WNvLQnWqjlfo=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xSFec-00GVlp-8n; Sat, 14 Nov 2026 16:26:58 +0100 X-Cc: Daniel Golle <daniel@makrotopia.org>, Hauke Mehrtens <hauke@hauke-m.de>, 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>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Philipp Zabel <p.zabel@pengutronix.de>, netdev@vger.kernel.org, devicetree@vger.kernel.org, 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: <CAPY4CJ4gB42mW6UW4Qk6r1+u2_AA=58WTFCvRrea2cedPuAcBA@mail.gmail.com>