Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp164332rdh; Wed, 22 Nov 2023 23:37:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEb5M2PYFZScO0fYuOkLlX/rRMvlqEQbYpQDan5gFcbvcpNHVFrsJF2r+gGujnbTfsd53Zs X-Received: by 2002:a05:6808:23d6:b0:3b8:45a3:917c with SMTP id bq22-20020a05680823d600b003b845a3917cmr3550950oib.23.1700725040569; Wed, 22 Nov 2023 23:37:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700725040; cv=none; d=google.com; s=arc-20160816; b=j+px+E6cMXTKxBNE3qys8uTjPNLGEfQ28S/UwuEW85Aq/h3Nh60nWiEhNEWGlMcbbp yNBjQw4KjSktKVzyQYWTpT1ddVYzaZls+WYVktSyFX7My41CTXy5BqOBHY63QYGBFbAa kGgjEgFPjAmIMgircaGfYLYjRar7E9hjPXDOqZHdUiYzFuvXX4S3TIvoqy8Q4FYGZrfq 6M/ull7S0IBZ7ABgQg0D+VE1/KNQaZi1OvkjXULC3TneKmD+7kaiWzwHFzVvd6wuZXKY jN9Ep593v0lshXZQNttaRbPWrso+GJ3DHxQw6qDbwnBwtz4mxfVEG0w3Wob7FJWgruiv +74A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=hZIGK99oC3oMtW4db/aQjrmivwq8vYdu48PqdNRtXGY=; fh=vL7x4bgFLl4JXLQ25ukDrYi2Fznm1zAkzIBXuJ1+XwQ=; b=WYshPmAVEdPUIJAplqdlV3+zHfV4L6mkDagDAPuJfGlmD+Cydo6Gmxyp9VJpLyI8/C HmKib5ixKrV8D0Apm78pJHfeV/OInMJvNEO2m3kdbIZsCdk3tYuYNHxZFml/D09UNIIA zluu6qlnQ10ysgRm0impLNkTFEExsIsi5X+7irBkwE+nTNNk2jGuIZvuY+xlp4Hfggg5 m3ZbWMCzSj5uuPmavkLUT7caHjj7CAILTvTvtAWyhBOUc3KfaGq6FDpVvNU0T6GXSofo 4hQU5/DSVpjRZ8kN8fTnynPo10d2e7bPMIZTF3+4aFv0I0aX8grt8A8jXwc8/zMI5JX6 mKbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pi562C6i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id j9-20020a63e749000000b005bda77217eesi850785pgk.209.2023.11.22.23.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 23:37:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pi562C6i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 86C0D8077530; Wed, 22 Nov 2023 23:37:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231744AbjKWHg7 (ORCPT + 99 others); Thu, 23 Nov 2023 02:36:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbjKWHg6 (ORCPT ); Thu, 23 Nov 2023 02:36:58 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECFA09F for ; Wed, 22 Nov 2023 23:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700725023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hZIGK99oC3oMtW4db/aQjrmivwq8vYdu48PqdNRtXGY=; b=Pi562C6isv9kll0lBz4afPqHDIOvdVztw58j5DmmeT5bn//g3UFag63PunfW2HBC1HBsmp UJ7juusprWPSE+YvnkvBrVCNGvHjBEGhTjhxuvehH4bIxzcUy1HkztdHjgMNbvj15NHn9M zrwN3oJhK8UR21l/vrBlpwMnYm6sIBY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-115-F6EtF1WONh674lmkSKKmXA-1; Thu, 23 Nov 2023 02:36:59 -0500 X-MC-Unique: F6EtF1WONh674lmkSKKmXA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E7F8485A58A; Thu, 23 Nov 2023 07:36:58 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (unknown [10.72.112.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id C8052492BFA; Thu, 23 Nov 2023 07:36:55 +0000 (UTC) From: Baoquan He To: linux-kernel@vger.kernel.org Cc: kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, akpm@linux-foundation.org, ignat@cloudflare.com, eric_devolder@yahoo.com, Baoquan He Subject: [PATCH 0/3] kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP Date: Thu, 23 Nov 2023 15:36:49 +0800 Message-ID: <20231123073652.507034-1-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 22 Nov 2023 23:37:13 -0800 (PST) Ignat reported a potential config regression was introduced by commit 89cde455915f ("kexec: consolidate kexec and crash options into kernel/Kconfig.kexec"). Please click below link for more details: https://lore.kernel.org/all/CALrw=nHpRQQaQTP_jZfREgrQEMpS8jBF8JQCv4ygqXycE-StaA@mail.gmail.com/T/#u The patch 1 fix the regression by removing incorrect CONFIG_KEXEC ifdeffery scope adding in arm's , then dropping the select of KEXEC for CRASH_DUMP. This is tested and passed a cross comiping of arm. Patch 2 is to fix a build failure when I tested patch 1 on x86_64, the wrong CONFIG_KEXEC iddeffery is replaced with CONFIG_KEXEC_CORE. Test passed on x86_64. Patch 3 is to fix an unnecessary 'select KEXEC' in s390 ARCH. Removing the select won't impact anything. Test passed on a ibm-z system. Baoquan He (3): kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP drivers/base/cpu: crash data showing should depends on KEXEC_CORE s390/Kconfig: drop select of KEXEC arch/arm/include/asm/kexec.h | 4 ---- arch/s390/Kconfig | 1 - drivers/base/cpu.c | 6 +++--- kernel/Kconfig.kexec | 1 - 4 files changed, 3 insertions(+), 9 deletions(-) -- 2.41.0