diff options
author | Dan Williams <dan.j.williams@intel.com> | 2023-06-16 18:24:39 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-06-25 13:45:40 -0700 |
commit | adfe19738b71a893da62cb2e30bd6bdb4299ea67 (patch) | |
tree | 8b835f06608d62794b3fce9ccca0df007e99f002 /fs/coda | |
parent | 2ab47045ac96a605e3037d479a7d5854570ee5bf (diff) | |
download | linux-stable-adfe19738b71a893da62cb2e30bd6bdb4299ea67.tar.gz linux-stable-adfe19738b71a893da62cb2e30bd6bdb4299ea67.tar.bz2 linux-stable-adfe19738b71a893da62cb2e30bd6bdb4299ea67.zip |
cxl/region: Fix state transitions after reset failure
Jonathan reports that failed attempts to reset a region (teardown its
HDM decoder configuration) mistakenly advance the state of the region
to "not committed". Revert to the previous state of the region on reset
failure so that the reset can be re-attempted.
Reported-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Closes: http://lore.kernel.org/r/20230316171441.0000205b@Huawei.com
Fixes: 176baefb2eb5 ("cxl/hdm: Commit decoder state to hardware")
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/168696507968.3590522.14484000711718573626.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions