]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm, testing: update the default smart ctrl_temperature
authorVishal Verma <vishal.l.verma@intel.com>
Thu, 8 Feb 2018 21:24:05 +0000 (14:24 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 6 Apr 2018 03:12:00 +0000 (20:12 -0700)
commitb84b40ec5eb769042ef7ee5aa1dc85d38429e6e3
tree8a8d7c0890770709d5c797a567baac3e6a6b2246
parentd7f059b8be54e75a2412047cc952e7b27ca422d3
libnvdimm, testing: update the default smart ctrl_temperature

The default value for smart ctrl_temperature was the same as the
threshold for ctrl_temperature. As a result, any arbitrary smart
injection to the nfit_test dimm could cause this alarm to trigger
and cause an acpi notification. Drop the default value to below the
threshold, so that unrelated injections don't trigger notifications.

Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/nfit.c