]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
authorDan Williams <dan.j.williams@intel.com>
Wed, 13 Feb 2019 16:58:40 +0000 (08:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 19:09:53 +0000 (20:09 +0100)
commite6defe76600be4a89f60804f9c7aea019da313fe
treebb927e1c35b4a2e2c251da4fc389d5738be84060
parentf5878c4f084dc6b1386dad03970bb61ad5e9dc4b
nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot

commit c6c5df293bf1b488cf8459aac658aecfdccb13a9 upstream.

If query-ARS reports that ARS has stopped and requires continuation
attempt to retrieve short-ARS results before continuing the long
operation.

Fixes: bc6ba8085842 ("nfit, address-range-scrub: rework and simplify ARS...")
Cc: <stable@vger.kernel.org>
Reported-by: Krzysztof Rusocki <krzysztof.rusocki@intel.com>
Reviewed-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/nfit/core.c