Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2650076pxt; Mon, 9 Aug 2021 05:52:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdZzsupxLOiL3jcLpiR0cUI/v0TbGWfegp+rId8f6351d7UG/jE/m+m79T0zPZuUy53z2b X-Received: by 2002:a05:6402:10d9:: with SMTP id p25mr28994933edu.51.1628513578667; Mon, 09 Aug 2021 05:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628513578; cv=none; d=google.com; s=arc-20160816; b=T2mHFlGMFn+wzOkmexydG8Xsp2tUXn+TcmgDW/R/S2peHYAXykabXFxegF9eMgdfeR 4diNuUhTG4yDP4xsNRk+MJ+hB0k1OgXzooBX2Htjxtx9FWqy1UMiRasp4JQWPg1Ht+1u LQRa5tf6tOjsQRzQVGShC/9BzZpYJSY2Odq1HvZWhr2olTaRYf8ljs2e1VwV2MJ7g2Z3 MdYdNMG4udYnr1sz2/RibiWa3n0Hbqe1fH2klnRghAJ6F13sTKTwPBzxYKqLvGR5GT84 /tzuB8UvlvE9JX/ALrRr/tFMQ32WAi7A+Zx2ULWOOAgbfT9IWlnQNr7SfU9y+4rbjbuR XXVQ== 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:dkim-signature; bh=3y+SmF2qudnlN6QslcNABfAjIKqndflVFtR7gmlUt1M=; b=yeKp5mZbgMA2Puf5AxH7VGtTD9WEwcollw+jAmtf0GZIl4GJoXTNotLoQZWkDUuUxF nhoZpKWcMZNlc8zQdgC2iwEWsRxdW0IJaKAcAv5+PVVfVNG3MWAuzA7z/m0RLy01HnDV zhFrt6YcZdU0A62IUsX6PzHaVyb6x/OaTHNylrcXehJQ0cqs9uVA0CQDYUn+lypjyoHh ZvWA0ujLANKprvVIQd6duxlFYSaP6+eWNhSG+pJgDZ1eN34cKWcotmM8Iv+qhiDUbKnV Nlju7qQ/P0kUo8Zc8nfkGwK+iEXs0FpOWA6lIsWv8LTVhT4fj3IYbwiTsXq4s7EMcg8f flsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XjV5BsQ7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq21si7403053ejc.226.2021.08.09.05.52.33; Mon, 09 Aug 2021 05:52:58 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XjV5BsQ7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233656AbhHIMuC (ORCPT + 99 others); Mon, 9 Aug 2021 08:50:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:36142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbhHIMuA (ORCPT ); Mon, 9 Aug 2021 08:50:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 29B396103B; Mon, 9 Aug 2021 12:49:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628513380; bh=HiL45mc8BBJf4XGJxHdRi692t4yfB8rW7Eu6+7IFQIY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XjV5BsQ79iGc6KjcbzdbTkF4g5CznHUMf1isFQkc5qmnLcMe0/f2WtEtHJoBPmofO fXZ5COLMo/c2l9veslFtXsRmNiCYZSG5dCj7qeZCKQ5KFXnwM1tKAUcsLPvyV1gz47 jxDAJ1PDbw3TRdVQ9Y1uvBYgFio8vqFPtA1+LL/W4rAaQO22dKKw6rOMR7WOJ8R7Ff nsx9lkymQ842eJKIAx7szc0tyu1bBfJWSRGjNmRmQTHjpg+UUAr9A4IEaEncllU357 y/0L08sHgB+qYFv8g5/Fk2/pnwaxxuUPNDdjg5mOYlCebNxhVpiY8gkIDBpUfXmo/7 Ewc4f/LK82HmQ== Received: by mail-ot1-f52.google.com with SMTP id v24-20020a0568300918b02904f3d10c9742so14435162ott.4; Mon, 09 Aug 2021 05:49:40 -0700 (PDT) X-Gm-Message-State: AOAM533cRBIwZ1n0Ck88F2augbgu+AXw9J7aPsbpSSYCcHQGwAOXoPxV Ki5nwCWQ9QLi5WaX92JrB8Cplq2edU4roPga+Tw= X-Received: by 2002:a9d:5cb:: with SMTP id 69mr16831515otd.90.1628513379474; Mon, 09 Aug 2021 05:49:39 -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: From: Ard Biesheuvel Date: Mon, 9 Aug 2021 14:49:28 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/5] ARM: Add basic support for EcoNet EN7523 SoC To: Geert Uytterhoeven Cc: Bert Vermeulen , Arnd Bergmann , DTML , Linux Kernel Mailing List , Linux ARM , Russell King , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Anshuman Khandual , Krzysztof Kozlowski , John Crispin , 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 On Mon, 9 Aug 2021 at 14:46, Geert Uytterhoeven wrote: > > 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 I /think/ we rely on the first memblock being mappable using section mappings, so it might be better to remove the first 1 MB (or 2 MB in case the platform is LPAE capable). Note that this memory is discarded in any case, so this change is not as costly as it may seem. > (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