]> 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)
commit101959e253657028695553b408838d963f359812
tree4c5c249460e99c8ca4e429cf0cac0ceb4018ce1b
parent94d7a1f5db336400539d53c4e1493f05ad047d95
nfit: make DIMM DSMs optional

Commit 44bdc404604d "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 44bdc404604d, 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: 44bdc404604d ("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