diff options
author | Dan Williams <[email protected]> | 2022-03-14 18:22:33 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2022-04-12 19:11:58 -0700 |
commit | fbaf2b079d2a0a9c7114fbd4d1c0f3dd7a3cb3ad (patch) | |
tree | 486c3fb2116b76fa06636da11dab3027d4049b09 /lib/debugobjects.c | |
parent | e39f9be08d9dfe685c8a325ac1755c04f383effc (diff) |
cxl/mem: Make cxl_dvsec_range() init failure fatal
In preparation for the cxl_pci driver to continue operation after
cxl_dvsec_range() failure, update cxl_mem to check for negative error
codes in info->ranges. Treat that condition as fatal regardless of the
state of the HDM configuration since cxl_mem needs positive confirmation
that legacy ranges were not established by platform firmware or another
agent.
Reviewed-by: Jonathan Cameron <[email protected].
Reviewed-by: Ben Widawsky <[email protected]>
Reviewed-by: Davidlohr Bueso <[email protected]>
Link: https://lore.kernel.org/r/164730735324.3806189.4167509857771192422.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions