diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-04-22 16:08:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-27 09:36:39 +0200 |
commit | be608583d9c4910877d7553d4240e998818c2d70 (patch) | |
tree | 45a63d46d75c14475c241f300ff2995845810775 /scripts/mod/file2alias.c | |
parent | 40221d56ae28eb0b3e86a482063b0e303903e397 (diff) |
nfit/ars: Avoid stale ARS results
commit 78153dd45e7e0596ba32b15d02bda08e1513111e upstream.
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: 0caeef63e6d2 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions