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=1.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,URIBL_DBL_ABUSE_MALW autolearn=no 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 5059EC32771 for ; Mon, 27 Jan 2020 06:53:44 +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 2186420842 for ; Mon, 27 Jan 2020 06:53:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ewq/Nh6J" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2186420842 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=uNUGa15OxteFihMF7x1fEB9AWfuaQuzqomNGWn91P3A=; b=Ewq/Nh6JH8EQEj kqO/i1v0wGk6zO2fwMfDOvxfDasp9cFAaBtX4x97TVNzQ94Trfj3eiZu5+jaicG2P3XKoLvg1++ki PIfwAuWtwv7bWIGsIHQC0d8pxT4ZfS9ZMlLlT6ItSx42wIim+naKb8CjQ6oVTIP6N1rWe3usr8FTj NLaJeRrBiadwWjxgdniI8JTVYfg0SuqJLS3zROpm+zKoC/aS4u1gJjxVazvM/D4Ka53TWAO/tCSSv 97C21bf58lB6IdMEYyPsyCDqaPMrWja24JSgbNKpbYWf5rgdj74spA6ppHtUBoZfGEVj/ldZfMxwH 4FEyntOTMVSQlW+xKg6w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ivyHG-0007if-TC; Mon, 27 Jan 2020 06:53:42 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ivyHD-0007hy-Or for linux-arm-kernel@lists.infradead.org; Mon, 27 Jan 2020 06:53:41 +0000 Received: from mail-qk1-f180.google.com ([209.85.222.180]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MUok5-1j59K62jiL-00QmgK for ; Mon, 27 Jan 2020 07:53:31 +0100 Received: by mail-qk1-f180.google.com with SMTP id j20so8602308qka.10 for ; Sun, 26 Jan 2020 22:53:30 -0800 (PST) X-Gm-Message-State: APjAAAVcn1OtfVGs1tn2/2VYwWs+fVDxrVtVhgqv5NsOqLhyOxnjN84c WkJMQM121AN0o6WocHUa+h158Ld98SvgM6zkAc0= X-Google-Smtp-Source: APXvYqyBg0aK/XM7DOCpc+zyNjEeT72WLcZ4upAGMAoAxkkLtsbwNOUentHIPudsyZSd0HoIMQEnbY9lJ1UtKJSacRI= X-Received: by 2002:a05:620a:218d:: with SMTP id g13mr14318824qka.286.1580108009529; Sun, 26 Jan 2020 22:53:29 -0800 (PST) MIME-Version: 1.0 References: <1578989048-10162-1-git-send-email-peng.fan@nxp.com> <20200114081751.3wjbbnaem7lbnn3v@pengutronix.de> In-Reply-To: From: Arnd Bergmann Date: Mon, 27 Jan 2020 07:53:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] soc: imx: Makefile: only build soc-imx8 when CONFIG_ARM64 To: Peng Fan X-Provags-ID: V03:K1:tkmcAwL7HxMXuov4ITdDmHElEAArlOahPSC//qqztgVBZhqBzLB +r7XYsUB6bdqdliRPJH6U74rPa4xA3dDGhL2r8SF6eWDNtBYBHv406ci0CxCkrELZtgCNc+ 8/G0HmEGuheTvE47ZqeG9Cy7vcXDAQEwL/c/KjG2z/ce2aBk2jzck2cb/FL1LSQCv7AMeaQ EWefD09pnqWCFNMdD1oCQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:CNE7j51CIdk=:+DCF8q2WL4XIEaIyZMIkVv 4Fgf3Op+coRgiCcGdhMI+EEha6S5LJkCzkCTemvKClLZ4oimBf526MOsQ3zcNJHawEXgtU1kg 3dD5aBOtx5PlvU6h8wjVml+WRaLnKjCTPXYrVW81bjHjKA/d6tLjPPawX4ImpWyxi35nNPF9o mwHjeZBYlr/I7NMf7ezhN1WBR+PpAlNnyPg6pAy2CG3Ne1ARUWQlcVbxvQkwzP4SPhcix8L/N n9UFrLHzrHnuOQpNRtWI9kNQWKjnaxZ6X6lLsNLEMmTQWWMJT/ykzrGDyrAQ99GIImsYSPp/O xQffVK9W2nPUNK4yNF5S8ZiGUx9Q4Kd50GsBTbnUKB0KdStqhhg+53Au+XGFFpIDUxRFrwAOF 2YK4AIHoziCWsslPJgBaA3DopE5VR1pxCFiOfO/+VU0PwVmSMYvD5/V4HtZNFeak/PNtOZN0Y 32zIN8jx+kbGf1omqeU16W2afLXyobhU7kbP/uDK1e7NtjaztWYue//FI2f4vEIkcPnMAGKwE zceywuHbNTq9BYWvlDlnMzpmqsxVvaH9XVIdShtPijdfZ+6Z7tTSH5/N3nfPyu416NKKjKuMS YZ0t69KC4c4YwSI/nCfLvzbqjwZzX7omR3AbJDAFwtTAyT/SVM+RQ2SIfv903UgSWAhe+XoBB laAVuvw4vvwh2mnrCEN7s4jBgx/jrNbA/iiFkB/uxK6Yf/gPCDQfJf3ees0xJjieKB9FZVaOP kzwwdfSXGRuEq5Twc7/OdGLba7OowqYUQjOlVL53hvm05P9PJwtQF7O9XIdLkufrssiMfTOKi RpXGIRPulnKT8rodWt90JlFCzMsTWGSrrLW09/nwCCUuyIB3w4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200126_225340_100049_F2BB1450 X-CRM114-Status: GOOD ( 14.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "festevam@gmail.com" , Abel Vesa , Anson Huang , Adam Ford , "s.hauer@pengutronix.de" , "linux-kernel@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Leonard Crestez , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 27, 2020 at 6:05 AM Peng Fan wrote: > > Subject: Re: [PATCH] soc: imx: Makefile: only build soc-imx8 when > > Does anyone have any suggestions on where I might find some generic stuff > > for either iMX8M or generic ARMv8 docs for doing something like this? > > We did a porting for one customer, but code is not public available. > > First let uboot switch to AARCH32 mode when booting Linux, this is already > supported by uboot mailine. > > Second, create a mach-imx8m.c under arch/arm/mach-imx to handle i.MX8M > just like other i.mx arm32 socs. This is not preferred by Linux community. > > 3rd, build i.MX8M drivers when using imx_v7_defconfig( or imx_v6_v7_defconfig > in upstream) I think the third part is something we can clearly do once it actually boots. Can you post the patch for the second part for reference? In theory nothing should be necessary there, so I wonder what I'm missing (as we need no code for arch/arm64) and what we can do differently to make it work out of the box. Is the problem that the SMP bringup using PSCI for arm64 doesn't work with the 32-bit kernel for some reason? Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel