From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CDBCC43381 for ; Tue, 5 Mar 2019 11:36:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2D4BA20842 for ; Tue, 5 Mar 2019 11:36:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WQaszAC3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ngDz3WsE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D4BA20842 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+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OsSVHh1yqcE2z9XFoJVI14ris4yovmqNmcGJE25iS9o=; b=WQaszAC31fB+XvXIMKqmZoKnN H/CzFhIgR0zUqBj5MZHDIdTnk/RkFgmXZv86VzucBqChVMnB+xDFr1ueRWKsinhegpkcXrwqdQHU3 NbrcyD/5q8RhDbJRVkUatXWcYpJIrtoi6IvZEMgk7F33F0TFQtvkDas+9y4WChVxPoQFqKTThW0ue XNgVLTNKaTDKJMx+fwgV0rdohF6/3aN70fH2+LtQ8I+spkIx+dZoCngJi2j/+m+6vN3k+bFS8i22V 35kqR1hjRfFss2MsuskdoYg/wEbiy/vxEM3ILdP/0gUYf4IvQZEx171P+Fj7L+v7h1zk8bKuvS13j ikfPpjbLQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h18N5-0008OE-PH; Tue, 05 Mar 2019 11:36:31 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h18N3-0008NZ-3T for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2019 11:36:30 +0000 Received: by mail-wm1-x342.google.com with SMTP id n19so2217286wmi.1 for ; Tue, 05 Mar 2019 03:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t+uFvtP7Nlvn8rGxw4MDBC5+suszBPNuMVf9QEUh3JY=; b=ngDz3WsEq2HR/qiS1crl38EmW0h9EvJxqZneXifz4B7hWYAzWpGNHquvIyyxhzoYXX sqWAB9LBpNgEqvEAVLURa52iKe1iZCPt3CImSjnrlR3oZFfR0pXcyGw7L/XOwqzLrYtJ pU6ORGf1MHxm0U7TTIyTaMi5Xwp56OFwWY7tDAtPE7HwLqQOMNIu+MWWLpi7yKFqlNoH MOndGpGn198vo2yRuQn1Om3mYR+1hTcLeDqNdbklAiwRehZof88eqqTTvTISX/ffQxK2 FPRs27fnDnnce4vTR+2BPGji7jdwG/lwH24ufADEeuEe9j7Z+yMcTbv495rpYhxeid+t OZig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t+uFvtP7Nlvn8rGxw4MDBC5+suszBPNuMVf9QEUh3JY=; b=a9VUMjOwUdm/WhfoBUJ8jAqhiWn0Te81nFvAdJq8g61VX9VPNql9Y/w3mITGiaLcTs 8vrcDEIKov6hNTGEriCgdI9ou3a2Ypb5yFIGoTVcdTTxqMhqS9DnYv5Fi+FATkXD31Jv pEwjv99CCCvnmWnGlgn7rMkESACuPKyba9T9/uw8D4GModuvutXKtEULennt/L6E+1nn /L8bx0IByPAscbOz9WuTckY+cM86OtVtm+dZC7+IWzUIITrw3GapEi/izTfeUxibnaMx YxyRGvU0VzlLwkcfDb74mYSOOxNKMQ8fF2Duvd8m3HT7IYpvjjDuiegN3WIq06zE2mCQ Zzyw== X-Gm-Message-State: APjAAAUUjlSR5SBf844oBOcUlqsx0CunQSVfHPCzgu2fjh9NKCkkdZNf YWApVuuvQW0hJdgNVqX0cTo= X-Google-Smtp-Source: APXvYqw1KzlxM1pPb0nmjfi5q/kVkAuOUggvD8QbGppYty4z44S2lNKZn1earneOOo+3EysOW1ARfw== X-Received: by 2002:a1c:f707:: with SMTP id v7mr1424403wmh.109.1551785787228; Tue, 05 Mar 2019 03:36:27 -0800 (PST) Received: from localhost (pD9E51D2D.dip0.t-ipconnect.de. [217.229.29.45]) by smtp.gmail.com with ESMTPSA id l5sm5992609wmi.24.2019.03.05.03.36.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Mar 2019 03:36:26 -0800 (PST) Date: Tue, 5 Mar 2019 12:36:25 +0100 From: Thierry Reding To: Embedded Engineer Subject: Re: Unstable Kernel behavior on an ARM based board Message-ID: <20190305113625.GD26369@ulmo> References: <20190302123907.qoe46qs6qmx7qnjs@shell.armlinux.org.uk> <453072a9-52e2-7591-750f-624ca27e0bbf@gmx.net> <20190304142546.GB24676@ulmo> <20190305103222.GB26369@ulmo> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190305_033629_166827_3A5A7DE3 X-CRM114-Status: GOOD ( 16.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, Andrew Lunn , Vladimir Murzin , linux-arm-kernel@lists.infradead.org, Jon Hunter Content-Type: multipart/mixed; boundary="===============1995601839715104642==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1995601839715104642== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IDYEmSnFhs3mNXr+" Content-Disposition: inline --IDYEmSnFhs3mNXr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 05, 2019 at 04:05:14PM +0500, Embedded Engineer wrote: > On Tue, Mar 5, 2019 at 3:32 PM Thierry Reding = wrote: > > > > One thing besides memory timings in BCT that comes to mind that could be > > causing memory corruption are power supplies. Are you sure they're all > > correctly configured and enabled as required? >=20 > This part is 100% same as the Jetson TK1 on hardware end. And in > device tree, the node 'vdd_1v35_lp0: sd2' has already > 'regulator-always-on' property. We also tried once by using > oscilloscope to check if the power drops/fluctuates during operation > but noticed that DDR chips were getting stable power. Okay, sounds like that's not relevant here, then. > > Does the upstream kernel and DTB boot reliably, even if it doesn't get > > you to a login prompt? Or does it also behave erratically like the > > downstream kernel and DTB that you have? >=20 > 2 out of 10 times it behaved erratically, i.e. one time it stuck at > 'Starting kernel ...' and the other time it stuck after following > prints: >=20 > Starting kernel ... >=20 > [ 0.000000] Booting Linux on physical CPU 0x0 > [ 0.000000] Linux version 5.0.0-rc8-next-20190304-dirty > (teresol@ubuntu) (gcc version 6.1.1 20160711 (Linaro GCC 6.1-2016.08)) > #2 SMP PREEMPT Tue Mar 5 02:15:14 PST 2019 > [ 0.000000] CPU: ARMv7 Processor [413fc0f3] revision 3 (ARMv7), cr=3D1= 0c5387d > [ 0.000000] CPU: div instructions available: patching division code > [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction = cache > [ 0.000000] OF: fdt: Machine model: NVIDIA Tegra124 Jetson TK1 > [ 0.000000] earlycon: uart0 at MMIO 0x70006300 (options '115200n8') > [ 0.000000] printk: bootconsole [uart0] enabled > [ 0.000000] Memory policy: Data cache writealloc > [ 0.000000] cma: Reserved 64 MiB at 0xac000000 Okay, this could corroborate the aliasing hypothesis. If aliasing is really the problem, it would most likely indicate an issue in the BCT that happened as part of shmooing. I'm not very familiar with the tests run as part of the Shmoo suite, but I would've hoped that it contains tests for aliasing. Thierry --IDYEmSnFhs3mNXr+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlx+XzUACgkQ3SOs138+ s6F9Yg/+Laqi9mWzjCbiOUv5HVE4y7MagNvGCS1l5B4R6CnxAYnNByqO63PehWRR b/sR+852j8uDYWnSmlaqGcz6imb2c+gWDEMMOZzeORWRvtZge5EillrldqaKAiEE /y3myaJIxg1LC2DdZKojHDOOwmWi8tTyMs4J04PNlhPNAiztjtx6Y8YKNqbXH57T 8W+FHXnTvJLI//gQ0GjfvRleLFAct4LgXoOGFv52JsggiMGgUYidgQhUNwnFu/Qa /PtL8ag20rTG75zSXaD3rq+RUUVDVHl0zyXFSg22D/rkROv3dQ7MnVEPl/yPQ8b5 WZgRHU2ZFcbBiTOV4bZVU+ZM/cciLHL8zjgc/lClAnI1fa1nB2eEMU8Km8FfTCiI I9w2ebQ6QpzTXdNf9h2/RboVl/QjgLYn4d4OFGl1sr008fMffX+Gc3SHs5iLuqXR eyE4qrs0LZRKpyglBtKTjUXOBixSZogHh+JpTlDjMmhO44yhW163mWT5tT2qjutb rjW3Eg+T5DVQNjL29SWlz6j2qwzRCn0P1Lz5SUI0f88L4j+yDbse54wGM1X3RiZb Lh4qReAlcWWt78tNmeYY57LcyYTHEij5xrDySlxkqzwxzJg3gbD6fvlPfKLkEU12 +I6j/KV+8OuHRAlzF28w2LZX1U1F1EIUVDYCgKF3Q8d5iPs49Lo= =kTB4 -----END PGP SIGNATURE----- --IDYEmSnFhs3mNXr+-- --===============1995601839715104642== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1995601839715104642==--