Bug 121161

Summary: Byte order of nvdimm fields read from ACPI NFIT table is reversed
Product: Drivers Reporter: kristin.jacque
Component: NVDIMMAssignee: drivers_nvdimm
Severity: normal CC: dan.j.williams, stellarhopper
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.7.0-0.rc4 Tree: Mainline
Regression: Yes

Description kristin.jacque 2016-06-29 19:00:32 UTC
Issue is in drivers/acpi/nfit.c. The byte order of nvdimm fields read from the NFIT is the reverse of what is expected. For example, returning nvdimm format 0x103, when 0x301 is expected.
Comment 1 Dan Williams 2016-06-29 21:25:26 UTC
Fix available:

Comment 2 Dan Williams 2016-07-01 22:41:28 UTC
Fix merged:

commit 1bcbf42d2732 nfit: fix format interface code byte order