Received: by 10.192.165.156 with SMTP id m28csp909218imm; Wed, 18 Apr 2018 00:01:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+/A2kFXIvLEBMnVcwh91uqXiQmq9L3xZf8GCFP/cL+Nwf9XvL2lLE6ML4Gn79MPmIxj3pL X-Received: by 2002:a17:902:d20b:: with SMTP id t11-v6mr939957ply.381.1524034897834; Wed, 18 Apr 2018 00:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524034897; cv=none; d=google.com; s=arc-20160816; b=imvhYgjDLXZnyDyIvUVPcBAkWMWbxuUkHuge/4a6JI8HPxcuR6ZOlLOcJzNgJCGFlm ZwPMKVbE00m2x74FyxVAvmCFi7vHdWORS58JWMw4/VKMk+dYW+fc4/qQ2zX2I2R2+DpG nQw1/U1Nqk4kqmlAasbVTJrdisBhYlOnlsNGlYYGRL59PqmmZ3yRa9ymROT10LzMS2zG MkqBhdHhKZJOPJjMHMGBnQmAByfyZggAHvclF2jOZ5NZsp01ibuPzZzIvMfvRqKktBqP htjuIRQwl+KXErFgN9KXPjY9p0uKxyp6YpIH4SO6eUbIuECAy91YFFSWeYtV9BfgjK3e GHHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :user-agent:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=B8wG1CV3Kx01FzE3JXDUowuPBQOnqPpoGUmcE+qNKl8=; b=elQNyQT5jJX6Xda1BsqCsxKWPc8XDKig/h3j+xCn/qW9oo4qqGIDc4o5jTwxBsWRWk d9REcFRR1qJUTRAt33zhVuI6TNY0q0T7lCqvQitwhP4mhsV3Mvahyn/vbM2aeecxzWTV 8Y0CKFDh48Q9xJqpu4ZNPseuW+DGAMPGjOjqz77LV+CB/pkVICYnzG12I0xm65Pxrerx SFGPVLA7oSAQUc0SGDsUroo9sZDSul5Ufn4Kq1uU88pbawcFCBRbcUiOwZtyTPVWMaZu miArGRUABq/vrVlXPERmmgRiVf8j0u5JhGNRtp2HvAjYhS5h8mnTFKTZpLxtSoKQ7AOU gH7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@openmesh-com.20150623.gappssmtp.com header.s=20150623 header.b=vlFQuYF6; 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 c16si545065pgv.574.2018.04.18.00.01.24; Wed, 18 Apr 2018 00:01:37 -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=@openmesh-com.20150623.gappssmtp.com header.s=20150623 header.b=vlFQuYF6; 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 S1752992AbeDRHAD (ORCPT + 99 others); Wed, 18 Apr 2018 03:00:03 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36533 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752811AbeDRG7u (ORCPT ); Wed, 18 Apr 2018 02:59:50 -0400 Received: by mail-wr0-f194.google.com with SMTP id q13-v6so1673707wre.3 for ; Tue, 17 Apr 2018 23:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openmesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version; bh=B8wG1CV3Kx01FzE3JXDUowuPBQOnqPpoGUmcE+qNKl8=; b=vlFQuYF6PmoQ9wycsoSzien/MGvQF6xRI/agEc/oktFqxLXe1qkn3LV8bFVNla9Jj6 RXs5jyym63xEbbCDwCgVSq0JT3oLH4+dVGXkc2N0E+UpEme/rcMyj9AkwHWzLIeFlock K7im262zRS3B4bTop0B9a8j0hICDtMT7UGASZTHipRPKIa+I5kMEtTAxLmVwxFOvNsol 64SH+ewUUGcKUhSNQcOlr912fK0LMtPj1+l6GcTgViXM+rSyMJooecPjlBKZ+Xg50kNe 0WDuI4bsOYXq8NaupBYXKYrf3kTtwpigMvauIzjE6QKn2bfx26OUKO5QiZIJfYNJbqkQ jnKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version; bh=B8wG1CV3Kx01FzE3JXDUowuPBQOnqPpoGUmcE+qNKl8=; b=FH2Vg4jZqp2n4sRWGjKtgjAECNYqrAD6gS471RB3Hx2go354l6O24h2RCnXk8BD2VD rEzw/hPMQBj4TQ7y2qaeQS+U7KoqAlfPCfmtp1lnZsajikz6/+yVuSwXbVfVkhEqj1Yl 8MzIbUoP+FSb8iwnajPA2L/rTpY4E4LqnW4RHFza5Tb5EZKS0mvojNp01QGKY8GQIGkR do7imPgzqUhxvg7bJ08AR0xmJFbcimcP+kPTSRwh1RCdIJrdMl6tntRQSxF7pm3AjCIy Yh34iRvgM1+yk9FQSzpR4dpktT1I9j0jNJIr5+i1mi0e+gn+xsMIhokJJj+lTjBX/WmF 2xbg== X-Gm-Message-State: ALQs6tDNQLQyzkJUNOYZ0Mm4NozhT1QQSSdVDJC8EYqdG2/syEpHKbsj 8a4tDUpClqROUlIPmnGwGKYPiA== X-Received: by 10.28.135.9 with SMTP id j9mr848583wmd.68.1524034788873; Tue, 17 Apr 2018 23:59:48 -0700 (PDT) Received: from bentobox.localnet (p549BD81D.dip0.t-ipconnect.de. [84.155.216.29]) by smtp.gmail.com with ESMTPSA id m62sm1877636wmc.41.2018.04.17.23.59.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 23:59:48 -0700 (PDT) From: Sven Eckelmann To: Sricharan R Cc: robh+dt@kernel.org, robh@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, sboyd@codeaurora.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, absahu@codeaurora.org, marc.zyngier@arm.com, richardcochran@gmail.com Subject: Re: [v5,05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi Date: Wed, 18 Apr 2018 08:59:46 +0200 Message-ID: <2641190.FRMBLJWkCS@bentobox> User-Agent: KMail/5.2.3 (Linux/4.14.0-0.bpo.3-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <1521800336-19266-6-git-send-email-sricharan@codeaurora.org> References: <1521800336-19266-6-git-send-email-sricharan@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3043434.9TQ9TfbtKO"; micalg="pgp-sha512"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart3043434.9TQ9TfbtKO Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On Freitag, 23. M=E4rz 2018 15:48:48 CEST Sricharan R wrote: > Add the common parts for the dk04 boards. >=20 > Reviewed-by: Abhishek Sahu > Signed-off-by: Sricharan R > --- > arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 115 ++++++++++++++++++++= ++++++ > arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- > 2 files changed, 116 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi The no-map reserved-memory for tz and smem are missing. Linux doesn't have= =20 control over these regions and they are placed in the middle of the ram bef= ore=20 Linux even starts. And u-boot is also not adding these ranges automatically. reserved-memory { #address-cells =3D <0x1>; #size-cells =3D <0x1>; ranges; =20 smem@87e00000 { reg =3D <0x87e00000 0x080000>; no-map; }; =20 tz@87e80000 { reg =3D <0x87e80000 0x180000>; no-map; }; }; This can either (depending on HW/SW configuration) lead to a failed boot [1= ]=20 or to runtime crashes like: root@OpenWrt:/# /tmp/memory-allocator-test main 0 [ 571.758058] Unhandled fault: imprecise external abort (0xc06) at 0x0= 1715ff8 [ 571.758099] pgd =3D cebec000 [ 571.763826] [01715ff8] *pgd=3D8e7fa835, *pte=3D87e7f75f, *ppte=3D87e= 7fc7f Bus error I would not know how to disable QSEE on these boards and thus would assume= =20 that it should be part of this dtsi. Kind regards, Sven [1] https://www.spinics.net/lists/linux-arm-msm/msg21536.html --nextPart3043434.9TQ9TfbtKO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAlrW7OIACgkQXYcKB8Em e0aC/A//SFl29P4JrehoVB558QcgRW5yqR1YFSEsPH3w2UxV4Dptj2OSI/jbqNC+ p13mYZhBXEq0tyPQV7jR3VW6Lj8Z68LOIDxTXMp+Qc9kuSNWpWFT7uW6Mw8no0kp NIxvMr+oY2wlhZD1Sxaba6n2O9rVF6w58nQIloi96bRSlrS3Ig2Qz4XRU5cGYZsk xhLjSLogSJMvgqsvB7OaxML8ao41CLxxnYssadU6THltzH6GMjJyja9bQSVJVINk zqjjf1nWevwPiFz75/BKXvzb7sUIjRoEKMJ8hlf9bvkKo0ccSQCcxSrIIqtSZp0O rWcJtVYrjK/WURy3i/yV6hMH6cHiW0lJgI87uHM7CLfJuiteui1ks7RcPAbZIWeO yTcjARIYvBbWFiZXSpgYvXzHrlSbH5JGIbnN9ZDPG2tqsxDqEbNBoPlE+yXqluva mCOxD4SuQ/tECsCHe4hSzoWW5XOoyVsXBBliZSHbgxpDvcJLx/Nb5wdmE7FKp2WB SQvxdLPGHnngOLk2sKekISazh1FP9RBO8KgOIbcoyt7BreOGw1CVOEsW8PP47c9d WcGZktS/JVxIbrSIAdHSrFSeDxW80V4RfrFABz27wPt4zZzOo0EPfJBcKS5loVIJ Gq1MYhhhlqTXmi4N7swpDl3+fNG5TgCw9jkPjxRwbv1+RV3zGAM= =kUPf -----END PGP SIGNATURE----- --nextPart3043434.9TQ9TfbtKO--