acpi/nvdimm: Implement ACPI NVDIMM Label Methods
authorRobert Hoo <robert.hu@linux.intel.com>
Thu, 22 Sep 2022 12:21:54 +0000 (20:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Nov 2022 10:56:31 +0000 (06:56 -0400)
commit4ad44f624b1e9ba9073db4b8d963c379f71f7683
tree7dd635ead999b61e3cf88a8eb23880330b5d5341
parentd773f38be34d6f0c8bd627e3f961363108f43e45
acpi/nvdimm: Implement ACPI NVDIMM Label Methods

Recent ACPI spec [1] has defined NVDIMM Label Methods _LS{I,R,W}, which
deprecates corresponding _DSM Functions defined by PMEM _DSM Interface spec
[2].

Since the semantics of the new Label Methods are almost same as old _DSM
methods, the implementations here simply wrapper old ones.

ASL form diff can be found in next patch of updating golden master
binaries.

[1] ACPI Spec v6.4, 6.5.10 NVDIMM Label Methods
https://uefi.org/sites/default/files/resources/ACPI_Spec_6_4_Jan22.pdf
[2] Intel PMEM _DSM Interface Spec v2.0, 3.10 Deprecated Functions
https://pmem.io/documents/IntelOptanePMem_DSM_Interface-V2.0.pdf

Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Message-Id: <20220922122155.1326543-5-robert.hu@linux.intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/nvdimm.c