• Linus Torvalds's avatar
    Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 3d7b3654
    Linus Torvalds authored
    Pull libnvdimm fixes from Dan Williams:
    
     - Two fixes for compatibility with the ACPI 6.1 specification.
    
       Without these fixes multi-interface DIMMs will fail to be probed, and
       address range scrub commands to find memory errors will give results
       that the kernel will mis-interpret.  For multi-interface DIMMs Linux
       will accept either the original 6.0 implementation or 6.1.
    
       For address range scrub we'll only support 6.1 since ACPI formalized
       this DSM differently than the original example [1] implemented in
       v4.2.  The expectation is that production systems will only ever ship
       the ACPI 6.1 address range scrub command definition.
    
     - The wider async address range scrub work targeting 4.6 discovered
       that the original synchronous implementation in 4.5 is not sizing its
       return buffer correctly.
    
     - Arnd caught that my recent fix to the size of the pfn_t flags missed
       updating the flags variable used in the pmem driver.
    
     - Toshi found that we mishandle the memremap() return value in
       devm_memremap().
    
    * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
      nvdimm: use 'u64' for pfn flags
      devm_memremap: Fix error value when memremap failed
      nfit: update address range scrub commands to the acpi 6.1 format
      libnvdimm, tools/testing/nvdimm: fix 'ars_status' output buffer sizing
      nfit: fix multi-interface dimm handling, acpi6.1 compatibility
    3d7b3654
memremap.c 11.2 KB