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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 59D33C432BE for ; Mon, 9 Aug 2021 12:46:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 361AC60720 for ; Mon, 9 Aug 2021 12:46:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233267AbhHIMqf (ORCPT ); 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-Google-Smtp-Source: ABdhPJw+AsNB9Y3ZhPiEE9DCk+0/AVv0O+PLJ/pHslFfgEwq0/RayiPR2IrJRL1q9LUX44InJN+PvSAjudjNcVxLA+o= 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 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=-9.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 C37F2C4338F for ; Mon, 9 Aug 2021 12:49:08 +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 2180060FE3 for ; Mon, 9 Aug 2021 12:49:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2180060FE3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org 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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UaK6OXjNGg+tWi2S3rap35DMXbNMvBidhFn1Gv3BLb8=; b=s/UMzoIyF/iDK2 d+vMHcxKVkNtnEvCzCU2HwtQmxK+gJN8MJ5JyCUfAYQQ8V+SRyFAaw4WyjPfhaShVRm74AbSiNJ1L npKmu+bnc87SIuL6s5BvDYnHsPV4dn3I2d6iSj62Oj5IGgUDh2Gou1pD9wgzzOaKq75D67kVEdTgP nnqss3DkJm0dEz6NMRuIUclUf2xDjKDGkEj9ULNn4IR4L5YFaZ9fMFcVeWUXH/VEg/PmkVuzhqGVD +W0yMOL/C7NbDpdNcPvs0RyHneEpLBRQi/K9Si5QEexrd/sbAQauo+KX9MQFwtr/tBQ3rxuNq7wM+ Zhxlxk1iZ+sGKSYY/DPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD4fk-000c8r-5G; Mon, 09 Aug 2021 12:46:28 +0000 Received: from mail-ua1-f50.google.com ([209.85.222.50]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD4fW-000c7E-Qq for linux-arm-kernel@lists.infradead.org; Mon, 09 Aug 2021 12:46:16 +0000 Received: by mail-ua1-f50.google.com with SMTP id c25so2828789uaq.5 for ; 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=kw7zJjllgV7Im4h4pPT9vPFDb7l1AQR4weFblyv9bfgpGbZ3H4srYv2183G0XFNNVP X1ZybTi3glvpTKyecIG4LctvuCoxgXFr37prEaAUEDViE4RVbiW10HVxcNhiTKOsz8uf p7kE3cvgkR4G0Cwv6slvwpTGaGS1imokyY4gd6scgmpIdF2Wtqctbnb9SvGMrT1c33nn SScGmiylD4f5uFYkRVmVt2Ag3mdUBCCiYOl25ppdqgDyCTayYPKOF6MtC0p2MONmtKG2 Zre2egknatV9ZMakcHUvwMnqP5bAnnP5mlXvKmlgGduGjZeXq0NdbsCiC8u73R059F92 A47w== X-Gm-Message-State: AOAM531jWPsji8iRb2YspkjU+aBP3lliMBEWf6OIclHVdkUpu6AY2TYJ 8TCksA/8OxK0IwTltXFzGih6jG0KQfh8EjtLxVRR2XdtcJ6fNQ== X-Google-Smtp-Source: ABdhPJw+AsNB9Y3ZhPiEE9DCk+0/AVv0O+PLJ/pHslFfgEwq0/RayiPR2IrJRL1q9LUX44InJN+PvSAjudjNcVxLA+o= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210809_054614_934996_97A454FD X-CRM114-Status: GOOD ( 28.97 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel