Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29256999rwd; Wed, 5 Jul 2023 09:14:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlETBKZzilutD4Fkd5YxMkUdNQp2P2X4lNKhm99QPg6Ol18XphrJEAe5MglqMXaKd00/ai1k X-Received: by 2002:aa7:97a9:0:b0:673:5d1e:6654 with SMTP id d9-20020aa797a9000000b006735d1e6654mr12927708pfq.33.1688573664188; Wed, 05 Jul 2023 09:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688573664; cv=none; d=google.com; s=arc-20160816; b=HrdSKHoK3E0gYGddub7CIGtCwcyqJbpvMFEIobFFLR/DJRZ+akul8eOi81U1u33lz0 yejb63vo/TdbjYZDj128F0qhTEu5CnzqHjyYAjuBw779ZGlljP6bnUGwY0p1vbvMHOVj 5uxbApu/CSfvvOy1CMsRByhLl9hl1zK74H/xxnsqXSTIcB2/kNXeEpOmuNlaTvQ3IKZW cxVVhuP3R4aaXydbtgx6lsHW/FF8lAnOBPcKCVPA6J6Uqsy7KYQN7Q2lDB/+OzEJ4QNz eu+Cm3R7EaW42/a+yKEDEwKSvrIDp2dQOB4JsOsc25IM7W2IXNm09UbyQNAMt/bqbbZq au9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=TgVor6ohcB+NOGucTa0+/H0UrCZfx0RkXCTaJQ6Ou3Y=; fh=e4XLokltlrnhyZFhwi903qurhcjqXZ330gBeA+u/lCU=; b=GUwchEdl+JLUqWNg635bsUL7Ub48cOMQWI1VVcgYUcYzNpMFIUgcYHGYj3SCW7jRsN slHT6fge3NRfFYRt5yew9VGFP88U9Tof7UYOzZvRBpDZutlEt92cq05b93EZuid6ldab KyAEqHCYYo6wYHy0W/+vTMOb+4Yba9WWjbtQCCjBr2+/LcxY0/1DG/O9zCPw8GYe/Se3 8tC091Y2PNyDEqjsRyEb7hXSYESlRD/kcs/kjfXcJzczi1myr2FHgnIOmrhV2t05Hgog wpKrvcl9FMVhiXMaIzSyDQMkAJfn0weoSQjRFNdFK9cOZ9Hyk3J2Xp4gLC8sQQBAoLWA OTEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=jnPp5p89; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=AhtDVmNY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cq15-20020a056a00330f00b00680098cc5f8si15565133pfb.84.2023.07.05.09.14.09; Wed, 05 Jul 2023 09:14:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=jnPp5p89; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=AhtDVmNY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232117AbjGEPx3 (ORCPT + 99 others); Wed, 5 Jul 2023 11:53:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232726AbjGEPx1 (ORCPT ); Wed, 5 Jul 2023 11:53:27 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 153BC1980; Wed, 5 Jul 2023 08:53:25 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4E88C5C0085; Wed, 5 Jul 2023 11:53:24 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Wed, 05 Jul 2023 11:53:24 -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=1688572404; x=1688658804; bh=Tg Vor6ohcB+NOGucTa0+/H0UrCZfx0RkXCTaJQ6Ou3Y=; b=jnPp5p89NBHK7KnbTT KCD5uMT3OH9YAbg8CcvnjhhOQ3DDNOcwZbNdy6iJDhIfX2MUuUAJwIjFl0ZtGmmS F/KagCO3GySfM/UKrTTdVACTPl9VIEkChwZ459eDhzYj6dIp0USHADbE33fbDdZf AM53xeTqG1aU4XgZdtttNLy8bjpOUzhSAbNUmBVfWI7bH6TbzfuY21qkZ4v2NAVt HqIailq2xyLjm5YFK/a1PmZ1ivOleMiALb3htug6lZ+h4ZXUHH59Hkhru7PwC1jy VBN2ULxKFP/uP6vqyjmxNOUeXG24vMIYq4M32U+ZlPhTxnrY0M9prGamVJPFPC4Z emvg== 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=fm2; t=1688572404; x=1688658804; bh=TgVor6ohcB+NO GucTa0+/H0UrCZfx0RkXCTaJQ6Ou3Y=; b=AhtDVmNY1Ohvt1QL3I9COfXsLvHwM N9lCRZQ9a0aLFbj3dcPYQHQBHAI6FRDfGQOyLBVaWRCSguys90OjFJ+cVNBo6zEE 83G1EoOg+Uq8O92o/+kUoHJ4ajhcKFbnQw0G5w96myLpeg0f0QaW9MdW7stb9SzG p/o75HEkd9SWL0lr4ySDKIaM0DxfPxOe146CEipbJriIQhm8LjjNHku/rzDtgffI 1gHRYQNVtffFt/c22KRIlDS16fEmmzK2kRrn7m3OveKdG7nyBkKXpkOAaoykNim/ tjr6m7OSrdz5K3nEmmzYBAckS2ukv4q69sJRt7bNyrbIPN01zYQCvOngA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudejgdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 97530B60086; Wed, 5 Jul 2023 11:53:22 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-531-gfdfa13a06d-fm-20230703.001-gfdfa13a0 Mime-Version: 1.0 Message-Id: <622eee1a-4bf3-4a17-9c2e-e32f0f405fd5@app.fastmail.com> In-Reply-To: <6ac04399-9c17-b036-5b14-92eadb65522b@oracle.com> References: <20230705142004.3605799-1-eric.devolder@oracle.com> <20230705142004.3605799-4-eric.devolder@oracle.com> <09f70de6-9409-4fa4-b9ea-831078d914e7@app.fastmail.com> <6ac04399-9c17-b036-5b14-92eadb65522b@oracle.com> Date: Wed, 05 Jul 2023 17:53:02 +0200 From: "Arnd Bergmann" To: "Eric DeVolder" , "Russell King" , "Catalin Marinas" , "Will Deacon" , "Huacai Chen" , "Geert Uytterhoeven" , "Thomas Bogendoerfer" , "James E . J . Bottomley" , "Helge Deller" , "Yoshinori Sato" , "Rich Felker" , "John Paul Adrian Glaubitz" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org Cc: "WANG Xuerui" , "Michael Ellerman" , "Nicholas Piggin" , "Christophe Leroy" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Heiko Carstens" , gor@linux.ibm.com, "Alexander Gordeev" , borntraeger@linux.ibm.com, "Sven Schnelle" , "H. Peter Anvin" , "Kees Cook" , "Paul E. McKenney" , "Peter Zijlstra" , "Frederic Weisbecker" , "Andrew Morton" , "Ard Biesheuvel" , "Sami Tolvanen" , "Juerg Haefliger" , "Russell King" , "Linus Walleij" , "Sebastian Reichel" , "Mike Rapoport" , "Kirill A. Shutemov" , "Anshuman Khandual" , "Zi Yan" , "Masahiro Yamada" , "Nick Desaulniers" , "Masami Hiramatsu" , "Miguel Ojeda" , "Zhen Lei" , "Xin Li" , "Tejun Heo" , "Greg Kroah-Hartman" , tsi@tuyoix.net, "Baoquan He" , hbathini@linux.ibm.com, sourabhjain@linux.ibm.com, "Boris Ostrovsky" , "Konrad Rzeszutek Wilk" Subject: Re: [PATCH v4 03/13] arm/kexec: refactor for kernel/Kconfig.kexec Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 5, 2023, at 17:22, Eric DeVolder wrote: > On 7/5/23 10:05, Arnd Bergmann wrote: >> On Wed, Jul 5, 2023, at 16:19, Eric DeVolder wrote: >> >> I see this is now in linux-next, and it caused a few randconfig >> build issues, these never happened in the past: > > Arnd, > Thanks for looking at this! > > I received randconfig errors from Andrew Morton's machinery. When > investigating I > found that randconfig was able to specify CRASH_DUMP without KEXEC, and > that lead > to problems. I believe this situation existed prior to this series as > well. On Arm, there was definitely a bug because one could enable CRASH_DUMP without enabling KEXEC, but that had no effect at all. I only noticed the problem testing linux-next because it turned from silently broken into a build failure > Specifically CRASH_DUMP does not have a dependency on KEXEC, or select > (only s390 > has this hole closed). > > For CRASH_DUMP, this series now selects KEXEC to close this gap, which is what a > sane config would have (ie both CRASH_DUMP and KEXEC). Right, that is the easier way out here. > Do you think the changes outlined below are still needed? I think only the first one still applies on arm, you need to ensure that ARCH_SUPPORTS_CRASH_DUMP has the same dependency as ARCH_SUPPORTS_KEXEC, or it just depends on ARCH_SUPPORTS_KEXEC. Arnd