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=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 CFCF9C4338F for ; Mon, 9 Aug 2021 13:05:54 +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 5146F60E78 for ; Mon, 9 Aug 2021 13:05:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5146F60E78 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=biot.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IInb4Wsqsvv7eSl0Uj6rtdnhvISjsz+SPvoCyLd1sL0=; b=Tag+IvemRtjZL0Ol1gqtKeuqjq 0urxdbXT4PL7FjBRYIqKZUdxN6hxmzqhENpTKeMCfVtB+KOh1CmiqfUUzE82VpgPbRTc90tBUNUh+ AotV4sT2n0jEDFIn++fYRDOawY9VhbsCqT+orRaSZXPBqX35AX4ZNXU+0lcUUiUZUbaDhXZhl21jv ZUIzDEENQLWQukfX5Ad/BU1F9j/tws8Vv+/cvt2FlQS4gFmgQQCvoLj3lUk7nGCGbacMONH+kdRtr gLSpFqKnQYdH/Ob7ECk7oI5seBcpRG3Z4ykR7ivyJZLvtR0ZPx1ZPBTR3rVneM8H9mpxplWGfC2SP ZE3pFGGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD4wq-000fr1-Td; Mon, 09 Aug 2021 13:04:09 +0000 Received: from yawp.biot.com ([2a01:4f8:10a:8e::fce2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD4wo-000fpm-0u for linux-arm-kernel@lists.infradead.org; Mon, 09 Aug 2021 13:04:07 +0000 Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1mD4wi-007xC0-NU for linux-arm-kernel@lists.infradead.org; Mon, 09 Aug 2021 15:04:01 +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-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210809_060406_139232_0CD50346 X-CRM114-Status: GOOD ( 15.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel