Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5813568rwd; Wed, 24 May 2023 07:09:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tVEVhyqHKMl5p0F+5+Jqcb71gp+MtSCjTErirst3lDnI+sXBfyyjiC+hk6rdJ9qBJ9WX9 X-Received: by 2002:a05:6a20:4423:b0:10c:14c2:b766 with SMTP id ce35-20020a056a20442300b0010c14c2b766mr9388318pzb.35.1684937342016; Wed, 24 May 2023 07:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684937341; cv=none; d=google.com; s=arc-20160816; b=oxDCLGMi3n8Deq4FzyiLbuFaUmLbj9MNa5JQZNIYzzqfx2p4zoTXwxNzzVF3MqZZbo wNFA6JpKuGlf4Bd5CIDL5ZYlGBidot9OLBj6SHvxhjaYxtF6QCu8QGHDOWvWw+OFGu3+ y3LYhUDywhh/imJKAQSq6ZoDnEzoCBPJ77m76YXXmhQslBRoJpPT3B9QFzjNDFi18QmL Nb55iFryvRxplA3ZjhSipWeSTrgCl2ZDLnh0aJ0m3QLFEJvOiXB2belP/0Gs6mIwsbhB 21K/TVFO3D8zlt03kXbjFn0yw/C+H2zPDGhkQRr1qwOvYvGeF3300NyTODw8xo+gaZ+X eMNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ECySvPIgegu4Sj8aDCP+tqf0nmw3GutStZtWX6wbB84=; b=tvtp+2wg613JCh6Z6vNh+e4P6cfuB64DUFSEAm4u9j5yBmTnxCiMOGgp5n252VtAyq YTZsJHHvKwEC3TO5y2wQGzA4IMWKsI9ReqOIq9IrX9D4OKW87/m7hy+sfRkUe+tJVgIH JS6bV5+wNhOLAqPfj5y+nRkMWDmFK1XlcS3oCBLt4/Py1fvka+rV0BIkvk90dEfvMLkg JmYXtJVnqMrMKtXehEzYoiDy4TrRWKZieZIxCF3r77eoF2r117FQGf7eB90AdS3+mS5k 0gajLTtwir2wyWIyjTjzk529YZAITNLIkd1AUFjpS+VejS+Hk4rFN9euZndJsmlGTBiF dLlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=UYd7xh00; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a621b0b000000b0064f6c2c05besi530169pfb.108.2023.05.24.07.08.48; Wed, 24 May 2023 07:09:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=UYd7xh00; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233908AbjEXNgs (ORCPT + 99 others); Wed, 24 May 2023 09:36:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbjEXNgr (ORCPT ); Wed, 24 May 2023 09:36:47 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87A6A132; Wed, 24 May 2023 06:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ECySvPIgegu4Sj8aDCP+tqf0nmw3GutStZtWX6wbB84=; b=UYd7xh000gsUuibwqVs1szml7Z vGZFhPeHkV+3BtYtd4HsKZNqPTLJ37fCK2L1aq4uw4d5dbhT0Zc4uUBgtPjy7MWj8bAndzB0qr7Iw 89JcoBSaVz8XvdaG+5zqM/UedcJk9nex+rUfRNXXlY8xbi6rkLCmvqEfIv/niX4UEQMikLwAM0RP6 gUL1zB+55T5WDv+m/ZGvWth27dn+qxWhknT/czUqPYPZ6P/PI1Iddc91G9CPX7pTIOCBS/TEJA471 v2uX1oAHT4RjDUrT0X2M/vEi1Z4wne2vOj+5yCNwu/iGEACRL3VWYcMeiJa3WKGlrycYgZ3hwqAHL E+DSVxnQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:45404) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q1ofH-0002R4-W4; Wed, 24 May 2023 14:36:32 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1q1ofG-0001fJ-0V; Wed, 24 May 2023 14:36:30 +0100 Date: Wed, 24 May 2023 14:36:29 +0100 From: "Russell King (Oracle)" To: Alexis =?iso-8859-1?Q?Lothor=E9?= Cc: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, Thomas Petazzoni , paul.arola@telus.com, scott.roberts@telus.com, Marek =?iso-8859-1?Q?Beh=FAn?= Subject: Re: [PATCH net-next v3 7/7] net: dsa: mv88e6xxx: enable support for 88E6361 switch Message-ID: References: <20230524130127.268201-1-alexis.lothore@bootlin.com> <20230524130127.268201-8-alexis.lothore@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230524130127.268201-8-alexis.lothore@bootlin.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2023 at 03:01:27PM +0200, Alexis Lothor? wrote: > diff --git a/drivers/net/dsa/mv88e6xxx/port.h b/drivers/net/dsa/mv88e6xxx/port.h > index 3c9fc17abdd2..56dfa9d3d4e0 100644 > --- a/drivers/net/dsa/mv88e6xxx/port.h > +++ b/drivers/net/dsa/mv88e6xxx/port.h > @@ -138,6 +138,7 @@ > #define MV88E6XXX_PORT_SWITCH_ID_PROD_6141 0x3400 > #define MV88E6XXX_PORT_SWITCH_ID_PROD_6341 0x3410 > #define MV88E6XXX_PORT_SWITCH_ID_PROD_6352 0x3520 > +#define MV88E6XXX_PORT_SWITCH_ID_PROD_6361 0x2610 > #define MV88E6XXX_PORT_SWITCH_ID_PROD_6350 0x3710 > #define MV88E6XXX_PORT_SWITCH_ID_PROD_6351 0x3750 > #define MV88E6XXX_PORT_SWITCH_ID_PROD_6390 0x3900 This list is ordered by the value in the register. The value you are adding is 0x2610, which is not ordered between 0x3520 and 0x3710. Please move this to be after the definition for MV88E6XXX_PORT_SWITCH_ID_PROD_6250. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!