Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2764499imj; Mon, 11 Feb 2019 08:08:05 -0800 (PST) X-Google-Smtp-Source: AHgI3IYI0x9XLCpNFryxFwn2T4NKGWy4LApRCmq37M+X76hbFqmftmj2dlC3hekRNiQLZ4d9h7XA X-Received: by 2002:a65:6497:: with SMTP id e23mr15970830pgv.89.1549901285347; Mon, 11 Feb 2019 08:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549901285; cv=none; d=google.com; s=arc-20160816; b=0RKUjMJ6B1X5P5Q+GutlZ236ufjWC4eSzlCnfmDwTb1JqpHOxnEQeCoPwDBNplF4Zp kQc8UwcK84jiTrxW/V6ilQJ4yPxYB8qnX8MNOgRrqyczbLZW74UyH35AowUvfyi5XG3m XVt1EVVGWBJaWdjE/8rHLal21HMXRnRymWifZ8NZU3YH3dY05BtuMU0lSTmADm+cjpC+ QO3iudL04SnSWC1P1WXbW9mA97yl1fdqvi4TwRyhvMdyU5FPhkHhI4eq+G60RZIxgmng oh1Ghtkb8bz28Wo0YMLRCwVNZrYTOQsHn74ZItwK0/zdwSxDHQPxygtz3H4ML3qpi+bp 0u/A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=G0rAH//E/+sj0TakGOpzmYnjuf2AzVpSycoNVDm95NA=; b=cJTB2SatnZ3ce/WhannN5aS43Kei72OQB6Harucql72PGMRPdgkf2OID0M1tREgsBI SSglIUxEeGbqZhEY+mu/1nSau2reOL0t3qHUffYUr7g+G/5Pk2eo6M3dCI+ggYg71/e/ B/X9TTDm/VgJHgA5LDfYDdLb8skSR5vjnukWugbovGWcm2bvAQmQYCyz2QQmo37QHQZ0 FTO5kaXJfoYA51e6BPHzwdTolJLWakRgTHp8vY4jfeEAQBoGlIPZtA6OBZ0NeMcQDARn Lz0TQU2n7DYNbUmrKw2c4xv+i5ISmS5+m8Vqdfu+X1ke0WS7OnOaRjfkVFGhulJgC8d5 Lq3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jnQEzest; 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 b7si4394156plx.331.2019.02.11.08.07.45; Mon, 11 Feb 2019 08:08:05 -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=pass header.i=@kernel.org header.s=default header.b=jnQEzest; 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 S1729678AbfBKO1M (ORCPT + 99 others); Mon, 11 Feb 2019 09:27:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:32904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728125AbfBKO1L (ORCPT ); Mon, 11 Feb 2019 09:27:11 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 5A5462075C; Mon, 11 Feb 2019 14:27:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895229; bh=jPGA/47fa1jJ8HB/Tz2vYHRKJDZFrhC7t/3tAoFppBE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jnQEzestKGYcnh/Z788ToCO8r1jrozrSUnWOS2wFl+QISIj9LXlMI15rTYb9WR9Mt ho6Q+vI9J+pGChDJ/3yGM6qs3uPDpm+NK/+sjb02Gan3f3MixYjXXi7tEApBE2jE3X cJwEwy8cOVnhKcv40GRF43PLWOnqygD6gmL11WWE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jerome Brunet , Neil Armstrong , Carlo Caione , Kevin Hilman , Sasha Levin Subject: [PATCH 4.20 136/352] arm64: dts: meson: Fix IRQ trigger type for macirq Date: Mon, 11 Feb 2019 15:16:03 +0100 Message-Id: <20190211141855.173297872@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 8b3e6f8999f8d704fccce225b9455b3fa639d1c9 ] A long running stress test on a custom board shipping an AXG SoCs and a Realtek RTL8211F PHY revealed that after a few hours the connection speed would drop drastically, from ~1000Mbps to ~3Mbps. At the same time the 'macirq' (eth0) IRQ would stop being triggered at all and as consequence the GMAC IRQs never ACKed. After a painful investigation the problem seemed to be due to a wrong defined IRQ type for the GMAC IRQ that should be LEVEL_HIGH instead of EDGE_RISING. The change in the macirq IRQ type also solved another long standing issue affecting this SoC/PHY where EEE was causing the network connection to die after stressing it with iperf3 (even though much sooner). It's now possible to remove the 'eee-broken-1000t' quirk as well. Fixes: feb3cbea0946 ("ARM64: dts: meson-gxbb-odroidc2: fix GbE tx link breakage") Fixes: 6d28d577510f ("ARM64: dts: meson-axg: fix ethernet stability issue") Reviewed-by: Jerome Brunet Tested-by: Jerome Brunet Acked-by: Neil Armstrong Signed-off-by: Carlo Caione Signed-off-by: Kevin Hilman Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 - arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index df017dbd2e57..b1a42e99cb67 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -143,7 +143,7 @@ compatible = "amlogic,meson-axg-dwmac", "snps,dwmac"; reg = <0x0 0xff3f0000 0x0 0x10000 0x0 0xff634540 0x0 0x8>; - interrupts = ; + interrupts = ; interrupt-names = "macirq"; clocks = <&clkc CLKID_ETH>, <&clkc CLKID_FCLK_DIV2>, diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index f1e5cdbade5e..58e6bcaac1d8 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -462,7 +462,7 @@ compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac"; reg = <0x0 0xc9410000 0x0 0x10000 0x0 0xc8834540 0x0 0x4>; - interrupts = ; + interrupts = ; interrupt-names = "macirq"; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 54954b314a45..f8d1cedbe600 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -143,7 +143,6 @@ interrupt-parent = <&gpio_intc>; /* MAC_INTR on GPIOZ_15 */ interrupts = <29 IRQ_TYPE_LEVEL_LOW>; - eee-broken-1000t; }; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi index 70325b273bd2..ec09bb5792b7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi @@ -142,7 +142,6 @@ eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ reg = <0>; - eee-broken-1000t; }; }; }; -- 2.19.1