Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3832550rdb; Mon, 11 Dec 2023 00:51:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlu8eD1BTaIB/lZm3yThFSkeqcJuzBF56RxC3T02zRB568t+0Pn7li0SpMS3La3CvpvYIx X-Received: by 2002:a17:90a:c214:b0:286:e5c0:eb4e with SMTP id e20-20020a17090ac21400b00286e5c0eb4emr1297456pjt.50.1702284665556; Mon, 11 Dec 2023 00:51:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702284665; cv=none; d=google.com; s=arc-20160816; b=vUAltRS18SXKjnOBQvmwzNxn2Z3Pzg/kqtYoITZI5Mk8noe/D6gcR+E89+7RC157AF M6ayqxjZIlUZv6JOxjGd/aFVMSFt+s6b+LVBZnaQ9cukcLYjcTaIfoxa/1Z3e+QOt9bo NrigZtMHSNyLaKaPqGlA74ezK9ETrIn9C9SCyzfnWsNjvLn8o3sN891CK4mAkW1wp7a8 CniY0y0lz+y4NXx25HudnoVp2kF48/1+5RIijnujjxsO2rrtCchvfrDdJjjDd3Q/j6yH Mn24ow2FiU6qKA/1B4XBsj8Xt7ZlWVe1cRQIv7KnAbaZBPaZVzauP6b2JfzskOZUagyP O84A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=ZJ87lAxitxT3NPLfLMEYucXX3RvmiRwpjogcN9Weeao=; fh=vsTAeKofZZjP9G0V7mVuwT8VFJdJ5hD8QUL7DCu/PH4=; b=eCTIYw4axlenbLGjKKxmnYmZ6hMOAbngWw7mHf5r4582H1bhb3hrsADcSP+abi0N2n vhagqwhBxtHSlE6J0e4QwxTSG6bbnImweCt6AZxfafmkV+9OcFHJk56krc1LrVo+Veux 25bMSquYS6UD0ViS9qhM51pBEJl6U1XIvKAPMeeI8SywDtHMnRF4zf93WjI61QpNZetJ i1sw+m0IuA0vKhFgfes79aiI+j+gmgM/4DEJqakxQb8Pxpma7nQkZzNxu7Y6VVMMYll9 xhBKqCe+UDeCHSOnQMJIphxidYM0MFRsRkYCdZjebVJnIbdv0c/1fAovwqE2iQJB5iyC hSAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e4-20020a17090a728400b002869c7e8d4fsi5859464pjg.1.2023.12.11.00.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:51:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 0AFAC80782A9; Mon, 11 Dec 2023 00:51:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234596AbjLKI1D convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Dec 2023 03:27:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234085AbjLKIZf (ORCPT ); Mon, 11 Dec 2023 03:25:35 -0500 Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3764510A; Mon, 11 Dec 2023 00:25:38 -0800 (PST) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-5d6b9143782so35674707b3.0; Mon, 11 Dec 2023 00:25:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702283137; x=1702887937; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j2eWe2oiRzSTkXAZdruL7FMLjSewImdzh7HyKdRxUqI=; b=wt3Rq5OOiqu/yBHspSUY8gYpz2jKqNuD+wQmqfsrOE2IB2pr5KQw0CVNSKsYMfJg/R mIV6FEIbf0QvNyR7BocY27xzU49XdRbh0ZtoLTJx5qw0VUBOM5RQX3dLgb2PiwBogaqa uSL9I8AA2kLk44qIzJNMDSrcLPrUMW3fPEWbUUHSLcr/UNYEqLB+erVtXYQYghMkywhT moS+KBbbIbTAuqGnbkBgf8fFDYuZwct5gwAMR2B1nvPmRnI8TOgVp06Rtl7OkFcBSIwG 3KXbzitAbhUipCQ6Fgkk9xZBhxBZCy4nC4/yqObD8nOUv1hfArEeA7yYCzrTZTojuEDc 5sJg== X-Gm-Message-State: AOJu0YwWOOb6kl9Utfo6YW9W23Ulsiu1YgsEL14CeoDx3eus8iOCD76F r5dEla+HZ2ApE+ZiFBL9URxiktQlunAiQg== X-Received: by 2002:a0d:d48c:0:b0:5d3:e835:bd67 with SMTP id w134-20020a0dd48c000000b005d3e835bd67mr3107076ywd.41.1702283136935; Mon, 11 Dec 2023 00:25:36 -0800 (PST) Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com. [209.85.128.172]) by smtp.gmail.com with ESMTPSA id q68-20020a818047000000b005d580a1fd70sm2796876ywf.75.2023.12.11.00.25.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Dec 2023 00:25:36 -0800 (PST) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-5d6b9143782so35674547b3.0; Mon, 11 Dec 2023 00:25:35 -0800 (PST) X-Received: by 2002:a81:7285:0:b0:5d8:74e6:e4c5 with SMTP id n127-20020a817285000000b005d874e6e4c5mr2853116ywc.98.1702283135734; Mon, 11 Dec 2023 00:25:35 -0800 (PST) MIME-Version: 1.0 References: <20231208073036.7884-1-bhe@redhat.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 11 Dec 2023 09:25:24 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/5] kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC To: Baoquan He Cc: linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, loongarch@lists.linux.dev, kexec@lists.infradead.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-sh@vger.kernel.org, x86@kernel.org, akpm@linux-foundation.org, eric_devolder@yahoo.com, sfr@canb.auug.org.au, ignat@cloudflare.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 11 Dec 2023 00:51:03 -0800 (PST) Hi Baoquan, On Fri, Dec 8, 2023 at 8:43 AM Baoquan He wrote: > Forgot adding kexec to CC, add it now. > > On 12/08/23 at 03:30pm, Baoquan He wrote: > > The select of KEXEC for CRASH_DUMP in kernel/Kconfig.kexec will be > > dropped, then compiling errors will be triggered if below config > > items are set: > > > > === > > CONFIG_CRASH_CORE=y > > CONFIG_KEXEC_CORE=y > > CONFIG_CRASH_DUMP=y > > === > > > > E.g on mips, below link error are seen: > > -------------------------------------------------------------------- > > mipsel-linux-ld: kernel/kexec_core.o: in function `kimage_free': > > kernel/kexec_core.c:(.text+0x2200): undefined reference to `machine_kexec_cleanup' > > mipsel-linux-ld: kernel/kexec_core.o: in function `__crash_kexec': > > kernel/kexec_core.c:(.text+0x2480): undefined reference to `machine_crash_shutdown' > > mipsel-linux-ld: kernel/kexec_core.c:(.text+0x2488): undefined reference to `machine_kexec' > > mipsel-linux-ld: kernel/kexec_core.o: in function `kernel_kexec': > > kernel/kexec_core.c:(.text+0x29b8): undefined reference to `machine_shutdown' > > mipsel-linux-ld: kernel/kexec_core.c:(.text+0x29c0): undefined reference to `machine_kexec' > > -------------------------------------------------------------------- > > > > Here, change the incorrect dependency of building kexec_core related object > > files, and the ifdeffery on architectures from CONFIG_KEXEC to > > CONFIG_KEXEC_CORE. > > > > Testing: > > ======== > > Passed on mips and loognarch with the LKP reproducer. > > > > Baoquan He (5): > > loongarch, kexec: change dependency of object files > > m68k, kexec: fix the incorrect ifdeffery and build dependency of > > CONFIG_KEXEC > > mips, kexec: fix the incorrect ifdeffery and dependency of > > CONFIG_KEXEC > > sh, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC > > x86, kexec: fix the wrong ifdeffery CONFIG_KEXEC I understand this series is v3 of "[PATCH v2] kexec_core: change dependency of object files"? As this series does not contain a changelog, can you please summarize what was changed? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds