From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4PDy-0002rt-Qz for qemu-devel@nongnu.org; Mon, 15 Jun 2015 03:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4PDs-0002rm-Ns for qemu-devel@nongnu.org; Mon, 15 Jun 2015 03:54:30 -0400 Received: from ozlabs.org ([103.22.144.67]:60325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4PDs-0002qZ-Cp for qemu-devel@nongnu.org; Mon, 15 Jun 2015 03:54:24 -0400 Date: Mon, 15 Jun 2015 16:35:59 +1000 From: David Gibson Message-ID: <20150615063559.GE13352@voom.redhat.com> References: <1434099628-18102-1-git-send-email-bharata@linux.vnet.ibm.com> <1434099628-18102-5-git-send-email-bharata@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7CZp05NP8/gJM8Cl" Content-Disposition: inline In-Reply-To: <1434099628-18102-5-git-send-email-bharata@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [RFC PATCH v1 4/4] numa: API to lookup NUMA node by address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bharata B Rao Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, ehabkost@redhat.com, imammedo@redhat.com --7CZp05NP8/gJM8Cl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 12, 2015 at 02:30:28PM +0530, Bharata B Rao wrote: > Introduce an API numa_get_node(ram_addr_t addr, Error **errp) that > returns the NUMA node to which the given address belongs to. This > API works uniformly for both boot time as well as hotplugged memory. >=20 > This API is needed by sPAPR PowerPC to support > ibm,dynamic-reconfiguration-memory device tree node which is needed for > memory hotplug. >=20 > Signed-off-by: Bharata B Rao Reviewed-by: David Gibson --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --7CZp05NP8/gJM8Cl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVfnJPAAoJEGw4ysog2bOSHNUP/03I2vDP4JEkHFE25e1iUt1c D+HzAqPGrb6wGErHHYD1s8b19DxhFHurH59YGOv5HZDMnWFtWUv9/glsNpLeVX4j 0YdeealJFjTlvUM60U+CToEjzQsky8Oyozg/gg8joSkq5P0WjXtwHo2+rBWcRHg0 ej0KQp17LtHeLfliR9hmWc3jMzprdYGM4Yu3iYiBE5b67zgnXWY8eFw2lAZl6J7x r0DCKaoH/ZX8xex82d1wYtJ7wojD/TxrSOnXo6nNHwDI5Cs/LRo+yCNIp+WCEVFm RQdkqA2C69D9LBPDqkxJOplvALKFD4Riu8uuAnlOZAfHRywYwQTQTlrO/EhP7umx 7ooN0dJXVY2yt72eIEtZxTlhR1zjorgHxTbwA0jvq4QKYJXm95qiGzdcD+Y112OW VdKURhlqmmfPZMD3FqObzcm/6P/YdRbEPXBqoFcOvVkJDp62BFnZ9nBbgU2H//Mx 0t1bPUFrfVnFB8HwBNERldQyFpEJGLpdbINitpcgDg8GO+ehwVnzm9LthIApOKrG e1d8AYDvwJwtgjwhl92ZLpUvaYbq0V6XCRgeaVbo2YmszY0WZA9D+iDUzyfjDWvc ckaZD+beF5TcFoTmqxSQRqWL0b9CuAYo0R7t+3sHgz9BoR18FoZuC5gpXQt2qyny dxe9mMaAyA38N40ViJMU =UdQg -----END PGP SIGNATURE----- --7CZp05NP8/gJM8Cl--