From patchwork Fri Jul 3 13:20:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Willy Wolff X-Patchwork-Id: 11641937 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E9CA46C1 for ; Fri, 3 Jul 2020 13:22:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C24BA20760 for ; Fri, 3 Jul 2020 13:22:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WjNycmd9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PDvabmQH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C24BA20760 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-ID:Subject:To:Date:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Sn9ASTBC8qkH3sq45YhngOOHOBed6rIPU00Jtm4nMN8=; b=WjNycmd9v/1PNIrnfQI+qvGfGj +WYAQFUfchhxvgT3gYgk2fpRa8+ozv4ZWPAU4v6EmseHIlGlcTMAs1fXB9f/X+r0iQmN1VjpalgSw Z7sbF1gVq/7r5NBDXJv1NE05VDYjQ7weEPQUx8Z4Rp+ClsGvSBPikZm36P7+H+T16jGNqk1IMEc/e 0h+dYSaQDAUQg7Q4TWMD7uLe/OTMw9mWdcwciWBfHN0nUefMymxtlOcUTCnENrSZec8A2O1+0siPO 2PXPeufuTvmPXAwbev6+kytotszgx8uInIk5ipPOwcEKwvmX/E+i0Q07tEXKioF6qmujAz3po+Wpu Yo5VGZgw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrLci-0001ps-RJ; Fri, 03 Jul 2020 13:21:00 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrLcf-0001oi-PD for linux-arm-kernel@lists.infradead.org; Fri, 03 Jul 2020 13:20:58 +0000 Received: by mail-wm1-x343.google.com with SMTP id l17so32012690wmj.0 for ; Fri, 03 Jul 2020 06:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mime-version:content-disposition; bh=UDQLMHGmElupBntrGo71j+LQRE1M2bBG0QfaH5u/2UI=; b=PDvabmQH/TlzYDBZji9UhzOObimUx+VkJypuKVoBh4raJtzRvi7f4iFJaPq+gKIk0o VJxotdmzIvE4R2/ImCePqMPyp8AHHMPVrumTDxoSQrT8pGi8FWnhUG6RiqeT5LWlY4Y1 J/zmXkbjAwOHpCt0RXOWttb+zWGYzWWsrN3P9oJLi8ZWtbsR1O45yEn545oIs6OGZi6h WFtBJEISVIIM4vwsJEbPwl9/Vaul6qFoqXE5oxspjTVerSidYkWMni5ubc5caoc4CDCZ TQhAzXo5kuS55XCqFHnKPXYmAxdcN7yoQDuWj+NX3aWUN8hVfLa4OOiNDhmiZCrAlBE2 lrGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-disposition; bh=UDQLMHGmElupBntrGo71j+LQRE1M2bBG0QfaH5u/2UI=; b=epcAikBnbdsVRFltG9YIU+JCDpQwRraINzWrbsjBdyubFkJWKlYDDKRZqPi61Bz/UQ Ef6libiiLxKSWRisblyaXDLGzflp95KZPUWul2NcvrWb5rcw/oYmQ3Ixm24MxecycjSq X9/NBFQgAVwykHyKE0LstgDzCtVMTf2ok2EPCqy1gltAnHVSy8KSnu5XbFqayepDIQk2 RPrcs/2YlqXfgSTkuXFLZf+jpbzIZYMgV5GCSHt/Z2fnBobr9bvoZFbCYSxe/VtI1PhI 2okPeTpXjdqoW9r+K4pdocEoh3dCyl1dmdUElZXBx1ACrf2+5N6SiVxDaRKNbeZNLlYG Eouw== X-Gm-Message-State: AOAM531pGhRIqQIhG2sAvNTuwW6ddV8uP18ZtTqXkATgRXVRBK3lZ2DL 1g1wfMxbcusrv/nmQB54sbw= X-Google-Smtp-Source: ABdhPJzUDArRZ0Z1kmAO2j6Dvh+OV4ibFKpmrj0wOyLq4RKklloeRCVsmLBNBd4sQzgxrlwvt9T1uA== X-Received: by 2002:a1c:a90d:: with SMTP id s13mr34755774wme.184.1593782455635; Fri, 03 Jul 2020 06:20:55 -0700 (PDT) Received: from macmini.local (181.4.199.77.rev.sfr.net. [77.199.4.181]) by smtp.gmail.com with ESMTPSA id e5sm14476552wrs.33.2020.07.03.06.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 06:20:55 -0700 (PDT) From: Willy Wolff X-Google-Original-From: Willy Wolff Date: Fri, 3 Jul 2020 15:20:54 +0200 To: Rob Herring , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, m.szyprowski@samsung.com Subject: [RFC PATCH] ARM: dts: exynos: partial revert of Adjust bus related OPPs to the values correct for Exynos5422 Odroids Message-ID: <20200703132054.re3kcgxrb7rciidy@macmini.local> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200703_092057_825105_28C0EEA6 X-CRM114-Status: GOOD ( 14.28 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [willy.mh.wolff.ml[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi all, On Odroid XU3/4 board, since 5.6 with 1019fe2c728003f89ee11482cf8ec81dbd8f15ba, the network is not working properly. After properly booting, when trying to connect to the board via ssh, the board hang for a while and this message happen: [ 211.111967] ------------[ cut here ]------------ [ 211.117520] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:443 dev_watchdog+0x3ac/0x3e0 [ 211.125636] NETDEV WATCHDOG: eth0 (smsc95xx): transmit queue 0 timed out [ 211.132058] Modules linked in: [ 211.134815] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.8.0-rc3-00082-gcdd3bb54332f-dirty #1 [ 211.143518] Hardware name: Samsung Exynos (Flattened Device Tree) [ 211.149458] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 211.157287] [] (show_stack) from [] (dump_stack+0xac/0xd8) [ 211.164416] [] (dump_stack) from [] (__warn+0xd0/0x108) [ 211.171301] [] (__warn) from [] (warn_slowpath_fmt+0x94/0xb8) [ 211.178824] [] (warn_slowpath_fmt) from [] (dev_watchdog+0x3ac/0x3e0) [ 211.187043] [] (dev_watchdog) from [] (call_timer_fn+0xd4/0x420) [ 211.194698] [] (call_timer_fn) from [] (run_timer_softirq+0x620/0x784) [ 211.202980] [] (run_timer_softirq) from [] (__do_softirq+0x1e0/0x664) [ 211.211123] [] (__do_softirq) from [] (irq_exit+0x158/0x16c) [ 211.218467] [] (irq_exit) from [] (__handle_domain_irq+0x80/0xec) [ 211.226304] [] (__handle_domain_irq) from [] (gic_handle_irq+0x58/0x9c) [ 211.234626] [] (gic_handle_irq) from [] (__irq_svc+0x70/0xb0) [ 211.241982] Exception stack(0xc1101f10 to 0xc1101f58) [ 211.246789] 1f00: ffffffff ffffffff 00000001 0008f0bd [ 211.255230] 1f20: ffffe000 c1108eec c1108f30 00000001 00000000 c0df311c 00000000 c1076028 [ 211.262303] exynos5-hsi2c 12ca0000.i2c: tx timeout [ 211.263351] 1f40: 00000000 c1101f60 c01097f8 c01097fc 600f0113 ffffffff [ 211.263649] [] (__irq_svc) from [] (arch_cpu_idle+0x24/0x44) [ 211.263771] [] (arch_cpu_idle) from [] (do_idle+0x214/0x2c0) [ 211.289414] [] (do_idle) from [] (cpu_startup_entry+0x18/0x1c) [ 211.296999] [] (cpu_startup_entry) from [] (start_kernel+0x4e8/0x520) [ 211.305822] irq event stamp: 585972 [ 211.308637] hardirqs last enabled at (585984): [] __irq_svc+0x8c/0xb0 [ 211.316470] hardirqs last disabled at (585993): [] console_unlock+0xd4/0x654 [ 211.324282] softirqs last enabled at (585920): [] irq_enter_rcu+0x7c/0x84 [ 211.332072] softirqs last disabled at (585921): [] irq_exit+0x158/0x16c [ 211.339329] ---[ end trace 5726ca773f159ae9 ]--- After that, the board continue working from serial console only, but the board doesn't pong anymore. Reverting some change fix the issue. Best Regards, Willy Signed-off-by: Willy Wolff --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index ab27ff8bc3dc..6f7807e82035 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -81,6 +81,7 @@ bus_fsys_apb_opp_table: opp_table4 { compatible = "operating-points-v2"; + opp-shared; /* derived from 666MHz CPLL */ opp00 { @@ -412,7 +413,8 @@ }; &bus_fsys { - operating-points-v2 = <&bus_fsys2_opp_table>; + // operating-points-v2 = <&bus_fsys2_opp_table>; + operating-points-v2 = <&bus_fsys_apb_opp_table>; devfreq = <&bus_wcore>; status = "okay"; };