The original NVDIMM _DSM functions (index 4~6) for label operations have been deprecated by new ACPI methods _LS{I,R,W}[1][2].
Patch 1 implements the new _LS{I,R,W} methods, on top of old _DSM implementation. Patch 2 fixes some typo of logical and/or with bitwise and/or, though functionally they haven't causing trouble. [1] https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/index.html, 6.5.10 NVDIMM Label Methods [2] https://pmem.io/documents/IntelOptanePMem_DSM_Interface-V2.0.pdf, 3.10 Deprecated Functions --- Resend for previous failed delivery to "qemu-devel@nongnu.org" due to 550-'Message headers fail syntax check'. Robert Hoo (2): acpi/nvdimm: Create _LS{I,R,W} method for NVDIMM device acpi/nvdimm: Fix aml_or() and aml_and() in if clause hw/acpi/nvdimm.c | 60 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 54 insertions(+), 6 deletions(-) base-commit: 95a3fcc7487e5bef262e1f937ed8636986764c4e -- 2.31.1