]> git.baikalelectronics.ru Git - kernel.git/commit
nfit: skip region registration for incomplete control regions
authorDan Williams <dan.j.williams@intel.com>
Thu, 22 Mar 2018 04:22:34 +0000 (21:22 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 22 Mar 2018 04:39:27 +0000 (21:39 -0700)
commit51e4516e184910070ef409d7a2a8445df3d827e8
tree994289334020ae59a90f9d62aef6202558a47ea3
parent0b6194e3d34d929b43d69cfb1a3644f4b5989457
nfit: skip region registration for incomplete control regions

Per the ACPI specification the only functional purpose for a DIMM
Control Region to be mapped into the system physical address space, from
an OSPM perspective, is to support block-apertures. However, there are
some BIOSen that publish DIMM Control Region SPA entries for pre-boot
environment consumption.  Undo the kernel policy of generating disabled
'ndblk' regions when this configuration is detected.

Cc: <stable@vger.kernel.org>
Fixes: 9f7aa8bce593 ("libnvdimm, nfit: regions (block-data-window...)")
Reviewed-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c