]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit095ab4b39f91b475b07c0028c7a6a25e3cea2a86
treecd91fc00a78788c4dbc017bdf9df1f9e4375cf1e
parent11e63f6d920d6f2dfd3cd421e939a4aec9a58dcd
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