Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2300070imc; Tue, 12 Mar 2019 10:54:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYKhjuO7Cpg3gLJB/PUWNXwZMUYUGmFaT9llrP77bXeRWThDNa8okr3LHvBKfMD0JOHW9P X-Received: by 2002:a65:6210:: with SMTP id d16mr22570670pgv.189.1552413295310; Tue, 12 Mar 2019 10:54:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552413295; cv=none; d=google.com; s=arc-20160816; b=GDZoTD8bYVXBArFqEHGqmLXLb3Faxr6Yt5jRUr7dgySYOFbj/Hqd4Wry+AqXqeQDNa xnsLazP5Wv+6IZT5y+GH+Zoi78lhrBDYCnFHPjJ0KXtxo0xCeh9MA/ZPwPdjvtMas5Y0 BU9jc2gXWkFo4fH5lmjd/nhSbiH2Qji589tO7a5j7qn5/2turcw72apM0AmZ6RYvebqH RSLPc+ykKAUfAICbPIxh/J32hQZx94kMQweGlkvzUJ+bwYGHM9rBt3or+OFzIB7XgJtv /wX24+mtbifpwViD6f+p1SwSTvj7NcFXx9szGpqd0mm9ciWbQpZn6A2fooIZDMURFJBh C4kg== 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=sNYV1ukGjW9CNRA06NYw8YaLooGbPqFNOscRwMjYhMw=; b=j/eJOTPyN6SOiyRZ6sidw1nlV+txdSmutY2QP7xVSLh8cH21BgavIyybwSf7xpdToV ZACrBEnN+NXCzPEojZnUf8zsGR4E5LlILvR5/Fmkm8+fwNLengdUcB18eNBh4bf3CP7y PAJNf0nSvlCgKbF+uijPF6cf3FtAmY8EaI0tbwBq2xeLYNL57Wi55pRUmBJAQzWnxqCA P+VinGkv2bACAFVZZ+kxze4xe8bD3HuJ04Tc2W58jcE4k+w1qCmkfXFUC7PyofBkHuOz MxaLXLC2lGTGQy7UYOQ/wki4MxA0owG7g7mJSSMpd6Dpq2d9n6Pg9dIiBHSCxQ9Z9DeE HA8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Jq1gg1AO; 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 d24si8765643plr.311.2019.03.12.10.54.39; Tue, 12 Mar 2019 10:54: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; dkim=pass header.i=@kernel.org header.s=default header.b=Jq1gg1AO; 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 S1728769AbfCLRwn (ORCPT + 99 others); Tue, 12 Mar 2019 13:52:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:53100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728352AbfCLROZ (ORCPT ); Tue, 12 Mar 2019 13:14:25 -0400 Received: from localhost (unknown [104.133.8.98]) (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 6449121741; Tue, 12 Mar 2019 17:14:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552410865; bh=pgJyLPFlcyHUJ9OhpGO932TO4nuFuDWiDTTZwEcloME=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jq1gg1AOvcaUHZ0q90cpeTfnN4aUvzmms+Urw82F/hUHCJrJIQ9oYO5r8jOt3l1nu jW13w4fU5njZYL0Q/CwsNr/ZO/e7h9HZoRhep75nCvn0kVr5x4qnvv+Ui1ARnbblMe w/wVoVZwNyTQHuhZTSqhgrBZNt2y9/pB8bDpOZiI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Carlo Caione , Martin Blumenstingl , Kevin Hilman , Sasha Levin Subject: [PATCH 4.19 065/149] arm: dts: meson: Fix IRQ trigger type for macirq Date: Tue, 12 Mar 2019 10:08:03 -0700 Message-Id: <20190312170355.155071343@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190312170349.421581206@linuxfoundation.org> References: <20190312170349.421581206@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.19-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit e35e26b26e955c53e61c154ba26b9bb15da6b858 ] 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: 9c15795a4f96 ("ARM: dts: meson8b-odroidc1: ethernet support") Signed-off-by: Carlo Caione Reviewed-by: Martin Blumenstingl Tested-by: Martin Blumenstingl Signed-off-by: Kevin Hilman Signed-off-by: Sasha Levin --- arch/arm/boot/dts/meson.dtsi | 2 +- arch/arm/boot/dts/meson8b-odroidc1.dts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 0d9faf1a51ea..a86b89086334 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -263,7 +263,7 @@ compatible = "amlogic,meson6-dwmac", "snps,dwmac"; reg = <0xc9410000 0x10000 0xc1108108 0x4>; - interrupts = ; + interrupts = ; interrupt-names = "macirq"; status = "disabled"; }; diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index ef3177d3da3d..9e48936e2d8d 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -125,7 +125,6 @@ /* Realtek RTL8211F (0x001cc916) */ eth_phy: ethernet-phy@0 { reg = <0>; - eee-broken-1000t; interrupt-parent = <&gpio_intc>; /* GPIOH_3 */ interrupts = <17 IRQ_TYPE_LEVEL_LOW>; -- 2.19.1