Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1981181pxj; Wed, 19 May 2021 19:40:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUIGi9iDKCQkjrwdbbQ4CZJnnnVfXNtbexHa4Fz4AqySRvg4qZ5Pz322NR3Wwrqxd6C7X+ X-Received: by 2002:a02:b18f:: with SMTP id t15mr3011152jah.127.1621478408598; Wed, 19 May 2021 19:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621478408; cv=none; d=google.com; s=arc-20160816; b=ZmWah8PfH5QTLBP3B5UrG6dQ4DyzeIHUSxWOF3WMfNisH8FLGIGwADDMCgHWivRfaC 7GveMjDr2eMUlXxxwMJnF080K1KCpuAidWOOXAcPE0hz5DM3LN3iWxFF4s46RwIyttlD pIh8xVsND9VCAg5t7bQWOi4BytQOdyxVGN2Hj2jqhp7muPvwjsTTfgzL8QAKwVj5LavD IC7pulAPfTQZtUInoet+rek9h7scLfOasiHSi6toFz71cCYn8Qvi4GGa4JZagvm9wNF/ LJ6pldyTlvgIMRPokcV926eGtBiVDsxhd1TynJiSsf8k7RVhlT9cVPplyVvF7bPM2ppp tXeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+oDpeZ4j0Q9DFmXNX82+DBFJCZJqLdYMPzNEUa68hdk=; b=QHZuIgS9EeMdeRu36J5A6sCOa+Gd7bG3A1GJTzwroZaRu6qq7ia6PwoBTXa16ltci4 ulgUoy/F+JGCULHbx1VXcX6V5iaq6AhG8O/LKAV4kAPI1HTQrh5kQ2kygDaRwqOifTTn 4PDdWJSigsHU0+sCzNAgSNacx+IThb59r3kB9/xBCS/QurguRV6rg7sSKYDgLlyx5ofl qLpaQqahFhm79YzidOK6puznyNdVGPTV4mkiADvpEezkq0ND/6qql+228v3bhOG5P4UH BlTmu6gOzg6nferjTE7PP96TRhLJpmVcDR0hsOHhyeL5gOIsDyvmE00To0EbuMhSDF/H 9o2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IOa8K9tV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si1134456ioe.38.2021.05.19.19.39.54; Wed, 19 May 2021 19:40:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IOa8K9tV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230325AbhETCkX (ORCPT + 99 others); Wed, 19 May 2021 22:40:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230062AbhETCkU (ORCPT ); Wed, 19 May 2021 22:40:20 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6194BC06175F; Wed, 19 May 2021 19:38:40 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id i5so10844316pgm.0; Wed, 19 May 2021 19:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=+oDpeZ4j0Q9DFmXNX82+DBFJCZJqLdYMPzNEUa68hdk=; b=IOa8K9tVVVxrX/LEDpljs/uhegyaU7VIZuMoaAVZsjDvNrTugxJq9nCTiuCFBEeDd5 3Y7xjzha2OTsAjBRw5pc7a6InhT3llpfUQiJemcPlQrchkqgC9UINiAob8LgJehEDr9Q nmFyzp/SwcJZVNkHQkt2yziclbsRlwso1ofxmByAJcS15BRIANqqokBlgpK4lHAHoquR AtiCPZFyfQ7TIzLWLEp3wiv9qdNxAUr4bcnq3S1LIIf+4M5+HkcigdsLrwpCn+fo0lqf X5ljjTEcCm6UfcJ2a7UMhZkNb9wlVPYhsg6f46u0EJfEY2QykQptftlowkzjQFtSEfhZ eYeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=+oDpeZ4j0Q9DFmXNX82+DBFJCZJqLdYMPzNEUa68hdk=; b=IPF3tDje8shPuDQ9lgPYbwhJYw/3yjP4N4BdLBE4ki2xGFA8d795/E1J5iNjRI+MX7 oqrbYU7aFtVYZkMqCrU1v4IaNtw3zJh4ZUpkuS1PLpntNWB4nuY2oMZyZOAJ1wSkqj6/ 7F1tOB1GA+kQ18MrPuCoubGr/brkGQIxvtvXrOYDVxfdkPnxG5cgfWyVyX9tWH/it3/w SqSX+vvltyZjHkL5CFrvqmEJfmOSCvD3aLs3VmcBpeNKI4NnesEgxfkSCMxwy4nKynJt wwAXQ9kQHqjWpWeonGaelYWTtvnK9L1T3nBZXFQbCyzYAQcMkzCHcXqUI355H/cb8KIc +79A== X-Gm-Message-State: AOAM531d/Nw7/T0QDmKSf5PV+2ysDWmT7lm416L/2VlDl7zJDpEf+VPr uUedMB5SSwzGmyM6mus3CbI= X-Received: by 2002:a63:1e64:: with SMTP id p36mr2226330pgm.105.1621478319924; Wed, 19 May 2021 19:38:39 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id v9sm3005387pjd.26.2021.05.19.19.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 19:38:39 -0700 (PDT) From: DENG Qingfang To: Andrew Lunn Cc: "David S. Miller" , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , Landen Chao , Matthias Brugger , Russell King , Sean Wang , Vivien Didelot , Vladimir Oltean , Rob Herring , Linus Walleij , Greg Kroah-Hartman , Sergio Paracuellos , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-staging@lists.linux.dev, devicetree@vger.kernel.org, netdev@vger.kernel.org, Weijie Gao , Chuanhong Guo , =?iso-8859-1?Q?Ren=E9?= van Dorst , Frank Wunderlich , Thomas Gleixner , Marc Zyngier Subject: Re: [PATCH net-next v2 1/4] net: phy: add MediaTek Gigabit Ethernet PHY driver Date: Thu, 20 May 2021 10:38:28 +0800 Message-Id: <20210520023828.3261270-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: <20210519033202.3245667-1-dqfext@gmail.com> <20210519033202.3245667-2-dqfext@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 20, 2021 at 02:59:21AM +0200, Andrew Lunn wrote: > > +static void mtk_gephy_config_init(struct phy_device *phydev) > > +{ > > + /* Disable EEE */ > > + phy_write_mmd(phydev, MDIO_MMD_AN, MDIO_AN_EEE_ADV, 0); > > Is EEE broken on this PHY? Or is this just to get it into a defined > state? As I said in commit message, the initialization (including EEE) is from the vendor driver. I have also tested it with EEE enabled by default on one of my APs, and got occasional link drops. > > Otherwise > > Reviewed-by: Andrew Lunn > > Andrew