nvdimm acpi: fix region format interface code
commit20fdef58a0daa8da21438b79663f7ada2c59ebbc
authorHaozhong Zhang <haozhong.zhang@intel.com>
Wed, 7 Jun 2017 08:06:39 +0000 (7 16:06 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 8 Jun 2017 19:02:36 +0000 (8 22:02 +0300)
tree88d1fe2fc35bc0b6b4a247060464a1b310b2e1ad
parent277238f9f41e0a429a24b05c03f3010b35c3e9d0
nvdimm acpi: fix region format interface code

Per ACPI 6.2, section 5.2.25.6 and JEDEC Annex L Release 3, the
current region format interface code 0x201 indicates the block
addressed function interface 1, rather than a byte addressable
interface. Fix it by using 0x301 which indicates the byte addressable
no energy backed function interface 1.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/acpi/nvdimm.c