Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5069652rwb; Tue, 6 Sep 2022 18:15:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR4gkbVeTWLnub1EvGFe+y9lnf3UkD9sL+FdH+5ZERKmhpLuAEwgYP3IL+c7WvYGGYxPyxQX X-Received: by 2002:a05:6402:440c:b0:43a:1124:e56a with SMTP id y12-20020a056402440c00b0043a1124e56amr1069954eda.134.1662513339008; Tue, 06 Sep 2022 18:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662513339; cv=none; d=google.com; s=arc-20160816; b=fjdjyuDbtMz43jqZ0ejZgiIPZTWHgqhXjf+qc8nDsElPdUYZ179tK7cmp2kyNIjubV oWLLDG3FeE/iUT2h3nhY4GrSLZfkVW41cR/x4H4/PjlDs8y6de2QOD4lm8izfstRcAG5 MF9DXltlMv/rw66ysYlbMdzBr4sfkJHFfYAigQmI6C4eTH1P8tWM8/Cwk+Se6VCEpHgG xMl3HPQ41i/Y9KcT5+zT8743SV68+9Sq7qCVoRKm+UP3OJ4YMR859qQxU+BD8i9nA9Xv 9X56mHNMJFkDrZ7Sfai7dDMSLEQPhSVzsmZzPid4iIwmBnD5EZ+DYEvA5rdxamv+0F3T fXKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4/ZIZdVDq8QafnDshkBp2uy/VhVapnzNn87zZZcPkMs=; b=UyBmtPkB+2J9JCI1lodGxV/LOIz1MygIlKsiE6ur9f1l4cqw5XteU3sGMxoUK2o2Ne hlva4eulktoIDbpE3CaeuvBpfl9PcsSaI8L7XsLyNO+1P8/j9OAlE8VZspVkuZEojwLl fTdiMiS25bCMXzHKG4fDqxEsFSjrFBuBAhEnYi1twVMzOQ0hfwnNCEqQA3JgVgZW+y/V 02rMk5cu8SpyTwPGOaz25X8SeGfiBXhvMKIKL6om2W6OUqA8veyEbFiDiqRaAl9TkSgR cQZXgtWkINh6GerY9gxzOxFYiixk8sFt/QuLKmpXi0eOBiA2bWVX6lATwGmjdiC+LZnP /7wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="BXCJ/81w"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dy28-20020a05640231fc00b004477b656f49si6631712edb.455.2022.09.06.18.15.13; Tue, 06 Sep 2022 18:15:38 -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=pass header.i=@gmail.com header.s=20210112 header.b="BXCJ/81w"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229625AbiIGBIZ (ORCPT + 99 others); Tue, 6 Sep 2022 21:08:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiIGBIN (ORCPT ); Tue, 6 Sep 2022 21:08:13 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4068D8E4DF; Tue, 6 Sep 2022 18:08:11 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id a5-20020a17090aa50500b002008eeb040eso179906pjq.1; Tue, 06 Sep 2022 18:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=4/ZIZdVDq8QafnDshkBp2uy/VhVapnzNn87zZZcPkMs=; b=BXCJ/81wXRUVjLzY5YNY5ye2rZiq86cruthWzZHRASDILgN42toBND9Kb/oCI8DphG wOIZs5V3vi3G2eOQ8siyMkOd0WguXRDXSLb5t6LhaQm6ADHwIEP81mnE2AGSMfO/+krw Mr65tQ0TG93dXkc8fXfbTgIUIl/G8UnEASBjLNMoKbQHAAskGXHNmOULrObU/hUKCDua AeukbRKsMK3P+J3bP1eBo/mEYdhQNlqEShfWIKtcpVPBTrJ7L3YYPOo9pOpJMvZmjN76 MLWvhHFAeCKvXXsFZRSfaakgapGZlABn/kUgXHUNLrIDOPQlbYaE7Ik5yvYU0e6HUMlt jaWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=4/ZIZdVDq8QafnDshkBp2uy/VhVapnzNn87zZZcPkMs=; b=RTFXRCSNtPpk0KsZJzpIHEMzaeWZ6cTxQBjf5UkgRRCBihhW9fP0xFX8sLVpbDArAD otcjVtrzECUhfI3xHcuotKUlsTvwTv0jfI6n6gnYiYmH39gZBpdrU3kP7q2Iv1TFpiUH Q7gQ8MPpHNJYxqTNB4SV9eUrV5ZlLLixNclKMARvjEoo6L1Ef/ICq0Mggk0aQ4ilGagi dphTNLmgi/iHH/RBufC26GGwkLThZkPe9ue34SDfTAc9VljxYpYtojvyukgZ1hwpJtaT SvGCzCAgeg6vmd9nZ9xz3uMHzfHes7gtcfMrEHSfqqjeXE6a3mrgFAE7I/V+Iuawx80O GoZw== X-Gm-Message-State: ACgBeo3+2BRB6uZ8rlBQhHM4GwaNlNs2ojvhbTAjXctkKBgja32F4K6U Z/MvH4byoHOvosMViYdvGIw+Dkb+RmajIg== X-Received: by 2002:a17:902:a5c7:b0:172:dd10:f638 with SMTP id t7-20020a170902a5c700b00172dd10f638mr1323811plq.127.1662512890636; Tue, 06 Sep 2022 18:08:10 -0700 (PDT) Received: from taoren-fedora-PC23YAB4 ([76.132.249.1]) by smtp.gmail.com with ESMTPSA id om2-20020a17090b3a8200b001f22647cb56sm13392417pjb.27.2022.09.06.18.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 18:08:10 -0700 (PDT) Date: Tue, 6 Sep 2022 18:08:05 -0700 From: Tao Ren To: Andrew Lunn Cc: Florian Fainelli , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heyi Guo , Dylan Hung , Guangbin Huang , Liang He , Hao Chen , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , Tao Ren , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 2/2] ARM: dts: aspeed: elbert: Enable mac3 controller Message-ID: References: <20220905235634.20957-1-rentao.bupt@gmail.com> <20220905235634.20957-3-rentao.bupt@gmail.com> <45cdae58-632a-7cbb-c9d5-74c126ba6a3e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 Hi Andrew, On Wed, Sep 07, 2022 at 02:36:33AM +0200, Andrew Lunn wrote: > > Specific to this Elbert platform, we don't have plan to configure > > BCM53134 via OpenBMC MDIO (dts), because we expect the switch always > > loads configurations from its EEPROM. > > DSA offers more than configuration. You can also get interface > statistics, and knowledge of if an interface is up/down. And since the > PHY of the switch becomes normal Linux PHYs, you can do cable testing, > if the PHY has support, etc. > > Do you have spanning tree to break L2 network loops? Linux will > provide that as well. > > However, if you are happy with dumb switch, then what you posted is > sufficient. > > Andrew Apprently I have very limited knowledge in DSA area, because I didn't know these features. I will keep the patch series as is for now, to at least enable ethernet in Elbert OpenBMC, and will work out new patch series to add BCM53134 in DSA later. Thanks again for the review. Cheers, Tao