Message ID | 20231123073652.507034-4-bhe@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp277222vqx; Wed, 22 Nov 2023 23:37:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0aNPtpUBoEfuAghGZOHRtDtAJcPC94WcrV4SBAoknDFo2sc8ybWn0q8oglXT080T1GkXo X-Received: by 2002:a17:902:7d84:b0:1cf:6780:4225 with SMTP id a4-20020a1709027d8400b001cf67804225mr5049513plm.55.1700725049644; Wed, 22 Nov 2023 23:37:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700725049; cv=none; d=google.com; s=arc-20160816; b=uIWUU7IM//uO2eWmyiVojetBJG4PB+FoCJjXn3SvDmfEmSCfXtey5+XHxLFtW99Do7 njUX5/7B2n8OmEROdVZ/k/5WqTq/f9+Y3eP0CbwNOqSm5HWLeZSmbRN6KoT6WMSFr3AQ wwBMZLrc0i7b3O3+nypZJ5EIUCVasvjnmoLEOF4lYtB5V+msUkyOaX5k6jh6/vTVbMMz 5K/TPgtzD8qvluwhBt/lv50+bgfksPCl/B1GzVsbyFUa8/j4Rpd1BtVXNth+wTwmItui h0WzcILSXKNdo/wMBgaEL9peRLxoAPB4hSru8b0IAfCkTWzhQeMSMFJ78dtpSl+Ekmyy oIPQ== 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:date:subject:cc:to:from :dkim-signature; bh=wTxZp7IAJ5tqHMXIk6EvW9Wy4WUO6cPHf5Pu383zIf4=; fh=vL7x4bgFLl4JXLQ25ukDrYi2Fznm1zAkzIBXuJ1+XwQ=; b=l1qBIPdw6Wy5D1V3NgwCB1u5fD7sMOkzhmAFlOf5HM/6yRVM6Qej+A8VBxP+l4W9aR S/FN0PXwYFdoNKQgVw/HUNk34OweXsHeYuJzrHP3CCZqdZoiaOuu/gXCaIdapFS0Zgd9 h8id77YAUFgN9Q9laJ9Kp8vbetq4RmGPt5OMcXdeFQeKX4VVIwip/KNo+AtyyFoVAtK0 Lz1DoSf0s6NgSZ2ZC3KvHBfNOXZY6CQb3FXfE8+lRSGLC9VYwUs1AtcwQWKoW5zOTucr 4awClWY0lDigDugoOpiXmBFMp2Oj4qvlF7ITLj2uiYBamMZsfxjAkpNT93woGp1+/+7h AQ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Y+oxywpS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g6-20020a170902c38600b001cf67881772si620796plg.537.2023.11.22.23.37.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 23:37:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Y+oxywpS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 F014F8081CCA; Wed, 22 Nov 2023 23:37:26 -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 S1344883AbjKWHhN (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Thu, 23 Nov 2023 02:37:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344891AbjKWHhH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 23 Nov 2023 02:37:07 -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 CC832D46 for <linux-kernel@vger.kernel.org>; Wed, 22 Nov 2023 23:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700725032; 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: in-reply-to:in-reply-to:references:references; bh=wTxZp7IAJ5tqHMXIk6EvW9Wy4WUO6cPHf5Pu383zIf4=; b=Y+oxywpSu40BH4sOTfyUae1u675+6PzzE5kQzAQrZk1xgtgc49YCyZaj+msSnbXWRcy52l MqKdotU2pRVyDuA6lIlQrcPJa2CNjkDhiQ7xzUcxOhU3zV7vZLYNOWpzeixajsSH67r7Sd fsq9vD1FoPAqp+DYMdhCWh5X+FzODVI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-195-agVDURNePc2VBZtr2xZy6w-1; Thu, 23 Nov 2023 02:37:10 -0500 X-MC-Unique: agVDURNePc2VBZtr2xZy6w-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 1885228EA6F3; Thu, 23 Nov 2023 07:37:10 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (unknown [10.72.112.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id F2F6B492BFA; Thu, 23 Nov 2023 07:37:06 +0000 (UTC) From: Baoquan He <bhe@redhat.com> 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 <bhe@redhat.com> Subject: [PATCH 3/3] s390/Kconfig: drop select of KEXEC Date: Thu, 23 Nov 2023 15:36:52 +0800 Message-ID: <20231123073652.507034-4-bhe@redhat.com> In-Reply-To: <20231123073652.507034-1-bhe@redhat.com> References: <20231123073652.507034-1-bhe@redhat.com> MIME-Version: 1.0 Content-type: text/plain 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: <linux-kernel.vger.kernel.org> 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:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783339469724703651 X-GMAIL-MSGID: 1783339469724703651 |
Series | kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP | |
Commit Message
Baoquan He
Nov. 23, 2023, 7:36 a.m. UTC
No proof is found to require that S390 architecture has to select
KEXEC. At least from my testing at below, dropping select of KEXEC won't
impact anything.
===testing 1===
CONFIG_CRASH_CORE=y
CONFIG_KEXEC_CORE=y
CONFIG_CRASH_DUMP=y
===
===testing 2===
CONFIG_CRASH_CORE=y
CONFIG_KEXEC_CORE=y
CONFIG_KEXEC_FILE=y
CONFIG_CRASH_DUMP=y
===
So drop the select of KEXEC now.
Signed-off-by: Baoquan He <bhe@redhat.com>
---
arch/s390/Kconfig | 1 -
1 file changed, 1 deletion(-)
Comments
On Thu, Nov 23, 2023 at 03:36:52PM +0800, Baoquan He wrote: Hi Baoquan, > No proof is found to require that S390 architecture has to select > KEXEC. At least from my testing at below, dropping select of KEXEC won't > impact anything. It does impact the outcome of defconfigs. Namely, CONFIG_KEXEC is not set with this patch. > ===testing 1=== > CONFIG_CRASH_CORE=y > CONFIG_KEXEC_CORE=y > CONFIG_CRASH_DUMP=y > === > > ===testing 2=== > CONFIG_CRASH_CORE=y > CONFIG_KEXEC_CORE=y > CONFIG_KEXEC_FILE=y > CONFIG_CRASH_DUMP=y > === Unfortunately, I do not quite realize what these testings were and what is the difference between the two. > So drop the select of KEXEC now. I suggest dropping this patch. Once the previous two are upstream we would remove 'select KEXEC' from Kconfig together with defconfig updates. > Signed-off-by: Baoquan He <bhe@redhat.com> > --- > arch/s390/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig > index 3bec98d20283..1aec2e692dca 100644 > --- a/arch/s390/Kconfig > +++ b/arch/s390/Kconfig > @@ -217,7 +217,6 @@ config S390 > select HAVE_VIRT_CPU_ACCOUNTING_IDLE > select IOMMU_HELPER if PCI > select IOMMU_SUPPORT if PCI > - select KEXEC > select MMU_GATHER_MERGE_VMAS > select MMU_GATHER_NO_GATHER > select MMU_GATHER_RCU_TABLE_FREE > -- Thanks!
On 11/23/23 at 02:43pm, Alexander Gordeev wrote: > On Thu, Nov 23, 2023 at 03:36:52PM +0800, Baoquan He wrote: > > Hi Baoquan, > > > No proof is found to require that S390 architecture has to select > > KEXEC. At least from my testing at below, dropping select of KEXEC won't > > impact anything. > > It does impact the outcome of defconfigs. > Namely, CONFIG_KEXEC is not set with this patch. Right, CONFIG_KEXEC won't be set defaultly with this patch applied. > > > ===testing 1=== > > CONFIG_CRASH_CORE=y > > CONFIG_KEXEC_CORE=y > > CONFIG_CRASH_DUMP=y > > === > > > > ===testing 2=== > > CONFIG_CRASH_CORE=y > > CONFIG_KEXEC_CORE=y > > CONFIG_KEXEC_FILE=y > > CONFIG_CRASH_DUMP=y > > === > > Unfortunately, I do not quite realize what these testings were > and what is the difference between the two. Both these two testings have CONFIG_KEXEC=n, and building all passed. I wound't present their difference, but two cases where no CONFIG_KEXEC is set and no dependency on CONFIG_KEXEC is seen. > > > So drop the select of KEXEC now. > > I suggest dropping this patch. Once the previous two are upstream > we would remove 'select KEXEC' from Kconfig together with defconfig > updates. I see your concern, will drop this one in v2. Thanks for checking these. > > > Signed-off-by: Baoquan He <bhe@redhat.com> > > --- > > arch/s390/Kconfig | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig > > index 3bec98d20283..1aec2e692dca 100644 > > --- a/arch/s390/Kconfig > > +++ b/arch/s390/Kconfig > > @@ -217,7 +217,6 @@ config S390 > > select HAVE_VIRT_CPU_ACCOUNTING_IDLE > > select IOMMU_HELPER if PCI > > select IOMMU_SUPPORT if PCI > > - select KEXEC > > select MMU_GATHER_MERGE_VMAS > > select MMU_GATHER_NO_GATHER > > select MMU_GATHER_RCU_TABLE_FREE > > -- > > Thanks! >
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 3bec98d20283..1aec2e692dca 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -217,7 +217,6 @@ config S390 select HAVE_VIRT_CPU_ACCOUNTING_IDLE select IOMMU_HELPER if PCI select IOMMU_SUPPORT if PCI - select KEXEC select MMU_GATHER_MERGE_VMAS select MMU_GATHER_NO_GATHER select MMU_GATHER_RCU_TABLE_FREE