]> 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)
commitbd81642f792a324ab82175c1cf15a91bab22e98c
treecd91fc00a78788c4dbc017bdf9df1f9e4375cf1e
parent48b4791b30a60c86eadcb8c60c773871f09c6a5d
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