]> git.baikalelectronics.ru Git - kernel.git/commit
nfit: make DIMM DSMs optional
authorDan Williams <dan.j.williams@intel.com>
Tue, 19 Jul 2016 19:32:39 +0000 (12:32 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 19 Jul 2016 19:32:39 +0000 (12:32 -0700)
commit62efb6ba02cad0a679ec5bc6db209acd53d4098d
tree4c5c249460e99c8ca4e429cf0cac0ceb4018ce1b
parent67cdf5a8c0d1e87063033bea9387a1c64c63e552
nfit: make DIMM DSMs optional

Commit 1a543750fa20 "acpi, nfit: fix acpi_check_dsm() vs zero functions
implemented" attempted to fix a QEMU regression by supporting its usage
of a zero-mask as a valid response to a DSM-family probe request.
However, this behavior breaks HP platforms that return a zero-mask by
default causing the probe to misidentify the DSM-family.

Instead, the QEMU regression can be fixed by simply not requiring the DSM
family to be identified.

This effectively reverts commit 1a543750fa20, and removes the DSM
requirement from the init path.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Cc: Linda Knippers <linda.knippers@hpe.com>
Fixes: 1a543750fa20 ("acpi, nfit: fix acpi_check_dsm() vs zero functions implemented")
Reported-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Tested-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c
drivers/acpi/utils.c