From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796386412; b=ccSbJsk9PMlj9vxwgumahcL0qwzkIFMaSm4Ml/EFabA8e3hibNWyD5uG8zr5KEe0r7hS hwQVoB50FaZ4oUUVjh0M/oSYBIZdDffWbvpd6OxW/zoYwsdCulOrAGUDd/HWy6cJZVrPF zR2oTCOXZfJs91EUmSrA53x6a+1J21sL3wlZUneOYpS44e1TyBTrKUgisFqNbYqIg+Jy3 Tne60KXAhMwzXKvmQd5klNxT1x60iARaAEUrz5d48XlcUtnaJz4lez7ZevBzj+MOAf3DE I0749TdG3bd+mS72FzEcBggXhirKh8+TE7crsWQehOEXXg5bo0uuisT18aqYCoKFD4A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796386412; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=tGhOiO4iH0usPwDNg/WFYrzSrdmDAupmKVpbjJW2ufk=; b=UBu845CBraptV2dBWMyCHWAq32/dAmEWyM30oPv2/caP6faWs/SlFLFUjbD8F3hYX8rr 5w+KC1Drq6rGSd/yhJiPVg766S1entSbC26npiqR+FNGHXQED5shU808EXdjFbNZOCCoh r91Z9VJWKur8Z67BWnFcKu+u27jdt/cNN7vS3zAKAUezLDdNvFQ4sRfNq0HnrLeeJ4eUE moEJ8duxM40/dzddbvUvMDTlv2sUxi3hzqRpv3pfnIid7p7t6lGtUYvB1DaWx+9EuPCpE ZlLIvbzyg2ssLAfNq2v0CbpeIa6EXnDFq9/y5HtM7wK8k86ZMjOWqpwTEq3EtjqOcJw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=R57Fplup; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8BCD6606A322; Fri, 4 Dec 2026 12:13:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=R57Fplup Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01F5A1F00897; Fri, 4 Dec 2026 12:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796386412; bh=tGhOiO4iH0usPwDNg/WFYrzSrdmDAupmKVpbjJW2ufk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=R57FplupvvHQRiYuK0FZ3aPtP6OaG+5NkMBlQTQdpfboizpGX+8IvBKCFQxR/A4nw pX0d3Z7v+B908hi/ACrGeebNKxA4oQmYwxJVssbNgdfYjhXxXb6ZxlIrJ6LltUcsTC Mt9sKPNoSlxout6yu9Te7AuzximlzKLhad2KKXbw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jonas Gorski , Florian Fainelli , Willem de Bruijn , Sasha Levin Subject: [PATCH 6.6 0952/1167] net: dsa: b53: initialize the jumbo frame size register offset Date: Fri, 4 Dec 2026 19:06:19 +0900 Message-ID: <20261204100726.984272631@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Florian Fainelli [ Upstream commit 5d30a02245c375a9c5e557b1b7476710c4a94a2d ] The chip data specifies both the jumbo port mask and frame size register offsets, but b53_switch_init() only copies the former into the device. Since the device is zero-initialized, b53_set_jumbo() writes the frame size to offset zero instead of the chip-specific size register at 0x05 or 0x08. Copy jumbo_size_reg from the chip data along with jumbo_pm_reg so frame size updates reach the intended register. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Reviewed-by: Jonas Gorski Signed-off-by: Florian Fainelli Signed-off-by: Willem de Bruijn Signed-off-by: Sasha Levin --- drivers/net/dsa/b53/b53_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/dsa/b53/b53_common.c b/drivers/net/dsa/b53/b53_common.c index 6cb080712df80..48d51616e8314 100644 --- a/drivers/net/dsa/b53/b53_common.c +++ b/drivers/net/dsa/b53/b53_common.c @@ -2775,6 +2775,7 @@ static int b53_switch_init(struct b53_device *dev) dev->vta_regs[1] = chip->vta_regs[1]; dev->vta_regs[2] = chip->vta_regs[2]; dev->jumbo_pm_reg = chip->jumbo_pm_reg; + dev->jumbo_size_reg = chip->jumbo_size_reg; dev->imp_port = chip->imp_port; dev->num_vlans = chip->vlans; dev->num_arl_bins = chip->arl_bins; -- 2.53.0