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=1796380381; b=KM6etDScy2LhinA300wJOysWuBTZ+Pnwurge0p0kdfc6Nnm1hyyyLt3rmu3zNGnn+IBV yaPXh83W6fv+SrlJIauddGyh0oqpChqKCFKEUs7eYWMr4Rw8anLDjN7iD4pvWHnW3Gfzn nom//vyHjp9869fhhY56KQUEEmv2E55L/DnukJJ05obE+frEI8v2NIiHznv2AN4pri7p+ MRQn11CH0OVioaFC4MNKdcNffeVMmH6FoRrtKaIPGa4VcTZ+bZWvDQvppqeuPtcKuDDud lU50aT718lnpEc8VbXH/CYKJjkcpVa8v62PfUkpMlrpmHbirlogpgoodz5kv3pFU0EQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380381; 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=eMczy3PVHucw3Fw8+rmut7k9RkutlIk9hJu7AaiGyFA=; b=lkcysV+YCs6PF3+8eBzc9Inq/PYKCykyWA5K1YWbz0Ke+HiyYYe342cN1sx9b6xlscn7 69sQ2bz7BIa8m3gSOdrm5gT9Vc1+/yTjtgvWxrjeqZ/t/t4E2xTBGwyJYaLdinkIRSSVQ k+VBq78clx+Vx/uvO8JI42a77JSZ2yZHgu/A04leIUXoGeSkB0g+uuWMoN9TAgMzG7Pcg oTHO4/nH1Fync69eGgUaPBhglFU5WT/PBfCV+zjbvePtBeoP+1GNUWUdi1ZguwT3hslzc 9Gv6PatZiYgpucSC7ENccVdXnTg0ZgR1TD0+C+keFYfzeqCGcnPzX1loTlotohg5RYw== 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=E8QwRsD4; 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 67D2E606A330; Fri, 4 Dec 2026 10:33:01 +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=E8QwRsD4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D37EC1F000C2; Fri, 4 Dec 2026 10:33:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380381; bh=eMczy3PVHucw3Fw8+rmut7k9RkutlIk9hJu7AaiGyFA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=E8QwRsD4z2VgHz5E+LHv4BFqCqw31vhKmGFPqgsN2huOuGZKeTAj6YAxWAEDexnpu D+wxxvrd18VCNYt8RIkvIqro4WnfpF9rNAJsosu54Lh4k3VrbJu3ni4vagV66iK/t7 Y6GhEaX9mLWhJE9wMezN8mxeSFkB99sHBiD18eO8= 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 7.3 248/742] net: dsa: b53: initialize the jumbo frame size register offset Date: Fri, 4 Dec 2026 19:01:52 +0900 Message-ID: <20261204100641.650716434@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@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 7.3-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 a2a5754c413c6..ca2ba8c157b70 100644 --- a/drivers/net/dsa/b53/b53_common.c +++ b/drivers/net/dsa/b53/b53_common.c @@ -3172,6 +3172,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