Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3674429ybp; Sun, 13 Oct 2019 11:44:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZvKh+3AAA5O6ebuJfkqqsf1NL8G0xBtJ75HGqtiAvCULVTt8kh+QbhCZGJN6gqrZYUN3E X-Received: by 2002:a17:906:5e07:: with SMTP id n7mr24925888eju.271.1570992285080; Sun, 13 Oct 2019 11:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570992285; cv=none; d=google.com; s=arc-20160816; b=tzRXZGnO5PcVCehto/pSEgWKr7b1gU2/++hyIbgGHoX1IKK6LS9l8FUdzeM68mze0c NI5D0kCywNV+cdMKat/P0pPnW8rj1N3TWcKIBLvvVK1gNkT2d+4HAe0kmDK+68DMRgin h1gHgx6WDNuBew1/J9rlFY/kfq9H9qhA3B8pThUBeDey4lfngI9cjDCMyICDJKLNQvfc P7OiJc2ZM+g9o/vJ+rUHVsC8kdYuMAuUeUBIseEqjlEWfg6rXvehlwKOccg+MTRlkoer EF2vEmWCOhhh9vp9aaouKIaB6cO3xeMN20zqjZbAcpo5DEhiQaA2eA3yPMSQOOEgYpCy 2T6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=PrZiqbuY3ndLKFzKZgsu+gz9pvLvQapiwpvGpJyItTA=; b=Hcgcv1JSOgfzHwLcq4IrZl7+KVbZ+cFKND+uT50yRj6dLpnkDKOgcl9e7SAlCm/62a 9gtLt5j1KurJ0j02Ric5eDZTKaA8yi9hdKK/pBPSjHHcnJ41VssrnRPSNWn//Rv8A5Lg PzOslxQnsUvE+gc8wkgRygXJNb8+4ZC6xzGGFouUrauDtl4hGf9CjlwymjxKgHfFteF2 uXnTLflcOAb0vOYCr1Bc1KcpwmULGg6TSAy217sgWw1DbL/elr5m4plQ9eobKH1JZjMr InVBTcPnJJsMmjt8ixWTuNlMhfMfdQbhcrpujqSf+cDlrJOLJ9AGbRag13s5YhfkMpCZ cVsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=VxtvlICW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si9563013ejp.435.2019.10.13.11.44.21; Sun, 13 Oct 2019 11:44:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=VxtvlICW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729174AbfJMSm3 (ORCPT + 99 others); Sun, 13 Oct 2019 14:42:29 -0400 Received: from mout.gmx.net ([212.227.15.18]:32911 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727354AbfJMSm3 (ORCPT ); Sun, 13 Oct 2019 14:42:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570992113; bh=8D3QySR8QYt/OLa5e0b+l6cv0uIB1uYUh4eOufQv0Sw=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=VxtvlICWnEeMdR0FAVjFGtXlxZ22d9Wr3BSikA5yuF4/YCFnBW5OeLDQmXClgNYZB E0dJshM3GBLeDaXSpxDl9pXBtAahtqbxBlsQpSHa6+jRjtGZWMe1/GsMnp89+hzhEv 8nb7k0m8AMq+gvP+ucV2aEUcuI8euQY3v8LJLJRQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.162] ([37.4.249.112]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mlw7V-1hazze0OLj-00j5l6; Sun, 13 Oct 2019 20:41:53 +0200 Subject: Re: [PATCH v1 3/3] ARM: dts: bcm2711: Enable GENET support for the RPi4 To: Florian Fainelli , matthias.bgg@kernel.org, "David S . Miller" Cc: Nicolas Saenz Julienne , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger , Eric Anholt , Mark Rutland , Rob Herring , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191011184822.866-1-matthias.bgg@kernel.org> <20191011184822.866-4-matthias.bgg@kernel.org> From: Stefan Wahren Message-ID: Date: Sun, 13 Oct 2019 20:41:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:jaIkXziA0ZiyqtSywENbnXByWr9/ua/7ampTfGe+MOY4GUzAzKW YHhJeG7fNYknbq2uYPRd1hgVBoVYSqe9X2GX8PrbWwA8c5hlD4rEKNo3H0bLtiIYD5b/MgI pDhadMQdbyMDPnQmK96FHZHn6rqAQVwJ36lCQdxY3+WwpfcGKXs25y6372lc5BpY1FhvKeN UXjLpjEarqA9BtQcBfEQg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eZ/z0o+61/g=:vkN0uoedVvsd9iVqPUk2Vd htLHK7eVvRpiBUYBE6f4RgucN5eI/EPosmhlSQKVFD9r3n7hhYOz0duxRWqfdbhfrwLNJHinn vnAZnqdykjR0UyLSCJOvMaqHfRBOxXaC5blwgU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OmMYj8+uU7vtAT8NSRr9cgkPwJVcabwVhar9t8GpWNvCdCikiGFO1atQ 6YI0zuJEWoP5vMFwKx/aixTVfqNY+gjGL7tbwZsTOcUN0Dcq/o+NwfbyDohs= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Florian, Am 11.10.19 um 21:31 schrieb Florian Fainelli: > On 10/11/19 11:48 AM, matthias.bgg@kernel.org wrote: >> From: Matthias Brugger >> >> Enable Gigabit Ethernet support on the Raspberry Pi 4 >> Model B. >> >> Signed-off-by: Matthias Brugger >> >> --- >> >> arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 22 ++++++++++++++++++++++ >> arch/arm/boot/dts/bcm2711.dtsi | 18 ++++++++++++++++++ >> 2 files changed, 40 insertions(+) >> >> diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/= bcm2711-rpi-4-b.dts >> index cccc1ccd19be..958553d62670 100644 >> --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts >> +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts >> @@ -97,6 +97,28 @@ >> status =3D "okay"; >> }; >> >> +&genet { >> + phy-handle =3D <&phy1>; >> + phy-mode =3D "rgmii"; > Can you check that things still work against David Miller's net-next? > Tree, in particular the BCM54213PE PHY might be matched by the BCM54210E > entry in drivers/net/phy/broadcom.c and I just fixed an issue in how > RGMII delays were configured: > > https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commi= t/?id=3Dfea7fda7f50a6059220f83251e70709e45cc8040 > > This might require you to change the 'phy-mode' property to what is > appropriate. i applied your changes, kept the phy-mode above and the interfaces cames up. But there is a lot of packet loss using ping. After applying this downstream patch [1] the packet loss doesn't occur. Is the packet loss a possible cause of the wrong phy-mode and mentioned patch only a workaround? [1] - https://github.com/raspberrypi/linux/commit/360c8e98883f9cd075564be8a7fc25= ac0785dee4