diff options
author | Dan Williams <dan.j.williams@intel.com> | 2023-04-14 21:53:55 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-04-18 20:32:46 +0300 |
commit | 7701c8bef4f14bd9f7940c6ed0e6a73584115a96 (patch) | |
tree | 6e6691506cba8aff5ac9f773ac99355499e3815d /tools/perf/scripts/python/stackcollapse.py | |
parent | 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d (diff) | |
download | linux-7701c8bef4f14bd9f7940c6ed0e6a73584115a96.tar.xz |
cxl/hdm: Fail upon detecting 0-sized decoders
Decoders committed with 0-size lead to later crashes on shutdown as
__cxl_dpa_release() assumes a 'struct resource' has been established in
the in 'cxlds->dpa_res'. Just fail the driver load in this instance
since there are deeper problems with the enumeration or the setup when
this happens.
Fixes: 9c57cde0dcbd ("cxl/hdm: Enumerate allocated DPA")
Cc: <stable@vger.kernel.org>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Link: https://lore.kernel.org/r/168149843516.792294.11872242648319572632.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions