From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.175.24.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796466211; b=f8wTFpUnZ3cU1Il1O/hqHN8/wN+z/zj4S3nlKAz9JTHVSxPPtnKkqkyqGyMNhpoXPEhN pRZBmWLcsMkThSS2SRkXOeXyb+Xvh3UefUzY/8Y8C9KERDEYJxBo6fuCwjoCbPKNtjmws bJx0aN/nhYEt7RRK6m/UbM98FSiuu7ncCHUnRHPpOFwkBmIeXPnbb73K+gonwa7zlY3Cy s9nLc5Z1HqTfopINo/AtVqKYSEmOimi3HNmOA++YScuQ4e5i1eS8ycZ/T6OokGpjkoikp OQx5mFCBqoIFfmFl/LdSn0o46Ri7n72qF+RqlicO0FrXmd+l2W1gGisvtV0Z+dc3hkg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796466211; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=+25P97h+ft2KrhfvhR6V2RXCOzpfUHiAB3wzCKKAxao=; b=eylRhEGnTcn1+0OouwLo3S6e/u3W8UT//+ibQzaXHxg81rL3AFthNSCUjO/F/KhBPoHB 6Zae2hJlNLi2xHSlDaE3o+MmZIgFYVOZExN9niAm5e9ARBQUCztUczz7sWgRsK1VcpocF trxr8j+X93oQXOdVR0lcALzamfjNRc9Z7wZL87zowMLajWyfnc3N0e2pbdZENSeswtYFS zAHCMeQxY6qCEiYlckly4+WMB89xdhjpxQXcQnjDQaSbiIUjPqT1Tmw8CaHqf0ssKm8Uq UHGOfdl/sRFYJjVoAf8dZsMwyBFHvB48Wp58sHXyhQwb6Upt0fLm5blGt5K/Bd7Rktw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.remote-ip=193.175.24.41 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) (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 3B818606A334; Sat, 5 Dec 2026 10:23:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3B818606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: by elvis.franken.de (Postfix, from userid 10) id 55073100453; Sat, 5 Dec 2026 11:23:21 +0100 (CET) Received: by alpha.franken.de (Postfix, from userid 1000) id CA87AC07D6; Sat, 5 Dec 2026 10:36:25 +0100 (CET) Date: Sat, 5 Dec 2026 10:36:25 +0100 From: Thomas Bogendoerfer To: Orgad Shaneh Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] MIPS: OCTEON: keep the second MIX, TWSI and SMI on CN66XX Message-ID: References: <20261202131520.3630987-1-orgads@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202131520.3630987-1-orgads@gmail.com> On Wed, Dec 02, 2026 at 01:15:20PM +0000, Orgad Shaneh wrote: > octeon_prune_device_tree() keeps two management ports (MIX), I2C buses > (TWSI) and MDIO buses (SMI) on CN63XX, but not on CN66XX, which has two > of each as well. There the prune deletes mix0, mix1, twsi1 and smi1: no > management port is probed, and /dev/i2c-1 and the second MDIO bus are > gone. > > Add CN66XX to the three lists. > > Signed-off-by: Orgad Shaneh > --- > v2: > - No code change. The commit message is shorter and no longer cites > the vendor SDK kernel, whose lists are the same as mainline's. > - Sent on its own; v1 was 2/2 of a series with an unrelated PKO fix: > https://lore.kernel.org/r/20261201042313.3010724-3-orgads@gmail.com > > Tested on a CN6635 (CN66XX) board with a 7.3.7 kernel: both TWSI and > both SMI buses probe, /dev/i2c-1 is back, and mgmt0 and mgmt1 exist. > A CN6335 (CN63XX) board is unchanged. > > Applies to torvalds/master and mips-next, where this file is the same. > An LLM helped write this patch. > > arch/mips/cavium-octeon/octeon-platform.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) applied to mips-next Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]