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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 DA3ACC4338F for ; Mon, 9 Aug 2021 13:04:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9BF861002 for ; Mon, 9 Aug 2021 13:04:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234698AbhHINEh (ORCPT ); Mon, 9 Aug 2021 09:04:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234285AbhHINEf (ORCPT ); Mon, 9 Aug 2021 09:04:35 -0400 Received: from yawp.biot.com (yawp.biot.com [IPv6:2a01:4f8:10a:8e::fce2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB6BC0613D3 for ; Mon, 9 Aug 2021 06:04:13 -0700 (PDT) Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1mD4wt-007xCQ-RS for devicetree@vger.kernel.org; Mon, 09 Aug 2021 15:04:11 +0200 Received: from [2a02:578:460c:1:ae1f:6bff:fed1:9ca8] by yawp.biot.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1mD4t3-007x83-Go; Mon, 09 Aug 2021 15:00:13 +0200 Subject: Re: [PATCH 4/5] ARM: Add basic support for EcoNet EN7523 SoC To: Geert Uytterhoeven Cc: Arnd Bergmann , DTML , Linux Kernel Mailing List , Linux ARM , Russell King , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Anshuman Khandual , Krzysztof Kozlowski , John Crispin , Ard Biesheuvel , YiFei Zhu , Mike Rapoport , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Nick Desaulniers , Kees Cook , Masahiro Yamada , Nathan Chancellor , Viresh Kumar , Felix Fietkau References: <20210730134552.853350-1-bert@biot.com> <20210730134552.853350-5-bert@biot.com> <1e3070fe-b5da-0acc-f50b-b0986a1045cd@biot.com> From: Bert Vermeulen Message-ID: Date: Mon, 9 Aug 2021 15:00:12 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 8/9/21 2:46 PM, Geert Uytterhoeven wrote: >> I didn't make that patch, but it turns out it's needed to get PSCI working; >> detection hangs without it. That makes no sense to me, but I'll examine further. > > Probably PSCI relies on the memory contents at the start of RAM not > being overwritten? It turns out to hang at the first SMC call, for PSCI_0_2_FN_PSCI_VERSION. I assume the receiver of that call, ATF, got dropped in that region by the vendor's U-Boot. > Does it help if you remove the first 512 KiB from the /memory node > (which should be declared in en7523-evb.dts instead of en7523.dtsi > BTW)? No it doesn't, was just trying to work out why not, in your fdt_check_mem_start(). Anyway that was Arnd's first suggestion, but I think his second suggestion (teach fdt_check_mem_start() about /memreserve/) is the cleaner approach to this. Opinions? -- Bert Vermeulen bert@biot.com