diff options
author | Dan Williams <dan.j.williams@intel.com> | 2022-01-25 21:24:09 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-02-08 23:15:10 -0800 |
commit | 7004cc9d1585fb7fc9ec7e3e92b70b65e13b11fd (patch) | |
tree | b42cecc5e81e7c4bf4ca760ae0fea49b944c11d2 /Makefile | |
parent | 0909b4e5287bcda34f00da878ac1f37a0921d959 (diff) | |
download | linux-7004cc9d1585fb7fc9ec7e3e92b70b65e13b11fd.tar.gz linux-7004cc9d1585fb7fc9ec7e3e92b70b65e13b11fd.tar.bz2 linux-7004cc9d1585fb7fc9ec7e3e92b70b65e13b11fd.zip |
cxl/core/port: Handle invalid decoders
In case init_hdm_decoder() finds invalid settings, skip to the next
valid decoder. Only fail port enumeration if zero valid decoders are
found. This protects the driver init against broken hardware and / or
future interleave capabilities.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/164317464918.3438644.12371149695618136198.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions