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 X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDD13C4363D for ; Wed, 7 Oct 2020 22:08:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 63DF22083B for ; Wed, 7 Oct 2020 22:08:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="l1b/sfps"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J3gcxLgj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63DF22083B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/wsMa8MTaf7LNw157fTtebhzpJ/ArOgyfoyRp5MMLxU=; b=l1b/sfpsZAXADJceUe/2SygFJ JW0WO8BF7lQ2v+mYCZKHLAI67k8k5xbPOSFk9D/A3d7ZxKLXpx60DKvLT8HDSSudtLbBIXfZLpgnH ItnJLyeLbCmRfZpQ8n+7+UCyKwv4h37qMg0fIUPeIUy3+VLT2hvPPxyUrtJtZLcQSNkEx1Cq00rp5 VePKdvZSbdcJjNJ5kRqkypKukAa5huuXpAGvrKfja5Uag29MEdcJMxf6EWRD66VI7mqlc18AFXuoN xoNbPiLm1IrEdkJNRy4C+y17NvdWlrjR6shtjMkPQcza1BNhSb4DivYPspQ4+u8phV0dId4OREV67 7jW6/1JtQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQHap-0002dI-IB; Wed, 07 Oct 2020 22:07:27 +0000 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQHal-0002cT-Sd for linux-arm-kernel@lists.infradead.org; Wed, 07 Oct 2020 22:07:25 +0000 Received: by mail-qt1-x835.google.com with SMTP id c5so3425788qtw.3 for ; Wed, 07 Oct 2020 15:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=v06OzhDCfO3v9dCSJzOWm4zspu5sFg87m9FD1VPHSeM=; b=J3gcxLgjpWbeCr2y1mMH1f4izWFZ16/CvxdZhl6D7WkRqrUXNHeDJvGyxadPc9wVPL 3iIXU9UxYziV/ppj5i74jfNAPDFyPM/pUEJhWu9klBkPXaOsPfbhfumVkQOXZ4Bohm0l az5ILQGzIZ0DEdbJiYqmiAQANtJnlUoRIP2ouN6V2/b6PCuoAZajiEFBj2Tn1BhVmnrV sDEWBgkWA3/KBb9cr9/RoOoZ8HMY4Y6bfWau8RitQU8retnYGLaPAdvAW/0oZUqQRkhk 4ESrLmT9Dhf9ugaE1Vc+NLx/9fXNZD++wKq3/fJ7N/9aYcplR+BgKLEspk7q+6Pth5oD w4FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v06OzhDCfO3v9dCSJzOWm4zspu5sFg87m9FD1VPHSeM=; b=X6gWXjFuP0OizjmngVdFXA6r+3cBt8SbCYnbpUlSMna0tskV3lsF6Uwy5NYwdUP9Xm ZW+1S9LIJZ+ZNADZV3TQifLYuO6K1XPU/FYqL1QUFOkWTM0Z1xsyR9uhbxOQvOdskpXE wm8yzqfWgqSA1lPWyBoPkqz7O2jaz7qb/GeldqzwbDezK2KY23nBzDZca0qoJn/c9BVI wTZnedo2WZOqmP1Plfa6EIz83W7gSQ44+k2CrqLXoV8LD2ZRtHXAhbkVBJ/yE8ODu3Hg noLLgRiPUqLjvvgruxaQdngTiDhyYIEpNgVO4fS+ADwC0OQRjlvflA41YyLGVwBh9Og2 p9XQ== X-Gm-Message-State: AOAM531zo7tWQ/7DGInSC2MtIMyThqSpzZK7xxFmSvUiDuGoUVhOw0Jd B3DXAtniryXqgENoI3Tsfn8= X-Google-Smtp-Source: ABdhPJx9o9k2LVVgzkEV+bkz6gNWxaQbAObl0sh3yUEhA/a8tk0uRPA+5of72juc4bJZGKPtBaUIlQ== X-Received: by 2002:ac8:2f79:: with SMTP id k54mr5641930qta.148.1602108441921; Wed, 07 Oct 2020 15:07:21 -0700 (PDT) Received: from ubuntu (ool-45785633.dyn.optonline.net. [69.120.86.51]) by smtp.gmail.com with ESMTPSA id d47sm2657253qtk.53.2020.10.07.15.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Oct 2020 15:07:21 -0700 (PDT) Date: Wed, 7 Oct 2020 18:07:18 -0400 From: Vivek Unune To: Andrew Lunn Subject: Re: [PATCH 2/3] ARM: dts: BCM5301X: Linksys EA9500 add port 5 and port 7 Message-ID: <20201007220718.GB1972@ubuntu> References: <20201007210327.GE112961@lunn.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201007210327.GE112961@lunn.ch> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201007_180723_953820_9547FF63 X-CRM114-Status: GOOD ( 20.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Hauke Mehrtens , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 07, 2020 at 11:03:27PM +0200, Andrew Lunn wrote: > On Wed, Oct 07, 2020 at 03:01:51PM -0400, Vivek Unune wrote: > > Add port 5 and port 7 which are connected to gmac0 & 1 respectively > > DSA driver will use port 5 as cpu port and this works as well. > > What port was used before this was added? The CPU port cannot be > changed because it can break user space, the code which is configuring > the master interface up. Hi Andrew, Port 8 was used before this. Factory firmware uses all three - 5, 7, 8 I'm aware that current implementation of DSA driver does support multiple CPU ports and uses the first one that is detected. DSA works for either of the CPU ports. In case of the non-DSA switch driver, which is enabled by default in OpenWrt. Port 8 configuration will not work, since the non-DSA driver uses first gmac core i.e. eth0. But since gmac0 isn't connected to port 5, it doesn't work. This router is currently not enabled in Openwrt and it doesn't generate a firmware for public consumtion. So I'm sure this won't affect anyone. Albeit, I've been generating custom firmware [1] for this so I can get feedback on these changes I'm submitting. With this patch series, I plan to enable firmware for this router and free me up myself from building custom images. Moreover, the router will start getting regular updates. Thanks, Vivek [1] https://forum.openwrt.org/t/build-for-linksys-ea9500/1817 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel