Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp452664rdb; Thu, 30 Nov 2023 08:57:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IExTa1PwFaYunpGrU4MofxT4uY/qs1KBLjdrODnZpRvoSVXLjP5idVN+mkx5xUhYM8gzt2d X-Received: by 2002:a17:902:da89:b0:1cf:b81f:ed2a with SMTP id j9-20020a170902da8900b001cfb81fed2amr21238297plx.28.1701363430702; Thu, 30 Nov 2023 08:57:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701363430; cv=none; d=google.com; s=arc-20160816; b=r10YNnegPuDIUpMrovHqlgOZj3JQAWPexw+A87E2lkJS7JO5EpaRvf44z7ir9jrUUy MobwcqaLaTxwTHvX/cqzvDZz5M0QynydBvMWIDIY7LLsRtkgW+3POOsp7yrigweKgzrJ dGwaq4jI5B26uvdTsuwnAIFSwG4HyV4Pj4xYYY2pwXF92B0YBa3OMcPagFsbObbyUgCg WBlnOG8HeJtNtJnbATIrKv2KVlfPY8yMV3KbQC0y7n5MjP8w6O6eLwsH0ElgH6S8CTOJ IQxjxr/WSkPI/saUqf6ZE4CHYv0SfqkkOpqEJRvcrbTCXod+0bR35dYWkbv8JdM33jrU A51w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HS6JV2Ak0BqTp1+yMRZ57iqXOwN4Tco3gk1YwkkySWA=; fh=jl2d11iehsHO6sXMWHebzCnwl9SoDtApzHD8IsayJIY=; b=qbNAH8IJ6h9i75tAAHDRMncxRFgEhy03QaNSBAQ3ACT1dvAE84klDbnGHd6JobwY2s xTyFNFQGo5NAkCS1mORcRSxl+8ca2kaP30V2voz2ZTwwLkTSta7dJpg+k1PCMM/lwI9O Uja182eAHTKo9+NRnttoY/0xlhIpaHk3vSmCaPLmp8joEbYLSIH2U4EdqoKC0C9z+HaT 6GINkrzixnYWaeUGrBcdLJcTN0mQr9ePSeL1JczRV1U3BPwPY2obmQHYEgDP938Dz3mY V7qeAZxKqb6mWwD8MZgFRSnLf+WrgZKClG6hUz3sJTGTWOZosl7+FEjL8urVt0UFUy2a vkow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="Ep5mfn6/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id jc1-20020a17090325c100b001d04b4485a7si175347plb.76.2023.11.30.08.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:57:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="Ep5mfn6/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 074BE8027F57; Thu, 30 Nov 2023 08:57:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345823AbjK3Q4y (ORCPT + 99 others); Thu, 30 Nov 2023 11:56:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345897AbjK3Q4w (ORCPT ); Thu, 30 Nov 2023 11:56:52 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A02610F2 for ; Thu, 30 Nov 2023 08:56:59 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59C48C433C9; Thu, 30 Nov 2023 16:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1701363418; bh=jNTamNThZ0rAs2o+KORaTzGsMmcQ2kdIW/zV+pisW9M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ep5mfn6/d/046KNhMrPxYSVs2b/H1SbZQJJM57P3hzC8hmlHC+aL7jEbzQHe/bzLV ZDl9UEr14ekcpfCJk6RDza5apPq9i/1g5VSUREK4wQ/5Ib8LBFZY5NsHmgDKwcsJd5 raSV/4nqny+fZeQRHQXL35saZ9wB+AO2cAuRD2YA= Date: Thu, 30 Nov 2023 08:56:57 -0800 From: Andrew Morton To: Baoquan He Cc: Arnd Bergmann , Vivek Goyal , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-crypto@vger.kernel.org, eric_devolder@yahoo.com Subject: Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies Message-Id: <20231130085657.6f7f500cc17b663747e4ee76@linux-foundation.org> In-Reply-To: References: <20231023110308.1202042-1-arnd@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:57:08 -0800 (PST) On Thu, 2 Nov 2023 16:03:18 +0800 Baoquan He wrote: > > > CONFIG_KEXEC_FILE, but still get purgatory code built in which is > > > totally useless. > > > > > > Not sure if I think too much over this. > > > > I see your point here, and I would suggest changing the > > CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY symbol to just indicate > > the availability of the purgatory code for the arch, rather > > than actually controlling the code itself. I already mentioned > > this for s390, but riscv would need the same thing on top. > > > > I think the change below should address your concern. > > Since no new comment, do you mind spinning v2 to wrap all these up? This patchset remains in mm-hotfixes-unstable from the previous -rc cycle. Eric, do you have any comments? Arnd, do you plan on a v2? If not, should I merge v1? If so, should I now add cc:stable?