Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2139687imu; Thu, 24 Jan 2019 07:52:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN6CoFRWivpLqtu4ycc0CUymkz6SrdzcQ4mShvuHiwShZRmvG6pORNayq6sX/Krytorl2/N5 X-Received: by 2002:a63:fe48:: with SMTP id x8mr6468525pgj.261.1548345144894; Thu, 24 Jan 2019 07:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548345144; cv=none; d=google.com; s=arc-20160816; b=Q721KtGasDE0xuVqu6ZFMjieBeuxv21SOr7IFBYIVxWsUPjPx9J4jmwNRXV8rkrRxU yO7d6xuShlvNOcU9/1NsrxHiCSP1jtnzkcKhP8oz3ks6G9cEjZovBZu22uOeqMyeeAXs O67K1wXQDanNtHeXyO6YSVdKhxXlIE7PsSdEjs34uKLI2EqS/rhDVCIzp4NYp5CkE3cL Z0wG0HSo2UtcVShPg2ExOS5R7O4QJ5LJ8dvNB9hYZ1XyCuBj4lBuzcq5isrpRqNn00Kj BW9DYwJdJhKQ/sUQBnS7QX4LPtxnwVveAaVg04+TD90g3seO7Kery9lqrNbkTN8wMULH CTkA== 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=i1fezm4aBAKQY2KkkwCINvHF/gqTkX8n99ORGJ5P5kI=; b=v36q1U5OsxsdBhCQlMzPcOqnxViyQHiJTUFW3piif7KzfFsJRow4wSouJKByEulBaD fU0QRV9rQBTRuboE5OZkA/2Fk4DLyB538cJePEocR4PwWHf4Yru2lNTVZvVOdsOtTo8Y 51Md4VgfEYbkBrlKMmbZchNNIYEvomtZXK6hoyio+PVGtbfWZYITpE67dj7uj8uuTzCb ld+ZkDxIxQahzSz5zovrVwg2F7oenqoQk4UcBd7a6IhWvfzz/O09n64d0TfNMw4MOT1J i7SZmgKdVYA4Qhu8oLAWz47JQh31BwC6ezyfortNPyVmbhDDu7rCw2OWRIYEz+Ig7vzi mZYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=hhqVK5Z1; 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 g17si21595875pgi.578.2019.01.24.07.52.09; Thu, 24 Jan 2019 07:52:24 -0800 (PST) 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=fail header.i=@lunn.ch header.s=20171124 header.b=hhqVK5Z1; 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 S1728670AbfAXPvn (ORCPT + 99 others); Thu, 24 Jan 2019 10:51:43 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:54220 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727755AbfAXPvn (ORCPT ); Thu, 24 Jan 2019 10:51:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=i1fezm4aBAKQY2KkkwCINvHF/gqTkX8n99ORGJ5P5kI=; b=hhqVK5Z1Qkpkf+JCQhgiJc0HpF K5HnjrCwz5qBdiaJLOJTvPrCi9CIZjx8M+PbPUU1ycy0oKCwZzOTGvoEv88TXIUlu7xMy4IfXp2pA xseyOm+P4pg92J+Rpvv4LoJeuSTZFSUirj94H1RPeXhJh2xvYHxVIAmlTiX8LjxtIeH8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gmhI1-0001Rz-9A; Thu, 24 Jan 2019 16:51:37 +0100 Date: Thu, 24 Jan 2019 16:51:37 +0100 From: Andrew Lunn To: Thomas Bogendoerfer , antoine.tenart@bootlin.com, maxime.chevallier@bootlin.com Cc: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King Subject: Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt Message-ID: <20190124155137.GD482@lunn.ch> References: <20190124131803.14038-1-tbogendoerfer@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124131803.14038-1-tbogendoerfer@suse.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > Set up link interrupt if connection is handled by phylink otherwise > link state change detection for in-band-status doesn't work. Hi Thomas Please ensure the maintainers of the driver are at least on Cc: Thanks Andrew > > Fixes: 4bb043262878 ("net: mvpp2: phylink support") > Signed-off-by: Thomas Bogendoerfer > --- > drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > index 16066c2d5b3a..0fbfe1945a69 100644 > --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > @@ -3405,7 +3405,7 @@ static int mvpp2_open(struct net_device *dev) > valid = true; > } > > - if (priv->hw_version == MVPP22 && port->link_irq && !port->phylink) { > + if (priv->hw_version == MVPP22 && port->link_irq && port->phylink) { > err = request_irq(port->link_irq, mvpp2_link_status_isr, 0, > dev->name, port); > if (err) { > -- > 2.16.4 >