• Dan Williams's avatar
    acpi/nfit: Require opt-in for read-only label configurations · 0171b6b7
    Dan Williams authored
    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: 11189c10 ("acpi/nfit: Fix command-supported detection")
    Reported-by: default avatarDexuan Cui <decui@microsoft.com>
    Reviewed-by: default avatarDexuan Cui <decui@microsoft.com>
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    0171b6b7
core.c 100 KB