diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-02-03 11:17:27 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-02-12 20:14:15 -0800 |
commit | 0171b6b78131110a6870d4b7296bc9dfc392116a (patch) | |
tree | c2286a77005b66fe1895a0ba885ada2864a6b05a /drivers/nvdimm/btt.c | |
parent | d5d30d5a5c60628de5e77e3f292a8f9012d51350 (diff) |
acpi/nfit: Require opt-in for read-only label configurations
Recent fixes to command handling enabled Linux to read label
configurations that it could not before. Unfortunately that means that
configurations that were operating in label-less mode will be broken as
the kernel ignores the existing namespace configuration and tries to
honor the new found labels.
Fortunately this seems limited to a case where Linux can quirk the
behavior and maintain the existing label-less semantics by default.
When the platform does not emit an _LSW method, disable all label access
methods. Provide a 'force_labels' module parameter to allow read-only
label operation.
Fixes: 11189c1089da ("acpi/nfit: Fix command-supported detection")
Reported-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/btt.c')
0 files changed, 0 insertions, 0 deletions