nfit/ars: Avoid stale ARS results
Gate ARS result consumption on whether the OS issued start-ARS since the previous consumption. The BIOS may only clear its result buffers after a successful start-ARS. Fixes: 0caeef63 ("libnvdimm: Add a poison list and export badblocks") Cc: <stable@vger.kernel.org> Reported-by:Krzysztof Rusocki <krzysztof.rusocki@intel.com> Reported-by:
Vishal Verma <vishal.l.verma@intel.com> Reviewed-by:
Toshi Kani <toshi.kani@hpe.com> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
Showing
Please register or sign in to comment