summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorLi Ming <ming.li@zohomail.com>2026-02-23 19:29:00 +0300
committerDave Jiang <dave.jiang@intel.com>2026-02-23 19:31:07 +0300
commit822655e6751dde2df7ddaa828c5aba217726c5a2 (patch)
treef42881a7af4551d089e006e93756662274083d4b /include/linux/workqueue_api.h
parent318c58852e686c009825ae8c071080b9ccdd2af0 (diff)
downloadlinux-822655e6751dde2df7ddaa828c5aba217726c5a2.tar.xz
cxl/port: Introduce port_to_host() helper
In CXL subsystem, a port has its own host device for the port creation and removal. The host of CXL root and all the first level ports is the platform firmware device, the host of other ports is their parent port's device. Create this new helper to much easier to get the host of a cxl port. Introduce port_to_host() and use it to replace all places where using open coded to get the host of a port. Remove endpoint_host() as its functionality can be replaced by port_to_host(). [dj: Squashed commit 1 and 3 in the series to commit 1. ] Signed-off-by: Li Ming <ming.li@zohomail.com> Tested-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Link: https://patch.msgid.link/20260210-fix-port-enumeration-failure-v3-1-06acce0b9ead@zohomail.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions