]> git.baikalelectronics.ru Git - kernel.git/commit
acpi, nfit: allow override of built-in bitmasks for nvdimm DSMs
authorLinda Knippers <linda.knippers@hpe.com>
Tue, 7 Mar 2017 21:35:12 +0000 (16:35 -0500)
committerDan Williams <dan.j.williams@intel.com>
Thu, 13 Apr 2017 04:56:40 +0000 (21:56 -0700)
commit02d4918c9770f9741a2350d061a8db53798b8680
treecd91fc00a78788c4dbc017bdf9df1f9e4375cf1e
parent09f95b4ec7b74498aa2ee1831b69ffea9179d1b7
acpi, nfit: allow override of built-in bitmasks for nvdimm DSMs

As it is today, we can't enable or test new NVDIMM management functions
provided by new firmware and tools without changing the kernel.  We also
can't prevent documented DSM functions from being called in the case of
buggy firmware.  This patch provides a module parameter that overrides
the DSM function mask that is built into the kernel.

If the "disable_vendor_specific" module parameter is also used we ignore
the new parameter.

Signed-off-by: Linda Knippers <linda.knippers@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c