Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2707173pxt; Mon, 9 Aug 2021 07:07:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSAD9yXwI6BCS3H6LHBnKUP4h8qhPtcLdFDRYk3G226dZBGFrBgisg9CmHrWNuGDH3Boop X-Received: by 2002:a5d:928c:: with SMTP id s12mr758490iom.151.1628518042512; Mon, 09 Aug 2021 07:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628518042; cv=none; d=google.com; s=arc-20160816; b=pU1DpOJnPpHUWH0YPUVuwlWlsIVt4Bxh4NVXWx6hz4CuH+tzDaLdlrXqLkZh0ww/jW SLi+PQZqt/8vPeiihPqFDV3R3OtvSE13Cu5nuxSk4zF8y1KTJcqpFm0B1RAbdayFXzrc n+yZl9P0Vca+leRH9PU81vkFeXzt9xSNI7T1onAI8L0hsb/UgzeiJvCqqK2DQAlMTY5H A1Bp6N2zkwTi3RkkUZ7IqCMW/yAPmoOJHa8iptWW9B5M9NoRdzyGTZCbzGyfKCwFDcEy dtf5u8gE9K57isYi0N02xct/eWXQ+SI4FXGKUUAG0D4J87Co9SqnlWhFaOLVreVgPio6 00vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:from:references:cc:to :subject; bh=7nbfokKzmKu6KaROsPCCIjfrmkZhFJXwzhxl35wnDDg=; b=JUrHIwtAkMz1NmfpuXmYjrD3RqFFHDyP0b/e5FYvUUw/L/r2v8I5M0sxR3Ax20m4mT JhHyjXIACCzOAsAYcmTK/lXt+vXwj4Rkp11BXL4AB7lxwZ+XHn9zx/JkWrIZks7lNlI3 f1TnAhDzBjFF3/gBdWYe7tYdPuCqjbyxCTI3wqoeg2ZVNQdl/MqLcTS4Sz4YSb3Sr4K0 OUysMLF8qDSQr4HXVWdVXUUo1hxQDs8xZk8OSJduX0dBPVLVgudeUs40WFyDWbWzuRT1 RAxeoMziOMS8Oupcs4C676eEGPMixrMeAX6zH6AbZzStDg7tmFCSh0XJROGs3gGjAZ42 vXcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u11si14394795ill.40.2021.08.09.07.07.10; Mon, 09 Aug 2021 07:07:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234553AbhHINEc (ORCPT + 99 others); Mon, 9 Aug 2021 09:04:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234285AbhHINEb (ORCPT ); Mon, 9 Aug 2021 09:04:31 -0400 Received: from yawp.biot.com (yawp.biot.com [IPv6:2a01:4f8:10a:8e::fce2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FDA9C0613D3 for ; Mon, 9 Aug 2021 06:04:11 -0700 (PDT) Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1mD4wp-007xCE-IY for linux-kernel@vger.kernel.org; Mon, 09 Aug 2021 15:04:08 +0200 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on yawp X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.4 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: linux-kernel@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