Received: by 10.192.165.156 with SMTP id m28csp1067772imm; Wed, 11 Apr 2018 11:49:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx48PpHU9INo12IZJRNVMs89vPy8SPwU6LV5IIYirCoirIAw00tYoABTJUv9T4cvwQRZHOroQ X-Received: by 10.99.145.193 with SMTP id l184mr4202133pge.394.1523472596018; Wed, 11 Apr 2018 11:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523472595; cv=none; d=google.com; s=arc-20160816; b=bkvYdqyvxCMyoIEKQUDc6SUISXDhNt1GFr8InojuJtsIwFP27vJPaRSqqW0EvtcVYN yp4CpRF3W9Tr3yBILrTOtVOHoZttGBGBFAHHil45ZRRrTtN1Pmo0NVwNYpudZzXiGzeB kF66YN/E5X37XX8jNagJgAIFuZzaloAiR8ofd/+dAvmXGJq71PeUrYTEhPZnPIv9q2mQ y53QuLcDeyXqkun7V75bR6uPYhXlwUIaMmvsANrxxpb8GP7wObCBFHAa29OlbuPpJ6et aLNcO44ltDZNPt+k/RaDJ7WW0bfXmlsJa+siAnB4PUVKE1fXYopSiVzJweV4y5Ap5LbV 9utQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=QLzhVdxaj0yTbehaarMzqE6snR9wUNhhYsZ3276SJSM=; b=nvYN0SskfI1odFXHlPqBpS4pa6hSEvA/AaFm3K/833+fTxh98XRn/ucvAPtzOPPCzN oJ9rVTonmYVhEGo7L5WmfthK9f6tqX2ywnHsDoixK79IJVKfQWnF5fIfJNQYB2C360vp S2pNx6sPxWqbjgqRKtYOMZkQjmUYlc6IrC79tGRwVhPRexddSyPMZCbxtxOLO4LAhyMo ktVsmhO+Nqkn0HEuyVyx0V8TxH1W/hRLaIeVPH/pbBTJ5a/SzxzGKvt9Y4lknxoHTvnE 64jkhVihzu0yZDvCF5uZOMa12RKkOxMkaI6xH8M3bhQHNlonHg5VFi7EeReYiKse5y3i U80w== ARC-Authentication-Results: i=1; mx.google.com; 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 3-v6si1672416plq.136.2018.04.11.11.49.19; Wed, 11 Apr 2018 11:49:55 -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; 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 S1755627AbeDKSpv (ORCPT + 99 others); Wed, 11 Apr 2018 14:45:51 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:44518 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755606AbeDKSpt (ORCPT ); Wed, 11 Apr 2018 14:45:49 -0400 Received: from localhost (pool-173-77-163-229.nycmny.fios.verizon.net [173.77.163.229]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 3277613FDEC6A; Wed, 11 Apr 2018 11:45:46 -0700 (PDT) Date: Wed, 11 Apr 2018 14:45:45 -0400 (EDT) Message-Id: <20180411.144545.61566209668287626.davem@davemloft.net> To: phil@raspberrypi.org Cc: woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, agraf@suse.de, tbogendoerfer@suse.de, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] lan78xx: Don't reset the interface on open From: David Miller In-Reply-To: <1523362705-30032-1-git-send-email-phil@raspberrypi.org> References: <1523362705-30032-1-git-send-email-phil@raspberrypi.org> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 11 Apr 2018 11:45:46 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Phil Elwell Date: Tue, 10 Apr 2018 13:18:25 +0100 > Commit 92571a1aae40 ("lan78xx: Connect phy early") moves the PHY > initialisation into lan78xx_probe, but lan78xx_open subsequently calls > lan78xx_reset. As well as forcing a second round of link negotiation, > this reset frequently prevents the phy interrupt from being generated > (even though the link is up), rendering the interface unusable. > > Fix this issue by removing the lan78xx_reset call from lan78xx_open. > > Fixes: 92571a1aae40 ("lan78xx: Connect phy early") > Signed-off-by: Phil Elwell Applied and queued up for -stable, thanks.