From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Hajnoczi Subject: Re: [PATCH v2 0/8] nvdimm: hotplug support Date: Fri, 12 Aug 2016 09:35:12 +0100 Message-ID: <20160812083512.GA10583@stefanha-x1.localdomain> References: <1470984850-66891-1-git-send-email-guangrong.xiao@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Cc: pbonzini@redhat.com, imammedo@redhat.com, gleb@kernel.org, mtosatti@redhat.com, stefanha@redhat.com, mst@redhat.com, rth@twiddle.net, ehabkost@redhat.com, dan.j.williams@intel.com, kvm@vger.kernel.org, qemu-devel@nongnu.org To: Xiao Guangrong Return-path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:32904 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751035AbcHLIfP (ORCPT ); Fri, 12 Aug 2016 04:35:15 -0400 Received: by mail-wm0-f66.google.com with SMTP id o80so1587418wme.0 for ; Fri, 12 Aug 2016 01:35:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1470984850-66891-1-git-send-email-guangrong.xiao@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 12, 2016 at 02:54:02PM +0800, Xiao Guangrong wrote: > This patchset is against commit c597dc90fbcd6 (virtio-net: allow increasi= ng > rx queue siz) on pci branch of Michael's git tree and can be found at: > https://github.com/xiaogr/qemu.git nvdimm-hotplug-v2 >=20 > Changelog in v2: > Fixed signed integer overflow pointed out by Stefan Hajnoczi >=20 > This patchset enables nvdimm hotplug support, it is used as pc-dimm hotpl= ug, > for example, a new nvdimm device can be plugged as follows: > object_add memory-backend-file,id=3Dmem3,size=3D10G,mem-path=3D/home/eric= /nvdimm3 > device_add nvdimm,id=3Dnvdimm3,memdev=3Dmem3 >=20 > and unplug it as follows: > device_del nvdimm3 > object_del mem3 >=20 > Xiao Guangrong (8): > acpi nvdimm: fix wrong buffer size returned by DSM method > nvdimm acpi: prebuild nvdimm devices for available slots > nvdimm acpi: introduce _FIT > nvdimm acpi: implement Read FIT function > pc-dimm: introduce prepare_unplug() callback > pc: memhp: do not export nvdimm's memory via _CRS > pc: acpi: memhp: nvdimm hotplug support > nvdimm docs: add nvdimm Read FIT function >=20 > docs/specs/acpi_mem_hotplug.txt | 4 +- > docs/specs/acpi_nvdimm.txt | 38 +++++++- > hw/acpi/ich9.c | 3 + > hw/acpi/memory_hotplug.c | 21 +++-- > hw/acpi/nvdimm.c | 195 +++++++++++++++++++++++++++++++++= ++---- > hw/acpi/piix4.c | 3 + > hw/i386/acpi-build.c | 28 +++++- > hw/mem/nvdimm.c | 12 ++- > hw/mem/pc-dimm.c | 5 + > include/hw/acpi/memory_hotplug.h | 1 + > include/hw/acpi/pc-hotplug.h | 1 + > include/hw/mem/nvdimm.h | 6 +- > include/hw/mem/pc-dimm.h | 1 + > 13 files changed, 278 insertions(+), 40 deletions(-) >=20 > --=20 > 1.8.3.1 >=20 > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Stefan Hajnoczi --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXrYpAAAoJEJykq7OBq3PIQ6sIAJY0/LM5fy6pGWjeuhWNBMKU 4b4E65guY+xBtza1ux6UbP/Dq8EcT/kGokjGkq/Eny25R8OZXHzXEByGdWnmA0ys yYSu+eTMWwvovDWEhFzAsN9w6fiwXiEzMT4UWDTrlgc4WCM/+AsAFkb+dbPhRagZ DHg5n4j1wnyRKLDdNtuNevqmtZO/2wOveoJb/wT/21/+iehBY2nNOkDmG6mS9Pc0 PW0h8bco0Z7po7SAwldsIURI7OxYRAAcbYoJMQJxN5g+yQloaBLPTnQHHJWDOkSo LAEdNTZdcDo006+O4uM/tVC+zqWTrBt8KzUE8xDJn4jcdImmpgGj75P3RXM75HM= =9pNm -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYE0U-0007Eq-OO for qemu-devel@nongnu.org; Fri, 12 Aug 2016 11:04:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYE0Q-00027m-Ha for qemu-devel@nongnu.org; Fri, 12 Aug 2016 11:04:21 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYE0Q-00027f-7I for qemu-devel@nongnu.org; Fri, 12 Aug 2016 11:04:18 -0400 Received: by mail-wm0-x244.google.com with SMTP id i5so3373145wmg.2 for ; Fri, 12 Aug 2016 08:04:18 -0700 (PDT) Date: Fri, 12 Aug 2016 09:35:12 +0100 From: Stefan Hajnoczi Message-ID: <20160812083512.GA10583@stefanha-x1.localdomain> References: <1470984850-66891-1-git-send-email-guangrong.xiao@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <1470984850-66891-1-git-send-email-guangrong.xiao@linux.intel.com> Subject: Re: [Qemu-devel] [PATCH v2 0/8] nvdimm: hotplug support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xiao Guangrong Cc: pbonzini@redhat.com, imammedo@redhat.com, gleb@kernel.org, mtosatti@redhat.com, stefanha@redhat.com, mst@redhat.com, rth@twiddle.net, ehabkost@redhat.com, dan.j.williams@intel.com, kvm@vger.kernel.org, qemu-devel@nongnu.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 12, 2016 at 02:54:02PM +0800, Xiao Guangrong wrote: > This patchset is against commit c597dc90fbcd6 (virtio-net: allow increasi= ng > rx queue siz) on pci branch of Michael's git tree and can be found at: > https://github.com/xiaogr/qemu.git nvdimm-hotplug-v2 >=20 > Changelog in v2: > Fixed signed integer overflow pointed out by Stefan Hajnoczi >=20 > This patchset enables nvdimm hotplug support, it is used as pc-dimm hotpl= ug, > for example, a new nvdimm device can be plugged as follows: > object_add memory-backend-file,id=3Dmem3,size=3D10G,mem-path=3D/home/eric= /nvdimm3 > device_add nvdimm,id=3Dnvdimm3,memdev=3Dmem3 >=20 > and unplug it as follows: > device_del nvdimm3 > object_del mem3 >=20 > Xiao Guangrong (8): > acpi nvdimm: fix wrong buffer size returned by DSM method > nvdimm acpi: prebuild nvdimm devices for available slots > nvdimm acpi: introduce _FIT > nvdimm acpi: implement Read FIT function > pc-dimm: introduce prepare_unplug() callback > pc: memhp: do not export nvdimm's memory via _CRS > pc: acpi: memhp: nvdimm hotplug support > nvdimm docs: add nvdimm Read FIT function >=20 > docs/specs/acpi_mem_hotplug.txt | 4 +- > docs/specs/acpi_nvdimm.txt | 38 +++++++- > hw/acpi/ich9.c | 3 + > hw/acpi/memory_hotplug.c | 21 +++-- > hw/acpi/nvdimm.c | 195 +++++++++++++++++++++++++++++++++= ++---- > hw/acpi/piix4.c | 3 + > hw/i386/acpi-build.c | 28 +++++- > hw/mem/nvdimm.c | 12 ++- > hw/mem/pc-dimm.c | 5 + > include/hw/acpi/memory_hotplug.h | 1 + > include/hw/acpi/pc-hotplug.h | 1 + > include/hw/mem/nvdimm.h | 6 +- > include/hw/mem/pc-dimm.h | 1 + > 13 files changed, 278 insertions(+), 40 deletions(-) >=20 > --=20 > 1.8.3.1 >=20 > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Stefan Hajnoczi --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXrYpAAAoJEJykq7OBq3PIQ6sIAJY0/LM5fy6pGWjeuhWNBMKU 4b4E65guY+xBtza1ux6UbP/Dq8EcT/kGokjGkq/Eny25R8OZXHzXEByGdWnmA0ys yYSu+eTMWwvovDWEhFzAsN9w6fiwXiEzMT4UWDTrlgc4WCM/+AsAFkb+dbPhRagZ DHg5n4j1wnyRKLDdNtuNevqmtZO/2wOveoJb/wT/21/+iehBY2nNOkDmG6mS9Pc0 PW0h8bco0Z7po7SAwldsIURI7OxYRAAcbYoJMQJxN5g+yQloaBLPTnQHHJWDOkSo LAEdNTZdcDo006+O4uM/tVC+zqWTrBt8KzUE8xDJn4jcdImmpgGj75P3RXM75HM= =9pNm -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--