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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0858AC433EF for ; Fri, 7 Jan 2022 14:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=zH9Zvd5DzzEqOdH8/Fz0cCVN+2xYzDCHSkqarLSu5SQ=; b=ggort+wK1aRl0C SpNEP3Cj8F4FBOTGHQ8tJNpn4D17LNJkGCe7uTMSYuEqE15q21GayVlkCyH5km8ZYRCImN6aUdUl3 dm5bbOPwCACufTGF3ha5IWlqxUoTqRPASIlCWEvQv6KdBFcaeYm4u1uBPB2B6lBC6tyhDPUzG7VTl y2ZlZBjgM/RPv8FnA8CW7n9LlSe8N40soVGhxtZTiyG0NUhJt7AF83MhWGm6ZPwccdJr5WSXoPgnA w0CfMZ3+0FWWzMDmCBj/d/6fhhFYDsxk7gfFQJZXMPNYU12D8iS0hgYEtaQXj+F7WkNFCSUxdGU6d KPvbghOtK+1ETWnYGcPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5pzN-0047SF-4S; Fri, 07 Jan 2022 14:13:05 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5pzI-0047R9-C7 for linux-arm-kernel@lists.infradead.org; Fri, 07 Jan 2022 14:13:02 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0F50C13A1; Fri, 7 Jan 2022 06:12:59 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.7.134]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5ABFD3F774; Fri, 7 Jan 2022 06:12:58 -0800 (PST) Date: Fri, 7 Jan 2022 14:12:55 +0000 From: Mark Rutland To: Andre Przywara Cc: linux-arm-kernel@lists.infradead.org, Jaxson Han Subject: Re: [boot-wrapper PATCH v2 4/9] configure: Make PSCI the default boot method Message-ID: References: <20211222181607.1203191-1-andre.przywara@arm.com> <20211222181607.1203191-5-andre.przywara@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211222181607.1203191-5-andre.przywara@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220107_061300_486528_0E6238F5 X-CRM114-Status: GOOD ( 18.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Wed, Dec 22, 2021 at 06:16:02PM +0000, Andre Przywara wrote: > When the boot-wrapper was originally conceived, PSCI was a rather new > feature, so support in contemporary kernels wasn't guaranteed. The > boot-wrapper consequently defaulted to not using PSCI. > > Fortunately the times have changed, and most people expect PSCI these > days, so let's enable PSCI by default. > > We keep the --enable-psci/--disable-psci configure switch, so it can be > still turned off if needed. > > Signed-off-by: Andre Przywara I had previosusly held off making this change because I wanted to do something a bit more elaborate, but as this is generally a nice-to-have, and it's still possible to change things later, I'll apply this now. Mark. > --- > configure.ac | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 6914eb4..852fd9a 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -82,8 +82,8 @@ AS_IF([test "x$X_IMAGE" != "x"], > > # Allow a user to pass --enable-psci > AC_ARG_ENABLE([psci], > - AS_HELP_STRING([--enable-psci], [enable the psci boot method]), > - [USE_PSCI=$enableval]) > + AS_HELP_STRING([--disable-psci], [disable the psci boot method]), > + [USE_PSCI=$enableval], [USE_PSCI="yes"]) > AM_CONDITIONAL([PSCI], [test "x$USE_PSCI" = "xyes"]) > AS_IF([test "x$USE_PSCI" = "xyes"], [], [USE_PSCI=no]) > > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel