From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A14AC433EF for ; Sat, 19 Mar 2022 19:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239554AbiCSTBn (ORCPT ); Sat, 19 Mar 2022 15:01:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235135AbiCSTBn (ORCPT ); Sat, 19 Mar 2022 15:01:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F8BA63A8; Sat, 19 Mar 2022 12:00:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DEDA3B80DB0; Sat, 19 Mar 2022 19:00:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E319C340EC; Sat, 19 Mar 2022 19:00:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647716419; bh=rK/W7B6qA6hkhXjceaXoygpGi+oPM9cFjZ5zUmzJixg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cZb64MjVoSPUFbV5un7aViSNZcEhQ2NKsR/wZVTs07irHDafwATv8LUpcUEm0zQpP BdfXcelt1rFK2V6VUuHLjbgAv4i/IDyflupeHbbU+M4rcrIB72LE07Doi0T+BmB+ug nmiYaK1sjgueu3ojl+Uj3RPvVyYZ9ng4VeVkMDIjlUt0v8pZnNWo1ya/hqrKOhL6HT 6BR5YdymmqfNuN7TLMOYtNhuF2btkYoOKM281pXyXy8QQFKivcYQCaykG/NBysApeT 2NbhyBa/bVAVNMvX7Aox45dd5FEY4uDF9X23mySjckfDNIEpdo2iB8gYAgFUoj40hq lwS5Tdbxdyj6w== Date: Sat, 19 Mar 2022 20:00:13 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Tobias Waldekranz Cc: davem@davemloft.net, kuba@kernel.org, Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/2] net: dsa: mv88e6xxx: Require ops be implemented to claim STU support Message-ID: <20220319200013.7fcdf637@thinkpad> In-Reply-To: <20220318201321.4010543-2-tobias@waldekranz.com> References: <20220318201321.4010543-1-tobias@waldekranz.com> <20220318201321.4010543-2-tobias@waldekranz.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 18 Mar 2022 21:13:20 +0100 Tobias Waldekranz wrote: > Simply having a physical STU table in the device doesn't do us any > good if there's no implementation of the relevant ops to access that > table. So ensure that chips that claim STU support can also talk to > the hardware. >=20 > This fixes an issue where chips that had a their ->info->max_sid > set (due to their family membership), but no implementation (due to > their chip-specific ops struct) would fail to probe. >=20 > Fixes: 49c98c1dc7d9 ("net: dsa: mv88e6xxx: Disentangle STU from VTU") > Reported-by: Marek Beh=C3=BAn > Signed-off-by: Tobias Waldekranz Tested-by: Marek Beh=C3=BAn