Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3662727pxb; Tue, 7 Sep 2021 05:02:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1BDh/eNvVo+BrSAk9tVp8PtE9fnC+9E3YiNU3jJrULz7W45oh9B8C1cIvaaFL8gwuzk0p X-Received: by 2002:a05:6512:3458:: with SMTP id j24mr12687001lfr.366.1631016139516; Tue, 07 Sep 2021 05:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631016139; cv=none; d=google.com; s=arc-20160816; b=rrrjn2B7mNJsO812RcXf051Ir1FA2zgzcr2gj+sXsISNGGor+RVYhNLhwiGspcSp37 6vHsR9WjLkCp4k0yqy6WPOA8XP7rjr7skCJq4c1yvu3Qn5pZdAIImp5yP/UZp70p6C7h rq7l29g2LhoTblP+d3yaNWKQAbMr3nKf/rOFsY5A/neghc5tsRwNKWXC71Pb7webdKXj 2WSsHhMrwrOe7KNGXEdNx6sRCg7XQieKZ7aRomE3TKi1CqL+4xYlJIPqlWintk9UVz4r 5+ZJxFmL9FVTtGvDB1AiLJvqY6avn5mzTXgchMK2ElpL0U/yZ0AwCuCJSqiCfI7vGaXl 5PRQ== 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=9zscEAk5wJVUQHFuEGWyPIyri0CV0/2NKupWmoFtkhA=; b=ydFsqaJh2Ki7Z8e592/pt4wZ6a+X7ehTSbQQYaYpngTW5kfby4M8dCHhP6kJMd9vsk YSE4tkzMDnz5OehRcv1tjggLtY7ka7S1MjNyTF0tdNlmT1+Zcqy9hO/NSlznxWWi4GgJ 8VpFUSmlKOv5EobqD/mxN9HYAy4bry7vgSMmioVq5TxuBAk8d461V8mCop5fthG8kfvF ZvQvXLGbSMbhSeP12jySB2AUsh3WDukpfJ/P49GadSp+tPaJGuzdpYk2HG6lPmJsrDTh CkVBOGNkAhNmM0Yg4+Rtwu3W87HpCer9cXCY4RNxlZ0I5lu0eCf58Dq3PIKKXSjjApjS I+TQ== 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 w9si11659388edx.466.2021.09.07.05.01.55; Tue, 07 Sep 2021 05:02:19 -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 S245128AbhIGLxY (ORCPT + 99 others); Tue, 7 Sep 2021 07:53:24 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:39229 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244986AbhIGLxX (ORCPT ); Tue, 7 Sep 2021 07:53:23 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M2NqA-1mO8PJ1t9C-003rmF; Tue, 07 Sep 2021 13:52:15 +0200 Received: by mail-wr1-f46.google.com with SMTP id g16so1983281wrb.3; Tue, 07 Sep 2021 04:52:15 -0700 (PDT) X-Gm-Message-State: AOAM532LUkYv7lBmQjzNQW+8zj+T5ExLo8DD0H7EM7GyWuDeCftxkuls 5hT8crcV09cgqMgaY1LPmO0ZUhfgk1PID0u8aio= X-Received: by 2002:a5d:4ed0:: with SMTP id s16mr18160699wrv.71.1631015535089; Tue, 07 Sep 2021 04:52:15 -0700 (PDT) MIME-Version: 1.0 References: <20210907102722.47543-1-bert@biot.com> <20210907102722.47543-5-bert@biot.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 7 Sep 2021 13:51:59 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 4/5] ARM: Add basic support for Airoha EN7523 SoC To: Daniel Palmer Cc: Bert Vermeulen , Russell King , Arnd Bergmann , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Anshuman Khandual , Marc Zyngier , Mark Rutland , John Crispin , Ard Biesheuvel , YiFei Zhu , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Mike Rapoport , linux-arm-kernel , Linux Kernel Mailing List , DTML Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:e/9cqD10FOuA8njfmLytMKlOmgTRaXvcL7pZn7FgjLEe1TiH20t HQgo29dmlSC3ddreWXcYG+suwQ2gaGJPx6fI0wLtzKLnNfRyvEQFGvhpefPEFMYbgz3XB7D OvC596bzPcfAInHVPL5JnKIdx4+syBJwutAKaWSk/FZgEEk+pGMSVcEf5/z/0d6G6y0F0c6 boo/Dcd128EYRxsNBnwuQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:d20yJRJ9TNw=:OVBrHhY5gtukVVg3Xtd/m0 8u4R++63dqxiRfrhGmw9e4KOw+Da1VJcXhE81xXL2nK8CA7imI83yLc1r2C/EpoRfx01QIcHe ahbwnKSD7t5kZzYXcME/9EH3EooRP/sfglVBUYl49zeMQ6sD0z6QzI4IrdfRnQvBgasUOzpvZ ZUG7NXZgorGfoSsx9iQsNcO2TEKa+P1jlc7O/cFD/Yl9syPt3cCyv/4jzs2ahKVfMgjeOcwEZ v0OFoKooGf05KSP0QPlU9ZE1AP4WwwTpHrY6hkT52+oBfRdCRa9p0scUm8tS5Y/nSSm+Dqs/W H9NHDcPZbYnxkLg2DJNwD2dWg064P+IrnOP2OE1NfsbnXR9Ur86UEZLzZYDkGANcrnaFKE8DS ICBDnjX2n1taoxxKFu71KCgnLSyrigfDthuZj2L24f0ZdtG1s+Cy/sq1Pc35pMuQMMNXtlMcZ YvXtlep/GTD+7nBHpVohTp3GeZs4AQSsI2/inFexWGouY1Ulb4fvKC5mFtG/6PsTcYOgO+4+n ZZmiABN1dyAM1aCeOyNAU5ZvtiJCEKG8FB8Og38nKb6DL4zvT8Po/w3gReD2wVmZp9pZPnJNl JvDEUXcq3S8inLp3/3qCGfKn2Q0eTh0+ZLu/CBAhLyr0GWaRIBpYJ8YGviD/aymoyWQXmvcr8 LsfwV2498J5GOF6i+qOxIUQme59j8wLDEY6/jaCXnzw4Ew8sFIXgrAXzUXG7nK53w6cspAOJZ 84KezZYvOTbJj1hw80eXp1yqR3OjcVtW8N1e+Q== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 7, 2021 at 12:48 PM Daniel Palmer wrote: > On Tue, 7 Sept 2021 at 19:30, Bert Vermeulen wrote: > > > > From: John Crispin > > > > EN7523 is an armv7 based silicon used inside broadband access type devices > > such as xPON and xDSL. It shares various silicon blocks with MediaTek > > silicon such as the MT7622. > > This is a Cortex A53 isn't it? So it's ARMv8. I thought the issue is > that it's actually a 64bit system but you only have a 32bit > bootloader, firmware etc? > > Off-topic but related: Another MediaTek spin off, SigmaStar, seems to > have done exactly the same thing. Cortex A53 chip running as a 32bit > system to avoid having to fix their software. I'm interested to see if > this makes it into arm or arm64. :) Maybe it's best to just add them to both at the same time? The boot loader situation might take a bit to work out, but in theory this should be fixable. You can generally include .dtsi files from one in the other, as you can see from e.g. arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts. For new files, I think I would prefer having the .dts files in arm64 and including them from arch/arm/ rather than the other way round, but others may come up with a good reason to keep doing the reverse. This would help encourage the thought that running a 64-bit kernel is the better setup, rather than propagate the 32-bit kernel nonsense on 64-bit machines. Arnd