Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3477385rdb; Wed, 13 Sep 2023 13:17:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMVV3WsOW/QLEnFss74ve3IIFoBRjl0vx7sTiAOgi5sHEFrst1kI6sR+xaL4zJ53qzk3dD X-Received: by 2002:a05:6e02:190f:b0:345:df7f:efc4 with SMTP id w15-20020a056e02190f00b00345df7fefc4mr3875471ilu.27.1694636259425; Wed, 13 Sep 2023 13:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694636259; cv=none; d=google.com; s=arc-20160816; b=W3YcBSDdYtbXW0pbcsJmdERXf0p+zE4P0LPDe1vjy4nw/lSh98ahVJIuwxsONlx57u OXR7/76LGly4YHssH0NmDvcP15qRkCqeHXzonrINpMBYqsSB9+OBm2yapbjPKjKiamJu kZ/Gl8Gc8OL2NF66H2EImy9QbNWePLXa09wxU5IX1YW+WuIPKcaK0EJzreBQA1XuQUQW L75GTz5KbzPfVHctLpF46Nuge3ldHNPNBTY/MCSVzneLYZEGxNsa5r0lpF84Sa9ZKv0X UhuzFkOHnRPrg8ZHuHXs3woIu6NNqTV4v+z53JLQ+iHHE7K7CPevWVNGqmfbK9OfOQAO nKPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=dvjLZ7w4l2TGPbXRRO5tl0m6HCbt4GkrFMBas1aFYsE=; fh=NHI0FOMzxihoNUgGB7qUhnMCx6+g317aIyjuTnQx7Xo=; b=T6HFI2fRlT3FRW035YEnSbJGqapvfn46nTUq4GinDWD7WELe+t9fUi+m/kCouJTvbn hW00ReClQ+NMe9AVefnaSpIbKfH2a/oIPzARshG9G2LOpRXI9oYYIlOPtN6G/anzlcJm apLuErQICjkfcAMvztz7F0zg9mfbAEADHrVRMZrnBmP8/ni+6UJ2k4MKQ5JgLfxs89WT LnCLvQUSuiG6tLioPH4lLfK7tzEbO+sBBy8dme9rN3zu70xmHaJy0hdX82KgGGjY6OE/ u2fxWtCdIP1ROEEiuAQtClL1Ihb00AJCeBJ2yQfgguXfdI7niG5p0109AWkiFhWJJjHK f85A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=eS8VJKeU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id g6-20020a056a001a0600b0068c0323c2b7si11077814pfv.172.2023.09.13.13.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 13:17:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=eS8VJKeU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2409782E1E33; Wed, 13 Sep 2023 08:52:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbjIMPwW (ORCPT + 99 others); Wed, 13 Sep 2023 11:52:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230014AbjIMPwP (ORCPT ); Wed, 13 Sep 2023 11:52:15 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 593DD19BF; Wed, 13 Sep 2023 08:52:11 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1bc0d39b52cso53463495ad.2; Wed, 13 Sep 2023 08:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694620331; x=1695225131; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dvjLZ7w4l2TGPbXRRO5tl0m6HCbt4GkrFMBas1aFYsE=; b=eS8VJKeU3FrovB6o0Y8VYDdGraA5tJCQ+9kT2Xek4AwAjctq5d/earNN7E3GhrFlHN Gwc7/Yq1aaPAKco5pIRpX4prSB3gJGad0/L9wxSZgKMrUrq+HZUDakx7jaRYDezIusOX AWxZ0p6+4CJvY3KgvniVS6kBSWE9cVA0jGuRNcl50rZClzMKJjty8FhcdKm/lvzGCRoF mBf6x+fbVPo1wi+/5PBgtZscb0T6YDtjzX3Cv/g2mIQc3FwzmngCY1XxHM7htZHvTM4d Ca2gg9iFrLD7vs0ocFKBLtiYlNPYzvIS50e5odyM7AulnrgqJobqYfFO0Vdq1T4cYk6+ AKVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694620331; x=1695225131; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dvjLZ7w4l2TGPbXRRO5tl0m6HCbt4GkrFMBas1aFYsE=; b=FW096cbQLyTgVTOfjlf9mlWgsG4q4307GfAQBnzf2CK3NzmhT5OEvqJOkIZh4MjYJi D8sTr1ERJE3NYWN7iVmBcATmMHE+frA3ltOoiwxomcVQD34ChzhQ7VLqjKU4Em2S4sQM mAKrvq5dvK8pcB+PBgkjmnTtYVJr9QExXe0HWZ197zkq036yffFSl9Bl6nrHRmHhukmp tF+RV576PvoG6izGw0oD6gZFisAmMkBvjRKSr1th4dktgYvHawQU3frfh7MphaJ/H8uh BxFu4m07mny9BFmmsU44kkClq5l6dvkbvRf/YL4Ard/ijgIDHNC/0pwFAS+dedyV/kFm 6AjQ== X-Gm-Message-State: AOJu0YyF7mUBkc9hVn/zgmP5Sgbr/irh2SeZGe4bRavQQneAIad0Zh4q 6Zx+/ZOG00ru5xk2V1Phq/QIxrSx+8k= X-Received: by 2002:a17:902:d491:b0:1b8:76ce:9dab with SMTP id c17-20020a170902d49100b001b876ce9dabmr3513070plg.41.1694620330609; Wed, 13 Sep 2023 08:52:10 -0700 (PDT) Received: from [192.168.1.3] (ip72-194-116-95.oc.oc.cox.net. [72.194.116.95]) by smtp.gmail.com with ESMTPSA id o3-20020a170902bcc300b001b801044466sm10609186pls.114.2023.09.13.08.52.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Sep 2023 08:52:09 -0700 (PDT) Message-ID: Date: Wed, 13 Sep 2023 08:52:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next] net: dsa: rtl8366rb: Implement setting up link on CPU port Content-Language: en-US To: Linus Walleij , =?UTF-8?Q?Alvin_=C5=A0ipraga?= , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230912-rtl8366rb-link-v1-1-216eed63f357@linaro.org> From: Florian Fainelli Autocrypt: addr=f.fainelli@gmail.com; keydata= xsDiBEjPuBIRBACW9MxSJU9fvEOCTnRNqG/13rAGsj+v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oJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxV HGuUuzv+GKZ6nsysJw== In-Reply-To: <20230912-rtl8366rb-link-v1-1-216eed63f357@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Sep 2023 08:52:24 -0700 (PDT) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email On 9/12/2023 2:24 PM, Linus Walleij wrote: > We auto-negotiate most ports in the RTL8366RB driver, but > the CPU port is hard-coded to 1Gbit, full duplex, tx and > rx pause. > > This isn't very nice. People may configure speed and > duplex differently in the device tree. > > Actually respect the arguments passed to the function for > the CPU port, which get passed properly after Russell's > patch "net: dsa: realtek: add phylink_get_caps implementation" > > After this the link is still set up properly. > > Signed-off-by: Linus Walleij Reviewed-by: Florian Fainelli -- Florian