Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3726023pxb; Tue, 7 Sep 2021 06:22:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqDNGd7kNHVjiBWIyRrxRJjfUpZhojKVmAnWEHZ/sO6l1/rjoHj6WHrV8+wISx3effucA4 X-Received: by 2002:adf:916f:: with SMTP id j102mr18730634wrj.422.1631020936103; Tue, 07 Sep 2021 06:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631020936; cv=none; d=google.com; s=arc-20160816; b=IUkvdqM/pZbmZBS3rR0hetnTUEMZsTVxWLIlfWwqdklISmdxh2hpeqrEDFk3nYPoDS hgsw6KyhegWUxebk3ViYu1+Yf/nslgY/RYDJ5alE4szYFybPocoeEdIIj/vxHuxe1igk PqxHgvI0eongeKi7rUHQ2RrM7LWKXr6CTBP0u2NDT3zWB8KLacZjCyOuUyiPQiYJl15y gRyF0Ms5Wmz7tJ5KlXpEr1mHWR4QGdzp+U2vTGBhhvL+qQNGleIMDuGbnNfIcQnyMmnr dKySxVA6OuklpewJzZWw6lhWVfoaaXdgEKBxkThI8NuY56h4QoSvHSEOhDMReHpcZEtz OgJQ== 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=WazygCXGIt0oTRoPxuhpgEJkZwMCzOdNrpXcapD6IMQ=; b=F0W7UU+LeceRmrlLWJVbiflpw/71Ozr43P3usH+guyDWZcNvoSY3qIPFflz4z9zhCo vbVDcPOns67BmEZsulaH2FyzZI7VGwKSCvUlPskE11czpYK/M8aPvCKfzSzqQQDBb9BS KoRtVgS5Y5gLwEhl3frBhFOHf154c7+w4wUUc5QX/8pQm6L+C0Ib3w9svOpVh376OKiC LOEVw4xe7cm9lyBGJW+FkplC+N1BPQCR/vUb2AkhSJxFwYqERPFSsfMrpAEhtLiLjOPm RrBZw/hTbVvoGRlqoAIAd7xBuJuzMh/Nku1hpir8dePFOA7UQmz1IHuZLEEBfHA7xPaI 8nHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b="L/y9MxYC"; 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 g7si760783eds.71.2021.09.07.06.21.50; Tue, 07 Sep 2021 06:22:16 -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=@0x0f.com header.s=google header.b="L/y9MxYC"; 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 S1343992AbhIGM3G (ORCPT + 99 others); Tue, 7 Sep 2021 08:29:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234142AbhIGM3E (ORCPT ); Tue, 7 Sep 2021 08:29:04 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1AE2C061757 for ; Tue, 7 Sep 2021 05:27:57 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id c19so7722687qte.7 for ; Tue, 07 Sep 2021 05:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WazygCXGIt0oTRoPxuhpgEJkZwMCzOdNrpXcapD6IMQ=; b=L/y9MxYCco9ZCQyc7JqOQbveaeL7yhvAnHpMIYeiTpx4hjqmrG9hQodGGT0d8VXqOu Gm9iF1/C4HrM5ieUokxjwdIYYjmZjyPchGaP1OcYUcTysdb5DbH5xwBN767Ma7PsGcH+ DRCXRFH4B6TKGbm5fbOezD0Ki16vHifMMKQpU= 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=WazygCXGIt0oTRoPxuhpgEJkZwMCzOdNrpXcapD6IMQ=; b=uTCTpC4Vk0mkWUQgJZxqmueqRy+ewsT1MOw8eFag62SJpgK75qOxHXJkSwJojzV9x0 IJmQbpSYbLXOd0Xu/HKfee6da67N9uTEXXHLzzrfd4qtdxieGVh8daWMWmEdEeftV0O0 EEEEAWAxdzL7cIlOX+ZX/yCUvisxchUhPPlYblrklx7Z3xDyb7a3xaMRBqrYuFGUCiTV GM4+DdcEE78HzO8wGlbo2AAIdSKzTgMYhcwrRuDifVtrBLNXKC86ki/+QduQRMfRJ3rP 5KmfuWYTGNdaEYPkFnjXrMN02vB1os8ZltAjRoSUV/sgkv6f4kmTOhrBp9amTv10XoS5 KXcw== X-Gm-Message-State: AOAM530YVknVKJZkYtLrytPcji7e77l3M2F71DzYultNBN/lTu5OHN6w U//98UYxoLpb0uRFQczzxhpNKq1R1ziQeCIahuDI5w== X-Received: by 2002:ac8:5a13:: with SMTP id n19mr14999884qta.380.1631017676983; Tue, 07 Sep 2021 05:27:56 -0700 (PDT) MIME-Version: 1.0 References: <20210907102722.47543-1-bert@biot.com> <20210907102722.47543-5-bert@biot.com> In-Reply-To: From: Daniel Palmer Date: Tue, 7 Sep 2021 21:27:46 +0900 Message-ID: Subject: Re: [PATCH v2 4/5] ARM: Add basic support for Airoha EN7523 SoC To: Arnd Bergmann Cc: Bert Vermeulen , Russell King , 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Tue, 7 Sept 2021 at 20:52, Arnd Bergmann wrote: > > 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. I wonder how fixable it would be.. I haven't gotten a board with the chip in question (SSD268G) yet but from looking at some firmware binaries I can see that even u-boot is a 6 year old 32bit version. As far as I can tell there's no PSCI, ATF etc that I think would be expected for an arm64 machine. I think the broken memory controller is still there so somehow I'd need to get the heavy barrier to work in arm64. I haven't yet worked out if that's even possible. I think they are advertising that it supports up to 2GB of DDR. So it's a hobbled 64bit capable system with highmem. Putting most of the DT bits under arm64 even though it's so broken it'll only ever boot a 32bit kernel makes sense to me. Better than having lots of arm64 typical stuff like a newer GIC in a file under arm and confusing everyone that comes across it. Cheers, Daniel