From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762227AbcINUHL (ORCPT ); Wed, 14 Sep 2016 16:07:11 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:58418 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753970AbcINUHH (ORCPT ); Wed, 14 Sep 2016 16:07:07 -0400 X-IBM-Helo: d03dlp01.boulder.ibm.com X-IBM-MailFrom: arbab@linux.vnet.ibm.com X-IMSS-HAND-OFF-DIRECTIVE: 127.0.0.1:10026 From: Reza Arbab To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Rob Herring , Frank Rowand , Jonathan Corbet , Andrew Morton Cc: Bharata B Rao , Nathan Fontenot , Stewart Smith , Alistair Popple , Balbir Singh , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH v2 0/3] powerpc/mm: movable hotplug memory nodes Date: Wed, 14 Sep 2016 15:06:55 -0500 X-Mailer: git-send-email 1.8.3.1 X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16091420-0028-0000-0000-0000059593FA X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00005760; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000185; SDB=6.00757694; UDB=6.00359416; IPR=6.00531225; BA=6.00004727; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00012673; XFM=3.00000011; UTC=2016-09-14 20:07:05 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16091420-0029-0000-0000-00002F390582 Message-Id: <1473883618-14998-1-git-send-email-arbab@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-14_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609020000 definitions=main-1609140268 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These changes enable onlining memory into ZONE_MOVABLE on power, and the creation of discrete nodes of movable memory. We provide a way to describe the extents and numa associativity of such a node in the device tree, yet still defer the memory addition to take place post-boot through hotplug. In v1, this patchset introduced a new dt compatible id to explicitly create a memoryless node at boot. Here, things have been simplified to be applicable regardless of the status of node hotplug on power. We still intend to enable hotadding a pgdat, but that's now untangled as a separate topic. v2: * Use the "status" property of standard dt memory nodes instead of introducing a new "ibm,hotplug-aperture" compatible id. * Remove the patch which explicitly creates a memoryless node. This set no longer has any bearing on whether the pgdat is created at boot or at the time of memory addition. v1: * http://lkml.kernel.org/r/1470680843-28702-1-git-send-email-arbab@linux.vnet.ibm.com Reza Arbab (3): drivers/of: recognize status property of dt memory nodes powerpc/mm: allow memory hotplug into a memoryless node mm: enable CONFIG_MOVABLE_NODE on powerpc Documentation/kernel-parameters.txt | 2 +- arch/powerpc/mm/numa.c | 13 +------------ drivers/of/fdt.c | 8 ++++++++ mm/Kconfig | 2 +- 4 files changed, 11 insertions(+), 14 deletions(-) -- 1.8.3.1