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 13299C4742C for ; Mon, 16 Nov 2020 09:10:47 +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 7770422240 for ; Mon, 16 Nov 2020 09:10:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W+5L6lq1"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="bJeZtZ2M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7770422240 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=hkYGkGaZ0RSBy5kQFvmucYYErf/W4v0cvUBxe8raLUw=; b=W+5L6lq1uH33WWpT1iYq0dSWQ 6J8adkWf6Z9PraBiy5oZfFmJVASvepnm0emx3nbRYPm4vJFPMaUTljDBQwA9QEBlciDwQfZTE+vOz GlZ7AiK+dQjOS078serrlzW35gtHYaeBOrm9xrOgcwwVkFVw7UBZlc50do13SWW2JdAWNY+pu4f/X imqPAo23zfWfKwrOBwN9wMI8IhHIHROCfHVDD0/tJ3MhSDLbjNFieswuQ3v1dvS82PJL+9BbYcL39 PRt/fWSxyuP1WzVtAsgQH4/oqtJkWQ8zcDWQ4D9LFurGdR/KNjb0Q/Lq8UzQozFDxW6E0+e3KtGat AsOKuUslg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keaWe-00012W-Fb; Mon, 16 Nov 2020 09:10:16 +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 1keaWb-00011v-QU for linux-arm-kernel@lists.infradead.org; Mon, 16 Nov 2020 09:10:14 +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 8199DA1B; Mon, 16 Nov 2020 10:10:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1605517808; bh=Hu5skvyQEMOgLAvxCRzFCy8MqwlvglvVz0JFSbjCuEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bJeZtZ2M7KIkh965+I6Ac1ePwajw4VfZAKbhiyTHnjsqtQO+09BH3sDny7exdRwwJ E3t/CbAQn70k/wNJNXEqT4V0DWjyy+KrLs7U8yX3WnJ4SHm6hQAj1zT1tus/5Xg0nz HVdMxqPmS/9wksSsUuS4eP71qgoWZgdXn2/xEgZs= Date: Mon, 16 Nov 2020 11:10:04 +0200 From: Laurent Pinchart To: Shawn Guo Subject: Re: [PATCH] [RFC] ARM: imx: add smp support for imx7d Message-ID: <20201116091004.GC6540@pendragon.ideasonboard.com> References: <20200917160814.97995-1-marex@denx.de> <20200922062248.GC25109@dragon> <43c03425-1bcc-b5c1-c82a-4307ee1f0768@denx.de> <20201010002854.GB27426@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201010002854.GB27426@pendragon.ideasonboard.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_041013_977462_C85BBBA5 X-CRM114-Status: GOOD ( 29.89 ) 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 , Jan Kiszka , 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 Hi Shawn, On Sat, Oct 10, 2020 at 03:28:55AM +0300, Laurent Pinchart wrote: > 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. Ping. Could we get this merged ? -- Regards, Laurent Pinchart _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel