From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8277939CCFA for ; Tue, 11 Aug 2026 21:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786485165; cv=none; b=LVA/j+Xcn0tPZJVRBrU7bBGPlhp2MTagCBURx6BpqecG2shMBZtJQCecfXiy8iEw61dqog6FPnZZnjYxoKLmN1uxPwocYj+vLn/2QQfM+FdV9Njn/kbOJ0NtYp//McbdoRRXfS70kYFe2+JreiBkD4/+OmF0MaU1mVWItll1k7o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786485165; c=relaxed/simple; bh=bQ0TijYSAVBtq+JEo+PXlhDy3yD33LnPANGg9BrGa0Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KK3LyTfDZRck3oWxBLuaWY0bCZHKdiig4CJNfmGV/BJtA8tnLAI8kOmOsGpj5G4mM685BVv2r1YuiDHM8lCulOxQQ1vpZAidI96bzmrD2r8j2aXK1bQvc3V0o+m6cLJpa9PUDj0QVk+gc5wlLV1R5EPYLXt9RU28d0vh31TIYL4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SqGYocKo; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SqGYocKo" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4954c08a7c8so226415e9.3 for ; Tue, 11 Aug 2026 14:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786485162; x=1787089962; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=u4po5zk0dS52Bck5CruHj3lVNTqtL7/vSqh7qaAgXQo=; b=SqGYocKoAS/tsOkOsXSPLCsLZnTzERaKyoW/EWeftkMKagx1XrROc1NFGazgB/EIjN +FeQ2zO6cocyFJ69uBWgDT6owuG6TbUib/pGUIHSxhqOIY+5EmNm9o3XVUzDtIdwEf+i IZS+wcunQwJYj8F9n6CcoSbAJLkiOWYoe3R4SMtZcWEc2y6d1wMGnBOBfoSrbVAdKOtR qjgoZdXPnewz0YzbCMTdr8JRxlteQ+HxUu1BIIGm2bNAcmg6Wis/M7nZmfrC6VcIHoCX gB90ya3GxKm+638mTKc+1x3H/pZeIA06E4uUQ6r88Mlnn7/19At6+ljpNcGF0xMUpNsb E25Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786485162; x=1787089962; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=u4po5zk0dS52Bck5CruHj3lVNTqtL7/vSqh7qaAgXQo=; b=VbpmHpACqg3lyp3P/3C1WCRoa0UyU4Eq9o/6E5lTxBHBsfS9nLY2fo6qZV+2b+b8Dd Mhhji4jYSVfd8wRaJ8g5jG/Xfd679KiEfY0AF4SUT4crTcG1ACmmiiYABljjFU6RsF5t F3fzupGVQTNZEmxgm0W8rwPycdLKQZjvCHVPXoc8Pskk6yWYfCtLYt+tVd+CZVraEVFe jp7jGQtMQ3tIuF21kv73K3OEviep8n5IVti0bT/tvmWMAuWRnFpF1anPnucZLyV7QLrt uNTlXTLolm5ypEe/Rl/lA6m+9cHg7mEbFap9SHXge8T5H/nZoVUj9E58WHtp1LFu1ooe tS+Q== X-Forwarded-Encrypted: i=1; AHgh+RrjYhqJ1hh/j9ndCARt5yZY/QRl1RdlOc0NfWgEo+583VLIqNN0+fvbR4394MSktBKL3b/BqG0=@vger.kernel.org X-Gm-Message-State: AOJu0YwPhuAAlvwS3Xld6YAG7t9V5Vct331wINdJrzrAppMlJN5KUgUh vTe0sS+c3SA6bGRy2pTMLbrOXggO+FiQJcQ36DQC164NKJynFJe7nlQv X-Gm-Gg: AR+sD12uLYBYYhb07YofAToML4DzFoH7yWlekXbYWtgdIzRYxh7Ppre2brBI3FooI9q TZtL6zdLq5u4oKl3EYJ4sYy4JdcCxLUt8IEUWOFBuMX6EyJbg3TqA0349/fXSXWomIATR0Gm85n 6pDc+TEgFKsTLel9ToeS1WUPVykkC5arvEHRN15tejRgTPKvy+TQ+IeztAH4FzlQrni0rGn73dD pdcq7fMLu/yklNUSOhfD9+HCH5svs+rCfJjiKdUAorjbR8NvESD7jAQpmxx0ShVB4GuBCHfjx5m /EaF849Mp1rFnAwM4srmYCwvd4/s+Vt4KPFw2oewnIioo5R2b8iYE73smh1BPDNsk0sS3Jz9hMZ FhueH/Al8EY85BM7ASrM5E5VqLIF0URODsNYmQYjQekQfqQcw+djUkDtc4CEuwB3TEFNv4Jb97S 66llHsOiUY7zuhIbannJCZNbk0DIwnaO3vKd7KKl4OJP7USmLP X-Received: by 2002:a05:600c:c8d:b0:495:7561:a9cc with SMTP id 5b1f17b1804b1-4997c16802amr1408805e9.4.1786485162596; Tue, 11 Aug 2026 14:52:42 -0700 (PDT) Received: from skbuf ([86.127.220.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4997abf94c1sm19437485e9.14.2026.08.11.14.52.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2026 14:52:41 -0700 (PDT) Date: Wed, 12 Aug 2026 00:52:39 +0300 From: Vladimir Oltean To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Jonas Gorski , netdev@vger.kernel.org, Hauke Mehrtens , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Semih Baskan Subject: Re: [PATCH V2 net 1/2] b53: deal with Northstar devices using CPU port 5 or 7 Message-ID: <20260811215239.jogh366edojjo3mi@skbuf> References: <20260811193658.14304-1-zajec5@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260811193658.14304-1-zajec5@gmail.com> On Tue, Aug 11, 2026 at 09:36:57PM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > Northstar devices have 3 CPU ports. Ports 5 and 7 may be used but have > their limitations. Warn user when CPU port 8 isn't used and add EAP > setup workaround to avoid non-functional standalone ports. > > Fixes: 4227ea91e265 ("net: dsa: b53: prevent standalone from trying to forward to other ports") > Cc: Semih Baskan > Signed-off-by: Rafał Miłecki > Tested-by: Semih Baskan > --- > V2: Print warning on switch setup instead of on actual EAP mode change > > I added PATCH 2/2 as requested but I'm not sure what DT maintainers will > say about it. I'd suggest to take this fix if there are not more > objections on net changes so regression can be fixed. I believe we can > take more time to improve Linux dealing with switch to be more optimal. It's a good thing you added it, it created a better perspective into what problem you are trying to fix. Please look into implementing a solution based on commit b79d7c14f480 ("net: dsa: introduce preferred_default_local_cpu_port and use on MT7530"). pw-bot: cr