Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932430AbcJZRD4 (ORCPT ); Wed, 26 Oct 2016 13:03:56 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:33157 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753399AbcJZRDx (ORCPT ); Wed, 26 Oct 2016 13:03:53 -0400 Date: Wed, 26 Oct 2016 12:03:44 -0500 From: Reza Arbab To: Michael Ellerman Cc: Balbir Singh , Benjamin Herrenschmidt , Paul Mackerras , Rob Herring , Frank Rowand , Andrew Morton , Bharata B Rao , Nathan Fontenot , Stewart Smith , Alistair Popple , "Aneesh Kumar K.V" , Tang Chen , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v4 4/5] mm: make processing of movable_node arch-specific References: <1475778995-1420-1-git-send-email-arbab@linux.vnet.ibm.com> <1475778995-1420-5-git-send-email-arbab@linux.vnet.ibm.com> <235f2d20-cf84-08df-1fb4-08ee258fdc52@gmail.com> <20161025155507.37kv5akdlgo6m2be@arbab-laptop.austin.ibm.com> <112504e9-561d-e0da-7a40-73996c678b56@gmail.com> <20161026004929.h6v54dhehk4yvmwm@arbab-vm> <87vawfwfei.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <87vawfwfei.fsf@concordia.ellerman.id.au> Organization: IBM Linux Technology Center User-Agent: Mutt/1.6.2-neo (2016-08-21) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16102617-0056-0000-0000-000001BEB94E X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00005983; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000188; SDB=6.00773081; UDB=6.00371157; IPR=6.00549913; BA=6.00004835; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013108; XFM=3.00000011; UTC=2016-10-26 17:03:50 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16102617-0057-0000-0000-000005F1CBD5 Message-Id: <20161026170343.2sf6qkhetfzygqya@arbab-laptop.austin.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-26_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-1609300000 definitions=main-1610260293 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 887 Lines: 23 On Wed, Oct 26, 2016 at 09:52:53PM +1100, Michael Ellerman wrote: >> As far as I know, power has nothing like the SRAT that tells us, at >> boot, which memory is hotpluggable. > >On pseries we have the ibm,dynamic-memory device tree property, which >can contain ranges of memory that are not yet "assigned to the >partition" - ie. can be hotplugged later. > >So in general that statement is not true. > >But I think you're focused on bare-metal, in which case you might be >right. But that doesn't mean we couldn't have a similar property, if >skiboot/hostboot knew what the ranges of memory were going to be. Yes, sorry, I should have qualified that statement to say I wasn't talking about pseries. I can amend this set to actually implement movable_node on power too, but we'd have to settle on a name for the dt property. Is "linux,movable-node" too on the nose? -- Reza Arbab