linux/drivers/acpi/nfit
Dan Williams 0171b6b781 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: 11189c1089 ("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>
2019-02-12 20:14:15 -08:00
..
core.c acpi/nfit: Require opt-in for read-only label configurations 2019-02-12 20:14:15 -08:00
intel.c acpi/nfit, libnvdimm/security: add Intel DSM 1.8 master passphrase support 2018-12-21 12:44:41 -08:00
intel.h acpi/nfit, libnvdimm: Introduce nvdimm_security_ops 2018-12-13 17:54:13 -08:00
Kconfig acpi/nfit: Add support for Intel DSM 1.8 commands 2018-12-04 10:31:11 -08:00
Makefile acpi/nfit, libnvdimm: Introduce nvdimm_security_ops 2018-12-13 17:54:13 -08:00
mce.c acpi/nfit, x86/mce: Validate a MCE's address before using it 2018-11-06 19:13:26 +01:00
nfit.h nfit: Add Hyper-V NVDIMM DSM command set to white list 2019-01-29 22:09:31 -08:00