Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2648278pxt; Mon, 9 Aug 2021 05:49:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjMfaNruQcd6qocYXZVu+T6+nXycJpL6peTCF8FAearAxxytVt0542DyJUODmD5O+O0eW3 X-Received: by 2002:a17:907:990d:: with SMTP id ka13mr22630041ejc.392.1628513389148; Mon, 09 Aug 2021 05:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628513389; cv=none; d=google.com; s=arc-20160816; b=nYzr7R/F1pnBvwjKto4RqR1tlnS+whcAqlk/Y/PgRNfm2033YqV2SRgGvex8Lx/LvH F9EEt96xKMiKoprp9MHURnf/hGC8Axs2FQVUdVAIgIJMWj3+Rm0c2WTgBWmQEmjr6FT8 F/zvBDJMPLrDgu61rdD6QjY105ewScAOIjUAXdghxfmRUkJHhn1v1GaB6fDKLMJ5N/4F 7PXWOZ/npSP4/Aw3sfjiuLXxSqfbmkH1L6eW0J4ku+B0cxG1f59kgoRDbCy1e0av76Kg XkX9yAvgNQYO31JiHAJDhx2ISyIOAhB/WFQ14fUxXPwFkNDqPqqTwFpxIVSM6/WUMPms qEMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=a+wHcKoZEavteV2xb7DM8Ck7atCZBnc8fVS0VNjsMas=; b=H+de8d0+T0jnpZSnDuYAdmQstN41VLObei720LZyfHB9CEwKl5whsS14UvW/A9CBI+ KQXmYA6dvxvlIuqVqF9yHB1T+5qXRp4XHmD/dgHasTnvvyoNsQc+JgxHNdh8YlLM0x6o tAJ+/F0Fg41x+IgD7ZUVfiSjWBU+2OznReUI+D/GTT5wP6qWQxIWE8qcCMPgLh87/0RJ O1PNpCg8ymoJsdURVFFf0rGv1mMvQmecI1uOwVMzizYGuHHvS6fIqdykwmESu2bn1LgI dtBINcS/GHmBjG6pBqlmVypO51/msjOfPZwxRs2/cZm+Jtm6b9wGfioWD3u6lf7d4+1p +loA== 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 bo18si16691362ejb.651.2021.08.09.05.49.26; Mon, 09 Aug 2021 05:49:49 -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 S233093AbhHIMqf (ORCPT + 99 others); Mon, 9 Aug 2021 08:46:35 -0400 Received: from mail-ua1-f48.google.com ([209.85.222.48]:33343 "EHLO mail-ua1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231478AbhHIMqe (ORCPT ); Mon, 9 Aug 2021 08:46:34 -0400 Received: by mail-ua1-f48.google.com with SMTP id x21so2959416uau.0; Mon, 09 Aug 2021 05:46:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=a+wHcKoZEavteV2xb7DM8Ck7atCZBnc8fVS0VNjsMas=; b=Eb9KO5LuTC6OgVaUnjckBCIoq9Nzu8JZrIMyZjkvnZPP7LIX485MJ6Aph5YY9anfye H3coE/9FCVkVJg7yW0s7F9AnYZ3dDXeqwuW/1iB5WPoMDE0fxNs03w0tVeI2p9W0Ynz0 2IRh0JPIgNwnGiNYzk432jAJTkveuZZ25Gue7jhCt1Lq4QZ1c8NjtthXegkgJ0xsROo4 yOfdO47AcbK63n/9XyFbXPz9nZnCho0YVvPOlJEXNZKNhHRCveO3B/SqqFUecBEWZKo5 JVckJITV5qJs2qaxg83taiqdERKe94TMOuyjrzrUYaiRR/2g0j2+ypOXu3cShIDvw214 FbVA== X-Gm-Message-State: AOAM532/Lae7TN5ATwB4xScPHOXvaA/d+DsZoFiDRZO4hoXMZAP3Cz0F 4lHZJxsgrb7S3B9u+Mr1kj9tv6QpbHBdsDZVhfo= X-Received: by 2002:ab0:60c9:: with SMTP id g9mr15622021uam.100.1628513173766; Mon, 09 Aug 2021 05:46:13 -0700 (PDT) MIME-Version: 1.0 References: <20210730134552.853350-1-bert@biot.com> <20210730134552.853350-5-bert@biot.com> <1e3070fe-b5da-0acc-f50b-b0986a1045cd@biot.com> In-Reply-To: <1e3070fe-b5da-0acc-f50b-b0986a1045cd@biot.com> From: Geert Uytterhoeven Date: Mon, 9 Aug 2021 14:46:02 +0200 Message-ID: Subject: Re: [PATCH 4/5] ARM: Add basic support for EcoNet EN7523 SoC To: Bert Vermeulen 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=2DK=C3=B6nig?= , Nick Desaulniers , Kees Cook , Masahiro Yamada , Nathan Chancellor , Viresh Kumar , Felix Fietkau Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hoi Bert, On Wed, Aug 4, 2021 at 6:43 PM Bert Vermeulen wrote: > On 7/30/21 4:48 PM, Arnd Bergmann wrote: > > On Fri, Jul 30, 2021 at 3:45 PM Bert Vermeulen wrote: > >> diff --git a/arch/arm/Makefile b/arch/arm/Makefile > >> index 173da685a52e..1bff0aa29c07 100644 > >> --- a/arch/arm/Makefile > >> +++ b/arch/arm/Makefile > >> @@ -152,6 +152,7 @@ textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000 > >> textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 > >> textofs-$(CONFIG_ARCH_MESON) := 0x00208000 > >> textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 > >> +textofs-$(CONFIG_ARCH_ECONET) := 0x00088000 > > > > Why is this needed? > > > > Note also the comment directly above it exlaining > > # Text offset. This list is sorted numerically by address in order to > > # provide a means to avoid/resolve conflicts in multi-arch kernels. > > 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? 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)? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds