Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp674373ybz; Fri, 17 Apr 2020 08:04:54 -0700 (PDT) X-Google-Smtp-Source: APiQypIMbuXACODConZ6QxDdJQtSnovBaakohh/U6Tp860jcIcj4y9H1f9FoS9cdi/dUxAcHCMnU X-Received: by 2002:a17:906:3481:: with SMTP id g1mr3321294ejb.305.1587135894136; Fri, 17 Apr 2020 08:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587135894; cv=none; d=google.com; s=arc-20160816; b=lrqol1VAMFiS+KIpG+g3Yc+TQF6JnYCTEnNp65ESYXSoucfubn/41/MM93UPvOtbgy BlO3brr9IxOODu9lEKdhXWb3uMTvYdaOt9d/63W+HYdWG2C/c53cP8aBn4NsvO64glJ7 VgZ+odjGREusGBpuapvN6D9z7oe/K73JE7QrmsJ6Iy+txTww7kFbE234C6u046vBZnK5 ITCe4Ai5bun4lmQ/Kfo99TJ/qDYYGTzc2dTtJek/Xtj3rjGgiR23xW2Miu/ArHxbZDBo fZZ905lrnvPB+iYOuyqi1s/9p1vqGp8urFpOwUqJ5fkgo3Rjt/9IyPvrnNFWf1/p5moQ cS3A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=zAUQ1fejVgK8xdiFLC8Kzo6yupRq84Rn11njknDDfkc=; b=cW3g3CjrMhb/xfMMZ30i1RQ7xD9cmQCcySGjCgbRfXtdSNzB/NmOJXj87ck1U+5LoM QJy0I2MPzxBz69B9zQLvRL7e0PE1P8MfVzPlF9ThWPqBHa27oKrWNFybVnlvf3E5LiO1 s3iDcHt/BO4UI7ILA1jpFr99yJlAafbkuoY/0fxGiIAnUzq60qx6asf4E3SnwBFKpjIv uJwvIhrRrdsnCMTQM8bCkxDiXMCPgoQCVH6mesWbr5RV3Mf1wG2zJspvn1fF6OQM9hax 5Px6g870QhOWNhBzpng+voe9mi3YVrowKkWF4lkqexySJJ48esycytF/V5GPyX+UjbvG wL5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OotAlMJE; 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 dn14si18288288ejc.261.2020.04.17.08.04.17; Fri, 17 Apr 2020 08:04:54 -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=OotAlMJE; 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 S1728434AbgDQPCN (ORCPT + 99 others); Fri, 17 Apr 2020 11:02:13 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:58205 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728381AbgDQPCI (ORCPT ); Fri, 17 Apr 2020 11:02:08 -0400 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; bh=zAUQ1fejVgK8xdiFLC8Kzo6yupRq84Rn11njknDDfkc=; b=OotAlMJETxPt9KIPFVhd4AOsVRSMq29/PVkTkjyC9xHqo43R9l6+W63RCa5kStqCTG4PM1 0kGBYbS0537F4w11OHPWa/ZCppSpL5R9l8tW8kftGdYZC8ScBHT3JYAkzvvdPoQMOxapGZ xOSitaEARzZQ7drDjNrDbruxLhL3hfo= 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-86-qKoBkKQ3NGO4Eh09TUhtLQ-1; Fri, 17 Apr 2020 11:01:59 -0400 X-MC-Unique: qKoBkKQ3NGO4Eh09TUhtLQ-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 A34BE800D5C; Fri, 17 Apr 2020 15:01:57 +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 BC3C8A09B9; Fri, 17 Apr 2020 15:01:52 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-s390@vger.kernel.org, David Hildenbrand , Christian Borntraeger , Heiko Carstens , Kirill Smelkov , Michael Holzheu , Philipp Rudo , Vasily Gorbik Subject: [PATCH RFC 0/2] s390/mm: don't set ARCH_KEEP_MEMBLOCK Date: Fri, 17 Apr 2020 17:01:49 +0200 Message-Id: <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 Looking into why we still create memblocks for hotplugged memory (via add_memory()), I discovered that we might not need ARCH_KEEP_MEMBLOCK on s390x after all. After [1] we will no longer create memblocks for hotplugged memory in case of !CONFIG_ARCH_KEEP_MEMBLOCK. With this series, the same will apply to standby memory on s390x, added via add_memory(). [1] https://lkml.kernel.org/r/20200416104707.20219-1-david@redhat.com David Hildenbrand (2): s390/zcore: traverse resources instead of memblocks s390/mm: don't set ARCH_KEEP_MEMBLOCK arch/s390/Kconfig | 1 - drivers/s390/char/zcore.c | 61 ++++++++++++++++++++++++++++++--------- 2 files changed, 48 insertions(+), 14 deletions(-) --=20 2.25.1