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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 EB03DC433E7 for ; Sat, 10 Oct 2020 00:30:59 +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 898B020678 for ; Sat, 10 Oct 2020 00:30:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qqAtXaQ3"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="dpOuu1eV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 898B020678 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.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-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QTGSNUaLO5eh3k881FxEj9G96vlzPJUAytqF2wNRAfw=; b=qqAtXaQ3xt5LchTkqVl9fncvZ OMjX9eXtRC01y46ctSb5cjIZIhBBULMqyhwngQ4KRHMTliY+U3z6eAXwnwymto1FqDb6+TwAK0Ykl QOmWU1aWhK/SOTi3ExJBxQoLPC/5vB/2/ApBJTvlBsB/CLWTw8jz4yajFP85MaCPafaqIzxPi53GD NPy/QIijG9lLTkzRub+063qHZgGgwtym3jLDFwj7D6gp3e8GR7z3MKmXQugrzeuhEKaK8cryXOQvk 3dXWQ0D4p3Lpj2cnauKcax+BR3a7IMMTIlWtYCpQtT/2ot1kh2BvksTrYRAHvJk00zDDbQQ1wTsct enNjU4QSg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kR2la-00083v-J8; Sat, 10 Oct 2020 00:29:42 +0000 Received: from perceval.ideasonboard.com ([2001:4b98:dc2:55:216:3eff:fef7:d647]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kR2lY-00083T-Ds for linux-arm-kernel@lists.infradead.org; Sat, 10 Oct 2020 00:29:41 +0000 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4134E528; Sat, 10 Oct 2020 02:29:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1602289778; bh=i9JHAsUuvxJPohLuxUca3GhaItItveqXvHuM7XEo25U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dpOuu1eVOtrUtuB2cRAxxVd56gZw4jP2vX9BYpvH1E9ziViQkatFIIvYxP9KBfYJF aZXlqHzOenHvdiupTLm+9CwG7tDZHWiCHjQa5cI99TrGVvVMwgrW/InbwDZcglu3u+ 7eBl8AHpSVLf4B0zPlQLRgjS4Zi+wEqJmkwGbCOc= Date: Sat, 10 Oct 2020 03:28:54 +0300 From: Laurent Pinchart To: Jan Kiszka Subject: Re: [PATCH] [RFC] ARM: imx: add smp support for imx7d Message-ID: <20201010002854.GB27426@pendragon.ideasonboard.com> References: <20200917160814.97995-1-marex@denx.de> <20200922062248.GC25109@dragon> <43c03425-1bcc-b5c1-c82a-4307ee1f0768@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201009_202940_584406_54614901 X-CRM114-Status: GOOD ( 24.47 ) 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: Marek Vasut , Shawn Guo , Arulpandiyan Vadivel , Anson Huang , Leonard Crestez , Fabio Estevam , linux-arm-kernel@lists.infradead.org, NXP Linux Team Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello everybody, On Tue, Sep 22, 2020 at 04:59:44PM +0200, Jan Kiszka wrote: > 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. I side with Marek and Jan on this. While PSCI is mandatory for ARM64 platforms (whether that's a good or bad thing is out of scope here), there's no such requirement for ARMv7. Unless there was a decision to migrate the whole or ARMv7 to PSCI, I see no reason to not merge this patch. -- Regards, Laurent Pinchart _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel