From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 023E51917E3; Tue, 29 Apr 2025 17:39:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745948388; cv=none; b=QWFGKh2oADyNDVu9KKVhcpXWe8xNfbfdLxOpcn2ihyU3Z1wbg9fxHrNZ9P3gigvCFKp34hJjYvF9CK+mjsvG/DhZWy0IYBcwg9mG4kmNYQjRmYzut/Y0TGyGnByr43HeH3mCIx9PMqHbVP3jsN563NRONxUkNjAUjPfUZ85xqcY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745948388; c=relaxed/simple; bh=8fwSjdFQf5BlD+1L8tRuJmWnxUfheIzNs7y/wtD2fro=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=b6M3Hez+6jWInDYs4cp/XeVAy8XeBmQ1u4RBhc+jpaoZSq8TBbLMmpqim2jrtVOLhlZeRxSq/e9F7c8uykM+GFxhwXnTjddPV38O1kJYaW2AUAPyAwmfEB2gg2zX+k+U5JtETvxILxcwOJC+NZwUbT0Rd3puOb6I9gNLyroC8eI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cJRdfRPV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cJRdfRPV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 826CEC4CEE3; Tue, 29 Apr 2025 17:39:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1745948387; bh=8fwSjdFQf5BlD+1L8tRuJmWnxUfheIzNs7y/wtD2fro=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cJRdfRPVXN0A2j8RBReh5D2bmvRLM1ki4q4KaGDXdV+AKQWWEDMoMat+vdyu47c+i j+9LM1Mt7bD9CnwDVrdOPDyz5BxSb3pMGWdR3SO9N9Bv4yKqeCk0I3GgnQnhrPVipS NbNOhzkWJHgvLCwealbtMqy+elCDvIXa347wtZrI= From: Greg Kroah-Hartman To: stable@vger.kernel.org, "stable@vger.kernel.org, Sasha Levin" Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Marek=20Beh=C3=BAn?= , Andrew Lunn , Jakub Kicinski Subject: [PATCH 6.12 265/280] net: dsa: mv88e6xxx: fix atu_move_port_mask for 6341 family Date: Tue, 29 Apr 2025 18:43:26 +0200 Message-ID: <20250429161125.974056947@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250429161115.008747050@linuxfoundation.org> References: <20250429161115.008747050@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: "Marek Behún" commit 4ae01ec007716986e1a20f1285eb013cbf188830 upstream. The atu_move_port_mask for 6341 family (Topaz) is 0xf, not 0x1f. The PortVec field is 8 bits wide, not 11 as in 6390 family. Fix this. Fixes: e606ca36bbf2 ("net: dsa: mv88e6xxx: rework ATU Remove") Signed-off-by: Marek BehĂșn Reviewed-by: Andrew Lunn Link: https://patch.msgid.link/20250317173250.28780-3-kabel@kernel.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/dsa/mv88e6xxx/chip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -5852,7 +5852,7 @@ static const struct mv88e6xxx_info mv88e .global1_addr = 0x1b, .global2_addr = 0x1c, .age_time_coeff = 3750, - .atu_move_port_mask = 0x1f, + .atu_move_port_mask = 0xf, .g1_irqs = 9, .g2_irqs = 10, .pvt = true, @@ -6311,7 +6311,7 @@ static const struct mv88e6xxx_info mv88e .global1_addr = 0x1b, .global2_addr = 0x1c, .age_time_coeff = 3750, - .atu_move_port_mask = 0x1f, + .atu_move_port_mask = 0xf, .g1_irqs = 9, .g2_irqs = 10, .pvt = true,