Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1557279ybh; Fri, 13 Mar 2020 03:25:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vshyPRWpbGuzsej6xfEhcDhasJXp08p97PEKQphYCB+OaxSUuz/TqjYXjMvVzbkrFKMQui4 X-Received: by 2002:aca:4986:: with SMTP id w128mr6030015oia.46.1584095130147; Fri, 13 Mar 2020 03:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584095130; cv=none; d=google.com; s=arc-20160816; b=pbRZi75NPasg4HOmgsO11qWeIvEwE1Uaxd1G0p3RF3JGUAhoQYaTsUVO8pYpkpkGVp 0JC7zys9GWt70c0T9ZxG35+sMdUr2n1ab1bE3TE4rYxNOAXXR+Q2SOI90jUtFpE9Vmuc /+W1FDNE2DrAcHb0tQGk8MaUfcWuf3ngbkM5/krqS92SebVPbreEIeWJt06aahFMYPYs X7M/1NLVWkQyHnjz+bqL8QU0sveDi6OtAru3qH/MEGxp0sBzJcaqlzZmq6yWGKva4Hek AokzazZ8T+YOWpiTs/KB9hJ1oxzFF0A5OtuJeY/d8d6EYRRE0HDnubwhqij19SPNW5dz 0LHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=jblvZF83Xp3i0UStcJTfcCJcCSV0PyMHRjtwGaArSNM=; b=gKT4yt0grEpN55HV50vd2OmfSnfWNJljw0438ZSxpm7ZevGL+LfQGhbPdo7JtdrooA r8H9fXEg3eii9Rjg6SHrTqxPNeGbEhV+vU3nzXsD5fkE7fyHBTYcZHEEMhgZlOI6ZmeA 4lmaY4SQrVstbHqdQhHJMceGCnPixMo4eWcnzHViPZFxPjJLiBTDk2rQLQqrNrONZyKU WOLo1bppk3FVopieIgYliuuA0X3MxqheC5jiDpDmH7BSAmuUmKsN9/AZKa9Et9CjH/op x6eHiFyIiXWJaswtiwKm95wCa5KILtDCsnab/knRNPs/vc+W+F1Q+sAZuIYPVtrtIPYm Jzjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b20si4456311otp.82.2020.03.13.03.25.16; Fri, 13 Mar 2020 03:25:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726426AbgCMKXx (ORCPT + 99 others); Fri, 13 Mar 2020 06:23:53 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:40929 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbgCMKXx (ORCPT ); Fri, 13 Mar 2020 06:23:53 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MNL2Y-1iwefF1he6-00OkjQ; Fri, 13 Mar 2020 11:23:51 +0100 Received: by mail-qk1-f174.google.com with SMTP id e16so11524503qkl.6; Fri, 13 Mar 2020 03:23:51 -0700 (PDT) X-Gm-Message-State: ANhLgQ24k8eOENtIYiud4zkwexFqM3w9+zACEQYpvETucADmdnEptKpO bLj9W9LQhDv926st46fMDku8V643+dj9tlrdbJQ= X-Received: by 2002:a37:a4d6:: with SMTP id n205mr12564191qke.352.1584095030201; Fri, 13 Mar 2020 03:23:50 -0700 (PDT) MIME-Version: 1.0 References: <1584070314-26495-1-git-send-email-peng.fan@nxp.com> In-Reply-To: <1584070314-26495-1-git-send-email-peng.fan@nxp.com> From: Arnd Bergmann Date: Fri, 13 Mar 2020 11:23:34 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: dts: Makefile: build arm64 device tree To: Peng Fan Cc: Rob Herring , Mark Rutland , Shawn Guo , DTML , "linux-kernel@vger.kernel.org" , NXP Linux Team Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:GYi++AP6j9j2XxjU9mbIA92RCdmrg0YEULM7da0/JU26Z7pmxot 8K1u1ntVwNw3cHkOLDds2HphH5/A/D671faepELJ/5+GPIpbZtePTnx4pNCRHM0Cha/NCu3 rS+stg5SNKxXFwty6gi7sF0wgfX2MhpC8NL/byr5DHipzDZ/ycOmO9PBbB2F04zOT49hzns A5A6A4mPKah31B8/dQ6KA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qihaRHoDAgw=:LH8RWLl8m+4ye4gEfDDKXv 2NfTtFYI3hx7oFzT0I0b13mac6Ii//p5pjCkt06yVogAw34obkIXbgWd9kuOa+dg1F4iByEOs fkPy9fFj0wbXZ2vt/Fl3EgyEe4LJSi4xfHJ68LvMwJdz9GeHE0LYl5kPP7w1xUBpR2Tn8FJRn jV0pkNxxzcn6AFjxp/+SXF8EiDqu87ADYxQuVSkjC4vuNw7Tfkza7DZspIZmOmhWhfuHzTXkr BXLCchmqhgYg10M0zSswujj7WcbwknuE9XW/Yi18Hr/KJdtlPmrZlaXzfPXIQFgwir9Xf+ShN gAhq3KOHppdVHG+nRy7rc0aivE1bTqgwXCRuDBmumTNpTkzj1JFvh2Frp6Xu/cNSS/5C1p0y+ hYr5nxnkg8XDJ3GhqYdfUqCHrGaKQbr1DZ14iI8jYxr/Ii4nDbZHh6Pye6vonVXxm2XCFjfeD AoTWW7gbH8Ba1G7zD43a7TiZQG/Qv/Jv42CymDiQl+siKikp64/HSg2wMmpR0Zs3MvtAu+oge WBaJAeSEuEGrdHLoTwaDo4r92TyuWvSxGnN2nZ7d6MXPeddWqx/e5JFEXVywoTabaLuxGX5GE 1zPoTF8+sZ+IQo4DLsdlU7GKKUje1iVzn5nIi9e7GkYTPeMgULLB1nguo8yYkf0TKARmePfgE ickx651s2Un8Sxl7F+0sfjFaOYdGikCizZxVHiwB6saf1GK+TweIUaysbIuSH6+BEG+QxaEnb bW/xJ7uC3o3VKQw1EOmyPj2FLhOnNXN5r0xMtJasnObpsqCGs/SG7r8ZlUMqq35i1FKaxct98 gl4Zn3atdGppCX0W2iwrAHNQBdG3zgJsGEDPifSke7eZ3B1s0A= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 13, 2020 at 4:38 AM wrote: > > From: Peng Fan > > To support aarch32 mode linux on aarch64 hardware, we need > build the device tree, so include the arm64 device tree path. > > Signed-off-by: Peng Fan > --- There are a few other platforms with similar requirements, in particular bcm2837, so maybe try doing it the same way they do, see arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts > V1: > This is just the device tree part. Besides this, > I am not sure whether need to create a standalone defconfig under arm32 > for aarch32 mode linux on aarch64 hardware, or use multi_v7_defconfig. > multi_v7_defconfig should be ok, need to include LPAE config. I'd rather not have a standalone defconfig for it, given that we have a single defconfig for all armv6/armv7/armv7hf i.mx machines. There was a suggestion to use a fragment for enabling an LPAE multi_v7_defconfig recently, which I think is still under discussion but should also help here, both with imx_v6_v7_defconfig and multi_v7_defconfig. Can you remind us why this platform needs LPAE? Is it only needed to support more than 4GB of RAM, or something else on top of that? Note that users that actually have 4GB or more on i.mx8 should really run a 64-bit kernel anyway, even if they prefer using 32-bit user space. Turning on LPAE not only disables imx3 and imx5 but also the Cortex-A9 based imx6 variants. Arnd