Received: by 10.192.165.156 with SMTP id m28csp908941imm; Wed, 18 Apr 2018 00:01:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx48peXQiP7iBi/8WzSzSmXFxrdsSPbiEXHf0krxuiWYm/d774l3/utP7jCpN04EJObTrUGm6 X-Received: by 10.99.119.78 with SMTP id s75mr821322pgc.162.1524034879963; Wed, 18 Apr 2018 00:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524034879; cv=none; d=google.com; s=arc-20160816; b=FoAA/ub7lx8uKiF8GH1FKFppIF8qp4PnqzsNjz14mYDrP83eqTtZlFsjSv501xWHPz DaFFg0w86dy/Wps3snX3oBuxcCkaXuVMOnKwiF5ey6XdLBjjDZ552cLNIjdwzTeMsGkN GmvsN0vwayeLHxYSSw13LBPO/FHU3Bliy5zEr0mAD4R1NAZ4DV7Z4VPJhfQFpWbUKWKo T9Wvm8o4NZKw5GtL3nLZmeTnK2S9dAQP6SL2wRPloUQ8N3yo6FeWz86MzV5dWI8oIEpr cX7yPO168jOSKDw9Zt9FKIpPZlQZEfVG8vPlF3UZRurbdawxSid5ItfC7prpY1vDhQHJ nlwA== 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=/PWWHOBUq+xylKS6+/q+h/sLc/fOXNqVbTN/kJcSVOw=; b=IdqHGFSElYsZzdT5uNq6UL9NsMYZ2Cx8pVaPHnJIx1OX33u82UuAbNeeuvDtaG5gHd 1kUl7TL7nudHvxGE3B6S+aLIFlbInhQrLI1fQssZhztXpiYXZUCOPzdIMyKUFBUQDWWd MLK0cQkP3Kjwl9DGQLRnNUJYn7JiAsxfj3M4V2TiVrWBHiv1bLx7uXzI42SJCRCMAKv0 Nk3L8DUH6C6jDGweJQYLwUIJ0EFSc153Ygj5inB5TBm45JK+4K2NU/2e60XcIaoVZb9o roYWqEyeWECxfcJlVph17H9lEb04IdT2ouqiHpL4FLfwmhE6Ahmq4OH6KkBCT+QwEgLH rLVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@openmesh-com.20150623.gappssmtp.com header.s=20150623 header.b=pLVnnexB; 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 w22-v6si656837pll.122.2018.04.18.00.01.06; Wed, 18 Apr 2018 00:01:19 -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=pLVnnexB; 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 S1752899AbeDRG7v (ORCPT + 99 others); Wed, 18 Apr 2018 02:59:51 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:35752 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752786AbeDRG7s (ORCPT ); Wed, 18 Apr 2018 02:59:48 -0400 Received: by mail-wr0-f194.google.com with SMTP id w3-v6so1667531wrg.2 for ; Tue, 17 Apr 2018 23:59:47 -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=/PWWHOBUq+xylKS6+/q+h/sLc/fOXNqVbTN/kJcSVOw=; b=pLVnnexBI7peHlyDAua+KfbcukvIS82I+8CpoCrYoqJr8FJw1rdowGNYD9SYuA3EPj QmrytIeCy+iCc690xBEdiZudZZ/t/b+kdoqkYgRp9PyMvdr/+2zT0yc9/LsYtOoVSzBV UI/dOaCnmjaWNSQKkLhBTkNM7xN6bZjr2BJIqqfMUbGh1W4WN1fHS2WO7xlODgWTPaIY 3FpVgHhTc6Y9NHusAptLBxgO93AVhozXGWXj4I2jiURKBzEIwwv8bT2yHTr3vTVI7UeM bSQNd9g2BnnBHyclsg5AmV0xmyRDFdhgy0ni1RXYZIjLrQD1sAHqSL2n9vWIpMTLk9M6 scZg== 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=/PWWHOBUq+xylKS6+/q+h/sLc/fOXNqVbTN/kJcSVOw=; b=kLdxSJjHj6oBYiGkfuRjhHaAuLBJHCeQ5ksKkw/2tXx04Sjv/j995ALz+SLXr1Ho/m nuFVY55MYsFThQUGN313n8bLu7GC4CtT0KK2fqofiu64K1/R8zFhnyftnzyO8Salg4Fv DVQopIKyFus1Ga3WjkQq7ulELjNXSE8Tv+M7IHjS0v/E85erEfZuNrxDqzJ9KpniBqzD +CvcP14bFNUmF//a9I9nyF5c+pkfu8jbBX5ydZmTVeBxfvs6EFuuUvJ2AWWQV2vSda37 ++0xUEYgb2Y7nTZoDdS+GYocN3VtmHPhA1zbODuw+2s2wJRkCeb7j+UGkZW/fQsAZqeq YyWQ== X-Gm-Message-State: ALQs6tC7meoAlycvHpzgjGXoyG7yHgvznvCb1KbW7Q3fvKWmDrKnUxOX 8OeEl0DtwQ/qi/mcJ646weHX0A== X-Received: by 2002:adf:abb4:: with SMTP id s49-v6mr660368wrc.110.1524034787153; Tue, 17 Apr 2018 23:59:47 -0700 (PDT) Received: from bentobox.localnet (p549BD81D.dip0.t-ipconnect.de. [84.155.216.29]) by smtp.gmail.com with ESMTPSA id v66sm924115wmd.4.2018.04.17.23.59.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 23:59:46 -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,08/13] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data Date: Wed, 18 Apr 2018 08:59:40 +0200 Message-ID: <1724020.V9x0kZZp2B@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-9-git-send-email-sricharan@codeaurora.org> References: <1521800336-19266-9-git-send-email-sricharan@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3149418.CWxpNlAdMz"; 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 --nextPart3149418.CWxpNlAdMz Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On Freitag, 23. M=E4rz 2018 15:48:51 CEST Sricharan R wrote: > Add the common data for all dk07 based boards. >=20 > Reviewed-by: Abhishek Sahu > Signed-off-by: Sricharan R > --- > arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 69 +++++++++++++++++++++= ++++++ > 1 file changed, 69 insertions(+) > create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.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 --nextPart3149418.CWxpNlAdMz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAlrW7NwACgkQXYcKB8Em e0YjBRAApz1LT5s+FDpjPcHxGXVgTFUBV4sVKerHkJ3tJlIMxchv+ejAaEG3xaSZ bik2ISjlRDL+6RCR3AC3JT0BBLj1oIIQH9ARxQECGu5YPk0lEDpUpasHfVvA5WXd CjsA/aNGeaXGcPNRXiVhBsteJKa9zwqMfSzyi/H67r6WML4c+1DbxCYus+ksqnXF C7D7tukGmsGEA+MCigJ7m6eRqW5TbL9SzWiO8dUXYU1M+Nx3TIzbY9Y0cRE2w4aT /0tNuVMpFwpH0y0DFzKDwton4z3hvVMlJ/ts7XYneUgfEAXFWi9mjxsBi7mvb3xc AlzVmGjaxVFU1wONiDs9/IjDFZyHC7VJoUqH/NMRPoHWHZ5FYgRP8c77jffa9/xV ivtl4RYefDgwrC9LkgptvXF5AUSnDuQThGR6C2VajetZvygi9VSI598LXW1eYr4c 188Gw/bQsW2SRN+n0U7dDswLOlO4L1MZENphOCxcX8p1E/OgKS5ONFr8lTMOB7Cy MGBN2nZ2uNuhbzOhPAxq/2yt2T6CWpCu/TZLXOOU2gQqIAuKJjJf/YpEz9ggazf6 5w2y+vrbAHtEGMOYsrMOO7uPClCJEXD7e66vJzzWMpun6MTLiHV3YWcnZueIF5Rv 2lKqnlg4udUf9Ep0XJPkxFFNCkmUNBINUfdZLNJEvBfPmQnbCHw= =2ax+ -----END PGP SIGNATURE----- --nextPart3149418.CWxpNlAdMz--