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=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 5FA7DC4363D for ; Tue, 22 Sep 2020 15:03:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 14F742395C for ; Tue, 22 Sep 2020 15:03:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="J8nGKplV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14F742395C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=siemens.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=n5irCoZkwsBkymj865M3GWkAtDY9AA2GpO/DllSeglU=; b=J8nGKplV7MyiX4jPX5DZRdwR7 0p6vyFmr6etQxuSDEgcLOQPbDYUoWEvemRVqOcTlmddZxTI0euYbg8w0jZ/beZzeO3EwPsrl4bjDn F5aty8cwCOXRKzhAyljtDoEbGayd8Op/VOt5k6IboompFLGK46EiD4DXiwWTTBE6WAr0SG4Zm6gQY 63MlUfOnUdnuTBvux5XIWrNYK2xSLOu4kBPaHz1Q+SYoEqUtJmAdl35xdTs73Agak1K8V3lcDYqZ0 XezJy2OMmLhZsgNlNFv5ZjAojhH4lUku9GFLFNuv8jk9GZvzWLQ3pQjkU4ysl9SuO6xeABaEhfbqy Fu6eOVt2w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKjlw-0001C7-VH; Tue, 22 Sep 2020 15:00:01 +0000 Received: from goliath.siemens.de ([192.35.17.28]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKjlt-0001Al-KS for linux-arm-kernel@lists.infradead.org; Tue, 22 Sep 2020 14:59:58 +0000 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 08MExk7F003514 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Sep 2020 16:59:46 +0200 Received: from [139.22.130.132] ([139.22.130.132]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 08MExiNu029111; Tue, 22 Sep 2020 16:59:45 +0200 Subject: Re: [PATCH] [RFC] ARM: imx: add smp support for imx7d To: Marek Vasut , Shawn Guo References: <20200917160814.97995-1-marex@denx.de> <20200922062248.GC25109@dragon> <43c03425-1bcc-b5c1-c82a-4307ee1f0768@denx.de> From: Jan Kiszka Message-ID: Date: Tue, 22 Sep 2020 16:59:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <43c03425-1bcc-b5c1-c82a-4307ee1f0768@denx.de> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200922_105957_929574_764254BA X-CRM114-Status: GOOD ( 21.06 ) 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: Arulpandiyan Vadivel , Anson Huang , Leonard Crestez , Fabio Estevam , linux-arm-kernel@lists.infradead.org, NXP Linux Team Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 22.09.20 13:34, Marek Vasut wrote: > On 9/22/20 8:27 AM, Shawn Guo wrote: >> On Tue, Sep 22, 2020 at 2:22 PM Shawn Guo wrote: >>> >>> On Thu, Sep 17, 2020 at 06:08:14PM +0200, Marek Vasut wrote: >>>> From: Anson Huang >>>> >>>> Add SMP support for i.MX7D, including CPU hotplug support, for >>>> systems where TFA is not present. >>> >>> These systems are not supported by upstream kernel. Sorry. >> >> I meant for systems without PSCI support actually. > > Is there any specific reason for that ? > > The SoC works fully well with mainline U-Boot and without TFA, except > the code for bringing up the second core is missing from mainline and > that is all that is missing. PSCI is unnecessary extra complexity here. > We are coming from vendor kernels and would like to base our products on mainline for $countless-good-reasons. With the vendor kernels, this "classic" way of booting worked fine, with historic bootloaders and also with current mainline U-Boot. If PSCI support is mandated, we would now be unable to migrate devices in the field that should not or cannot receive a bootloader update because existing deployments generally do not ship TF-A or any other PSCI implementation on ARMv7 - there was mostly no use for it (and there will likely be none, except for CPU onlining). Would be a shame. So I'd also like to understand what speaks against a merge, provided this patch does not break other cases or make the code significantly more complex and harder to maintain. Thanks, Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel