Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp389735img; Thu, 21 Mar 2019 23:46:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyjt027S2PKecpSJWWfpwo34iYMQx+NDdHweDg9YOeDAPopFS1jsIojgYz5cjSXrLboaQk X-Received: by 2002:a63:f453:: with SMTP id p19mr7014384pgk.232.1553237175565; Thu, 21 Mar 2019 23:46:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553237175; cv=none; d=google.com; s=arc-20160816; b=DOekNjCjE5cd51El8wLQswFnw+rmbgDQT55j8TjOEp7MW+L4BD3Q4nvnAP2EEzLtKP uwBLKsaTr1SJpIKu1LJgkw1dCwF1ps3+7sOasgF9SMR2y5l0mIaz/tr1PgBhkkBntHkv xeQj8vshnHAvV0T4ygZLdIwQRwH42wgmFO0X1Ct+YSH6xQMNUjWShJ6fCmOVouj4SCL5 xXl8c1Q8KbVJcyfBnmP0cgK4XiH3ao29sxbNNRAHKgkctyqaboynABnOkwhNXyDRAsSd TXHFp7TFXzwl6BmikfvLHuyS1h2lDP+EVSZLxbOlABzRDZdlWrPyJgJwIH2LP1KNhSzO 5Kbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mWpUGrcyNTnY1/CzK0rrnIi1/VGzGwZfBKFzc1TKHNE=; b=0AylqCMf25OuqQlcHe2hHwv8HAMCFn6qtVMlKJHR8BAI3QUJyyM2VC09uOebg2/pm3 DjhZBAias2ZvOPuNb1mnJBW0eh9FF/xbD2rRA7UZTiamjAce1Vzjh56HQlF5FfVSxUZZ icjltxpia3kl+blzoNmabmW505FVVxIa1fAzJlo3atn0FJj7qc2rfcnOJFaetvTcKq1V KQjqWXe/F+EoUQG1w0bTK8juGAuIregAP+3JRubS12YtOBA7dNZxn8zO4YwoL7Wydkq2 kcYn8c1ne0CkD7uRCttFPKw2nQvSGRGh3cuIeqC/66lH5A3TPgsrkLk5LUaCad/G/7+Q wC1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2uS9cp8r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r66si5952408pfr.196.2019.03.21.23.45.57; Thu, 21 Mar 2019 23:46:15 -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=@kernel.org header.s=default header.b=2uS9cp8r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727683AbfCVGpM (ORCPT + 99 others); Fri, 22 Mar 2019 02:45:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:42098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727599AbfCVGpM (ORCPT ); Fri, 22 Mar 2019 02:45:12 -0400 Received: from localhost (unknown [106.201.33.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E279621873; Fri, 22 Mar 2019 06:45:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553237111; bh=bWhsaeWhQPicYb/9TPJ6/Fp1lQk6GyuWmuNkkqdwrcE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2uS9cp8r93KbvSmleTsH5X3LnhtH3qNBXOIFUsveOKcIvODMZ4VnzC7EojvrET28w vqOWZTZSpjYCdzSDE05wKA/F1ZvKU+S6+uS9KJekxZWnsTMXaJnD5g/wnHpSjxieug +AQOk9CDOAJ7+Qft9lBio/gk3aWj0bsDVo4o2Lfg= Date: Fri, 22 Mar 2019 12:15:06 +0530 From: Vinod Koul To: Aaro Koskinen Cc: "David S. Miller" , netdev@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BISECTED, REGRESSION] Broken networking on MIPS/OCTEON EdgeRouter Lite Message-ID: <20190322064506.GB5348@vkoul-mobl> References: <20190322002125.GD7872@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190322002125.GD7872@darkstar.musicnaut.iki.fi> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-03-19, 02:21, Aaro Koskinen wrote: > Hi, > > When booting v5.1-rc1 on EdgeRouter Lite (MIPS/OCTEON), with at803x phy > driver enabled, networking no longer works - I even need to go physically > power cycle the board before getting networking to work again (otherwise > bootloader cannot tftp an older working image). > > Bisected to: > > commit 6d4cd041f0af5b4c8fc742b4a68eac22e420e28c > Author: Vinod Koul > Date: Thu Feb 21 15:53:15 2019 +0530 > > net: phy: at803x: disable delay only for RGMII mode Hello, So with cd28d1d6e52e ("net: phy: at803x: Disable phy delay for RGMII mode") it works for you but not 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode"). That is bit more weird case :) So does the ethernet expect RGMII mode or RGMII_ID mode here, looks like disable delay is expected as well? Can you point me to the DT node as well.. > Booting v5.1-rc1 with this commit reverted makes networking to work > fine again. -- ~Vinod