Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp674678ybz; Fri, 17 Apr 2020 08:05:08 -0700 (PDT) X-Google-Smtp-Source: APiQypKUR8Dxhf+7ke/iMIVrgE182Iwyf3tt4cZZ6gPu6tXHCumLeYp64RANm4Pkb3nLT8gnLkwD X-Received: by 2002:a17:906:add7:: with SMTP id lb23mr3630736ejb.6.1587135908735; Fri, 17 Apr 2020 08:05:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587135908; cv=none; d=google.com; s=arc-20160816; b=pF01gCA+0VBweRE/WUB0kh/CBMwnonrUth6BERZ463FeILnv2kb3fO/Q5TFx027Fbo r65Dd418A0mbUcN/NPS1uaJZp0NsG8Ocwxf+MTPz3KKe0LQ8OsfxjfYkP99gk2gsJ2t5 OTaxgGVPwaNc0dLa/WLSRLQZwm4TuTum3sBnFMWcI8CFXkp4XEEnyzGtpJd72zn3tcJZ 8ILRlDjBjwV/aqIk6XH1CVFqqGnxDbmSt/3tkGsrMz4hXmJP+JX41kletu+r42oWFI2J sIaNjCSHzsLPfuVpKIG5XtvlNn3svqQ/bo2pcYVKaK+W+R+/gqPztZB6x33yuKBtF/4v bPyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xefEX7Y1nMqJoMT6fqIG0MZlY8K0HkA37+fDXJufNeQ=; b=Qd6o0vcJhjIyQYofkXPq7GKYpld1CHhMNbSzohd9CuYdVjbUqWvYfCvj/IWL+wCqRa mRPdq/qmNOw3DwIQ+hoFoFLjyOYjvPjK+z1VTiYuR/0k/CjG9GCAK/9vhCt5o067JWYN nGf9lB8Zl6tGRk+4uXMmov3rp7j0ZSjcF4H5gUl1VPs1p08RlPPUm86SWee+w0VgFA/0 RzUNJ58+ozINE4o/kIQ7RHdHgYBDcnTgU+r3WTdUTeAh+y0lFe5+3yIWXvSTxHVI2q3W PMjWBWglbU5+dWHm/vQaHfgEfFlHe27zSIoT+vqkPUx939xizRak8XLlG1jKFAy9bMM5 iSfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UKoJNQCK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id va12si2445048ejb.227.2020.04.17.08.04.34; Fri, 17 Apr 2020 08:05:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UKoJNQCK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728272AbgDQPCH (ORCPT + 99 others); Fri, 17 Apr 2020 11:02:07 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:58526 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728271AbgDQPCH (ORCPT ); Fri, 17 Apr 2020 11:02:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587135726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xefEX7Y1nMqJoMT6fqIG0MZlY8K0HkA37+fDXJufNeQ=; b=UKoJNQCK8y6B2wvEuygRGp8cv3WloIoWCGmrhKU4BO6MSfumpwDqQ05zdU3d/kd00J3W0a BgsCC8/lu/VGTrqxJK6etw+t3moM3WbdnHZ/v5QpeTLVFwjkT1CrsU342l7eg/OcghBgol Wk3NOxwme9gh/iR1mUylfkGYV8aE82g= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-469-rVvU9jVkNO2o7A1Qd4PeoQ-1; Fri, 17 Apr 2020 11:02:03 -0400 X-MC-Unique: rVvU9jVkNO2o7A1Qd4PeoQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 531888018A7; Fri, 17 Apr 2020 15:02:02 +0000 (UTC) Received: from t480s.redhat.com (ovpn-114-107.ams2.redhat.com [10.36.114.107]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5D3E59F9B5; Fri, 17 Apr 2020 15:02:00 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-s390@vger.kernel.org, David Hildenbrand , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Philipp Rudo , Michael Holzheu Subject: [PATCH RFC 2/2] s390/mm: don't set ARCH_KEEP_MEMBLOCK Date: Fri, 17 Apr 2020 17:01:51 +0200 Message-Id: <20200417150151.17239-3-david@redhat.com> In-Reply-To: <20200417150151.17239-1-david@redhat.com> References: <20200417150151.17239-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 50be63450728 ("s390/mm: Convert bootmem to memblock") mentions "The original bootmem allocator is getting replaced by memblock. To cover the needs of the s390 kdump implementation the physical memory list is used." zcore was converted to use resources instead of memblocks. memblock_discard() will *not* mess with "physmem", only with "memory" and "reserved" memblocks. So, that data will stay after early boot, to be used in arch/s390/kernel/crash_dump.c to create the ELF header from inside the 2nd (a.k.a. dumping) kernel. We no longer need ARCH_KEEP_MEMBLOCK. Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: Philipp Rudo Cc: Michael Holzheu Signed-off-by: David Hildenbrand --- arch/s390/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 8206b2c19aa8..122bf4cad8a5 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -102,7 +102,6 @@ config S390 select ARCH_INLINE_WRITE_UNLOCK_BH select ARCH_INLINE_WRITE_UNLOCK_IRQ select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE - select ARCH_KEEP_MEMBLOCK select ARCH_STACKWALK select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_SUPPORTS_NUMA_BALANCING --=20 2.25.1