Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1821895pxa; Sun, 23 Aug 2020 18:12:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLF1IpdY4fkxC8qgbmZmft+S+E96cVqa3h4Mjd9d3EztLQ8WKcqUqEx9KOSmnPHfuuhiZ6 X-Received: by 2002:a17:906:59b:: with SMTP id 27mr3581690ejn.56.1598231527704; Sun, 23 Aug 2020 18:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598231527; cv=none; d=google.com; s=arc-20160816; b=QiDy1Pd+VavjwEajV4GEpila1AidIpfaYOxXKe119rhZjz38tnkwpqdGZNxapuLSAh i5h2DtWKq2Xd+kj6IYITWtGrr6Uuisb815W50Q8IhaS7OQEj3BFIRkgGv7owR3VLIlBH lIme43MeN9CW7WKlU3PhsxZhy+9VI7DZkezg+i5rU5kwui5jHFI21G3W3c2noy31AnRI oB6ce99e5xIhIL4WFRwLqgKEWxsUFki2h90GFoUTiEUU3MNr4qlTv8pmuvHLmxsgAWCv j7gnfsSR2YDCsmt5y4lygS1x6squYZl7PLrjkJCvZy50rbHiil1R9st1VEFywraDqBe+ J9WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CWX7H96L0UTSs7SYWnb0yF+ExzD4uVWoQtXpHGhYPt4=; b=ZHslPtjqBtwmL7b9wAQe7lqRw7O7nQ8PdF6QZannZZHOzGiiQrShQDVBrQXN0NX2A7 OHal7g+3NhyiGzSGg5c9jnpGAhUI+ptNmjoN9LmV6xjq73URTkI5lAOyy7PkibYrpMr2 CLOrz5Upnc54jsXhYLczbm0Y43QjbMOOQwdO1ed1824ErXFqnj7IMPJQ8KKmEogVyFec RDwVVEfJpPH1gsCwUnhN1CmHZYI2N2AISJPwRLsI+3TPMJ3345bvVoyjQTlbGnzoOZRY cIu3dCAiX/4zfFqHltGPOgOgkYYvLKyKy3EJ6jC5iNMcf703FGQrr5eZ/q9W8sGHitW+ mDtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GFudpDFp; 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 b24si685663eje.488.2020.08.23.18.11.44; Sun, 23 Aug 2020 18:12:07 -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=GFudpDFp; 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 S1727872AbgHXBFb (ORCPT + 99 others); Sun, 23 Aug 2020 21:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725648AbgHXBFa (ORCPT ); Sun, 23 Aug 2020 21:05:30 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A7BC061573; Sun, 23 Aug 2020 18:05:30 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id w25so7692323ljo.12; Sun, 23 Aug 2020 18:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CWX7H96L0UTSs7SYWnb0yF+ExzD4uVWoQtXpHGhYPt4=; b=GFudpDFpSrYMwmzlITIl19n5T/kkMisz1fhJcgcOgqnpNg9y0ujEezi16yBjUtEn7h v3ghDXydog9dH867lgOA8hVSqAb4PvC5JLkZ79W0tklnTUgK4/04aTCM4x0K0jF9yctK 8O2i7um8E2y7Preo/FeoutVMvbERGWpyD/Hao5PHgECHqihw37avi/jrE/RS2dRqmqlK kBOvnOfnRpdxu4yET4LkBS040mT7tMOdrjSaMhiH8So8MQ8xgMKr5SuoI+CuLMpk+cLk Wrvwsw1OIx1+OAuUafFuW4Mjdcc5d5o9BMyRsnR6w3KqteXLNqEuPSI7Y9eKwYyqEHI2 Drng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CWX7H96L0UTSs7SYWnb0yF+ExzD4uVWoQtXpHGhYPt4=; b=o7ylhAxGnqwO+Bj6Bq+HyjQ25TzlvL6SBtngxf4YPxX8qO3NvWibIRxsTUZrLcJOa3 enKuPfdWa/OdI4iq/adSUEvZ9ORs2UD0fWSUY6OjUkllnbTPxxGfdBU8HTpIdV6vhqrO RbEgBXCgUSkDjEpZsmRm7rfcsNvRSFW3pEMXbTRYFLu89x2cnLfrVD5p5VcCcRvcmayz tGLGKAPP8t10E0NgE/fzjsAIoTbF31wzcMLjG4fA1nIMnpr2jmQd1HdCWT3bM7hsBZ6p kW3T8cOmLkmSLs8ea5F5wcNSIX1hnVxotR03s4HYSs2QW3h/WmQ8g6w62oznE/vehgGd qDdQ== X-Gm-Message-State: AOAM530hx0bvjMhvKYnVlE4k03tlMfP90MTs/6WaUaTm1ejQysME22// yWShL5IVe+DTyPScHgD7m2RQosuVmFBd2wB65co= X-Received: by 2002:a2e:9c8b:: with SMTP id x11mr1397465lji.218.1598231128750; Sun, 23 Aug 2020 18:05:28 -0700 (PDT) MIME-Version: 1.0 References: <20200823022505.196825-1-cphealy@gmail.com> In-Reply-To: <20200823022505.196825-1-cphealy@gmail.com> From: Fabio Estevam Date: Sun, 23 Aug 2020 22:05:18 -0300 Message-ID: Subject: Re: [PATCH v2] ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy To: Chris Healy Cc: Rob Herring , Shawn Guo , Sascha Hauer , Sascha Hauer , NXP Linux Team , Andrew Lunn , Philippe Schenker , Oleksij Rempel , "David S. Miller" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , davidjoshuasim@gmail.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chris, On Sat, Aug 22, 2020 at 11:25 PM Chris Healy wrote: > > From: Chris Healy > > Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the > KSZ9031 PHY") the networking is broken on the imx7d-zii-rmu2 board. > > The end result is that network receive behaviour is marginal with lots of > RX CRC errors experienced and NFS frequently failing. > > Quoting the explanation from Andrew Lunn in commit 0672d22a19244 > ("ARM: dts: imx: Fix the AR803X phy-mode"): > > "The problem here is, all the DTs were broken since day 0. However, > because the PHY driver was also broken, nobody noticed and it > worked. Now that the PHY driver has been fixed, all the bugs in the > DTs now become an issue" > > Fix it by switching to phy-mode = "rgmii-id". > > Fixes: bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") > Signed-off-by: Chris Healy Reviewed-by: Fabio Estevam