From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E5CDC2D0EF for ; Fri, 17 Apr 2020 15:02:12 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 53EE22223C for ; Fri, 17 Apr 2020 15:02:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IAfXpYSO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53EE22223C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5BAB08E002A; Fri, 17 Apr 2020 11:02:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 544488E0023; Fri, 17 Apr 2020 11:02:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 40AEC8E002A; Fri, 17 Apr 2020 11:02:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0211.hostedemail.com [216.40.44.211]) by kanga.kvack.org (Postfix) with ESMTP id 289508E0023 for ; Fri, 17 Apr 2020 11:02:09 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id DBD6D824556B for ; Fri, 17 Apr 2020 15:02:08 +0000 (UTC) X-FDA: 76717662336.26.songs80_6a057f8d3d540 X-HE-Tag: songs80_6a057f8d3d540 X-Filterd-Recvd-Size: 3641 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by imf29.hostedemail.com (Postfix) with ESMTP for ; Fri, 17 Apr 2020 15:02:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587135727; 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=IAfXpYSOlTflSeTrG9RMIS9Bjb5PoOVvGEDQ28e5tZC3HNq9qCY2sbC5scMbkZa4rHaZsR QzrJT48WvPNlB5nENBOza2EXMkdUgpmCDK7gWL79GBMWbufsdSnjoz8iLOrPcmSl8Ctxzg hIa5TaLyI8eWDiYxAyHJl0dfHqteMZQ= 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 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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