From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964833AbdBQWhC (ORCPT ); Fri, 17 Feb 2017 17:37:02 -0500 Received: from vps0.lunn.ch ([178.209.37.122]:44147 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935007AbdBQWhB (ORCPT ); Fri, 17 Feb 2017 17:37:01 -0500 Date: Fri, 17 Feb 2017 23:36:51 +0100 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli Subject: Re: [PATCH net-next v2 2/6] net: dsa: mv88e6xxx: move ATU code in its own file Message-ID: <20170217223651.GN6096@lunn.ch> References: <20170217150531.2181-1-vivien.didelot@savoirfairelinux.com> <20170217150531.2181-3-vivien.didelot@savoirfairelinux.com> <20170217213518.GH6096@lunn.ch> <87fujcmqj9.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fujcmqj9.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Note that we are very close from 4.10, so unless there is a major issue > in the patchset, I'd prefer not to respin new versions. I'd gladly send > cosmetics fixup later though. I'm waiting for this patchset to land in > net-next to send the second one ready for cross-chip bridging in DSA. I know we are very close to v4.10. But i don't think these changes alone make the 6390 work properly. It appears that we still have: if (mv88e6xxx_6352_family(chip) || mv88e6xxx_6351_family(chip) || mv88e6xxx_6165_family(chip) || mv88e6xxx_6097_family(chip) || mv88e6xxx_6320_family(chip) || mv88e6xxx_6341_family(chip)) { /* Port ATU control: disable limiting the number of * address database entries that this port is allowed * to use. */ err = mv88e6xxx_port_write(chip, port, PORT_ATU_CONTROL, 0x0000); /* Priority Override: disable DA, SA and VTU priority * override. */ err = mv88e6xxx_port_write(chip, port, PORT_PRI_OVERRIDE, 0x0000); if (err) return err; } to deal with. I have been working on 6390 for a long time, and would like to see it working properly, but i'm not happy with the non-obvious changes here, and the structure of these patches. Please take your time to do this right. Lots of small patches, which are obviously correct. Andrew