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 4B9B6C004C0 for ; Mon, 23 Oct 2023 16:04:46 +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:Subject:Cc:To:From:Date:References: In-Reply-To:Message-Id:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=14V7/3HSukl4li4HWaOde+ZHOaceWBRvv1IYAImhlTs=; b=QIkTS6i79ZG5+q hj8MtAvqbOGARV5iONlhgbL0tbEpIx5Ukx8+kr6M4M4erk1DXtyZU4bif6V2BhsHkzZTFLlTuovVb uTiOPdQKrrxNAMoxdRB/Pj/IZN4RheVWn3YD7YXxbnm5tC9MS9+p2WqPKkCyAVA4S2b5f+Xb97Ow4 OZx57S7vTThlq4uEnD6UKbHg/E/N6LmJExYluQUgxEvBBWdVKzJkSD6wRwTv6IfAb55IlGqQzTvXp 4JKpS9TWzmg8nxIOpCI1GdNgOAOz9QwkFlxytxMwVC7vce+4cjS1BHrhb8Ztt9jiMujRu7Ye9WINV H5V1wZEdZwWKprT2Kv1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1quxPw-007mA4-1u; Mon, 23 Oct 2023 16:04:36 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1quxPt-007m88-1l for linux-riscv@lists.infradead.org; Mon, 23 Oct 2023 16:04:35 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8937F5C035C; Mon, 23 Oct 2023 12:04:29 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Mon, 23 Oct 2023 12:04:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1698077069; x=1698163469; bh=om I9l4fCxrjkUcM6JOxkmrHVP/pj0MGxudyGyoWqQuM=; b=YxgVjGh0doHzbzLi6q PClGd5HsxejBbgx4/5RYmtv09+HQiwZyaplfE0ewOGHiZzudSB0S0OL4Jiqq0uno HLmpLafWY0qN31re7VYCs5H6sSnmT22PQ/FroqKVZiCs5uHKY8oFQ4unPLZ/8cZ8 O3WvNiXOfjxKatsocYQ/Jy/kFCsfdj9aK7yXnJ2qoaQEY4+YNBKvOBqKd34f8Mzg +9wsurB+1CVTUSJi2XymLm4v7rGK+FMAXIK03s6+HdkrM5s4RUEdsyuZb+fp0NVu EC5Nf2uyZcEkgvV7qC8wKZmmCNnbMvTbCNH7D2eD2/4uqUfXGaMowPbfcQCg6/xu jpdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1698077069; x=1698163469; bh=omI9l4fCxrjkU cM6JOxkmrHVP/pj0MGxudyGyoWqQuM=; b=goUABzr458FRgBTpbBm0q4IpvczdQ KTIemYL/NQhTZLhC/R8Z0ECg7u4Rzies++Bue1MGJNA98zrqnpWljNwQpoGs3A2C 9KzYFHanyP9UlexGaMOIS5xcW/XDhcr8gJMd6nGFY8ojDRdRHCwrSJtQzU1NxG1u 2M4Yxn9QZzcuk0Bo99b9Ro9Bf/XkUlEZ4U4vIRS6cEL9QibvirBy2+fzQMP1M16X 8tCg2cYkJMgX6RpYI47knEJ0GcEWwVcd2pkpRAQdc/nBAiET6Mb6xynZ5eVU0Fth ZpzCQEhPJi0wC+zg9GGFGpRQx32w8YTxcFQhKPoQQi7J4hWuMSFDcadHQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkeeigdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 78236B60089; Mon, 23 Oct 2023 12:04:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 MIME-Version: 1.0 Message-Id: <67ddd260-d424-4229-a815-e3fcfb864a77@app.fastmail.com> In-Reply-To: <20231023-thievish-imitation-c7c4b36d76f1@spud> References: <20231023110308.1202042-1-arnd@kernel.org> <20231023-thievish-imitation-c7c4b36d76f1@spud> Date: Mon, 23 Oct 2023 18:04:06 +0200 From: "Arnd Bergmann" To: "Conor Dooley" , "Arnd Bergmann" Cc: "Andrew Morton" , "Eric DeVolder" , "Herbert Xu" , "David S . Miller" , linux-crypto@vger.kernel.org, "Nicholas Piggin" , "Christophe Leroy" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" , "Sven Schnelle" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , "Peter Zijlstra" , "Ard Biesheuvel" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org Subject: Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_090433_973897_93AFD1BC X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Mon, Oct 23, 2023, at 17:37, Conor Dooley wrote: > On Mon, Oct 23, 2023 at 01:01:54PM +0200, Arnd Bergmann wrote: >> index 25474f8c12b79..f571bad2d22d0 100644 >> --- a/arch/riscv/Kconfig >> +++ b/arch/riscv/Kconfig >> @@ -687,9 +687,7 @@ config ARCH_SELECTS_KEXEC_FILE >> select KEXEC_ELF >> >> config ARCH_SUPPORTS_KEXEC_PURGATORY >> - def_bool KEXEC_FILE >> - depends on CRYPTO=y >> - depends on CRYPTO_SHA256=y >> + def_bool y > > This being the problem, KEXEC_FILE is 64-bit only. > > IIRC I commented on this same thing during the original conversion > patches. Does it work with this patch on top? --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -687,7 +687,7 @@ config ARCH_SELECTS_KEXEC_FILE select KEXEC_ELF config ARCH_SUPPORTS_KEXEC_PURGATORY - def_bool y + def_bool ARCH_SUPPORTS_KEXEC_FILE config ARCH_SUPPORTS_CRASH_DUMP def_bool y Arnd _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv