nvdimm acpi: build ACPI nvdimm devices
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 2 Dec 2015 07:20:59 +0000 (15:20 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 16:39:20 +0000 (18:39 +0200)
commit772863954ca360cc67654ab781f20784bc299b95
treef13e62da1f7c36a8c99d0a841fdfb2166a83c3be
parent87252e1b61cb6e651da6cd3e9996ade8bd59a388
nvdimm acpi: build ACPI nvdimm devices

NVDIMM devices is defined in ACPI 6.0 9.20 NVDIMM Devices

There is a root device under \_SB and specified NVDIMM devices are under the
root device. Each NVDIMM device has _ADR which returns its handle used to
associate MEMDEV structure in NFIT

Currently, we do not support any function on _DSM, that means, NVDIMM
label data has not been supported yet

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/nvdimm.c