qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/3] nvdimm: hotplug support
@ 2016-11-03  3:51 Xiao Guangrong
  2016-11-03  3:51 ` [Qemu-devel] [PATCH v4 1/3] nvdimm acpi: introduce fit buffer Xiao Guangrong
                   ` (3 more replies)
  0 siblings, 4 replies; 30+ messages in thread
From: Xiao Guangrong @ 2016-11-03  3:51 UTC (permalink / raw)
  To: pbonzini, imammedo
  Cc: gleb, mtosatti, stefanha, mst, rth, ehabkost, dan.j.williams, kvm,
	qemu-devel, Xiao Guangrong

Resend these 3 patches to catch up release window...

Igor,

this is a open that i did not pass a buffer as parameter to RFIT as
tried the way you suggested, but failed. May be i am not very good at
ASL, i need more time to try. So let's keep the way as it is, i will
improve it later.

Thanks!

Changelog in v4:
   1) drop fit lock and post_hotplug_cb
   2) move nvdimm hotplug code to hw/acpi/nvdimm.c
   3) introduce length field to indicate the fit size
   4) nvdimm acpi cleanup
   5) doc typo fixes

Changelog in v3:
   1) use a dedicated interrupt for nvdimm device hotplug
   2) stop nvdimm device hot unplug
   3) reserve UUID and handle for QEMU internally used QEMU
   5) redesign fit buffer to avoid OSPM reading incomplete fit info
   6) bug fixes and cleanups

Changelog in v2:
   Fixed signed integer overflow pointed out by Stefan Hajnoczi

This patchset enables nvdimm hotplug support, it is used as pc-dimm hotplug,
for example, a new nvdimm device can be plugged as follows:
object_add memory-backend-file,id=mem3,size=10G,mem-path=/home/eric/nvdimm3
device_add nvdimm,id=nvdimm3,memdev=mem3

and unplug it as follows:
device_del nvdimm3

Xiao Guangrong (3):
  nvdimm acpi: introduce fit buffer
  nvdimm acpi: introduce _FIT
  pc: memhp: enable nvdimm device hotplug

 default-configs/mips-softmmu-common.mak |   1 +
 docs/specs/acpi_nvdimm.txt              |  68 +++++++-
 hw/acpi/ich9.c                          |   8 +-
 hw/acpi/nvdimm.c                        | 289 ++++++++++++++++++++++++++++----
 hw/acpi/piix4.c                         |   7 +-
 hw/i386/acpi-build.c                    |   9 +-
 hw/i386/pc.c                            |  16 ++
 hw/mem/nvdimm.c                         |   4 -
 include/hw/acpi/acpi_dev_interface.h    |   1 +
 include/hw/mem/nvdimm.h                 |  22 ++-
 10 files changed, 377 insertions(+), 48 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2016-11-03 17:54 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-03  3:51 [Qemu-devel] [PATCH v4 0/3] nvdimm: hotplug support Xiao Guangrong
2016-11-03  3:51 ` [Qemu-devel] [PATCH v4 1/3] nvdimm acpi: introduce fit buffer Xiao Guangrong
2016-11-03 10:00   ` Stefan Hajnoczi
2016-11-03  9:58     ` Xiao Guangrong
2016-11-03 11:02   ` Igor Mammedov
2016-11-03 11:09     ` Xiao Guangrong
2016-11-03 12:29       ` Igor Mammedov
2016-11-03  3:51 ` [Qemu-devel] [PATCH v4 2/3] nvdimm acpi: introduce _FIT Xiao Guangrong
2016-11-03  9:53   ` Stefan Hajnoczi
2016-11-03 10:08     ` Xiao Guangrong
2016-11-03 12:30       ` Igor Mammedov
2016-11-03 11:58   ` Igor Mammedov
2016-11-03 12:21     ` Xiao Guangrong
2016-11-03 13:00       ` Igor Mammedov
2016-11-03 13:02         ` Xiao Guangrong
2016-11-03 14:49           ` Igor Mammedov
2016-11-03 14:53             ` Xiao Guangrong
2016-11-03 16:13               ` Igor Mammedov
2016-11-03 16:17                 ` Xiao Guangrong
2016-11-03 16:49                   ` Igor Mammedov
2016-11-03 16:53                     ` Xiao Guangrong
2016-11-03 17:29                       ` Igor Mammedov
2016-11-03 17:39                         ` Xiao Guangrong
2016-11-03 17:54                           ` Igor Mammedov
2016-11-03  3:51 ` [Qemu-devel] [PATCH v4 3/3] pc: memhp: enable nvdimm device hotplug Xiao Guangrong
2016-11-03 12:51   ` Igor Mammedov
2016-11-03 12:54     ` Xiao Guangrong
2016-11-03  4:14 ` [Qemu-devel] [PATCH v4 0/3] nvdimm: hotplug support Michael S. Tsirkin
2016-11-03  4:25   ` Xiao Guangrong
2016-11-03  4:51     ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).