diff options
| author | Dan Williams <dan.j.williams@intel.com> | 2022-06-03 16:43:48 -0700 |
|---|---|---|
| committer | Dan Williams <dan.j.williams@intel.com> | 2022-07-09 13:06:50 -0700 |
| commit | fe80f1ad593c84bf90299496b3f93ab998ba70ad (patch) | |
| tree | c71c7588ede8eb22e9393455888c73af7b97bb95 /tools/perf/scripts/python/bin | |
| parent | tools/testing/cxl: Fix cxl_hdm_decode_init() calling convention (diff) | |
| download | linux-fe80f1ad593c84bf90299496b3f93ab998ba70ad.tar.gz linux-fe80f1ad593c84bf90299496b3f93ab998ba70ad.zip | |
cxl/port: Keep port->uport valid for the entire life of a port
The upcoming region provisioning implementation has a need to
dereference port->uport during the port unregister flow. Specifically,
endpoint decoders need to be able to lookup their corresponding memdev
via port->uport.
The existing ->dead flag was added for cases where the core was
committed to tearing down the port, but needed to drop locks before
calling device_unregister(). Reuse that flag to indicate to
delete_endpoint() that it has no "release action" work to do as
unregister_port() will handle it.
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Adam Manzanares <a.manzanares@samsung.com>
Link: https://lore.kernel.org/r/165603871491.551046.6682199179541194356.stgit@dwillia2-xfh
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
