summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorAlison Schofield <alison.schofield@intel.com>2026-07-13 19:04:35 -0700
committerDave Jiang <dave.jiang@intel.com>2026-07-14 09:03:36 -0700
commita623128bc2a1c257cbad97d0582f355fbe7be927 (patch)
treeb3f842b183c202da7a6f154da0593c071f6579d8 /scripts/stackusage
parent77b814c1832fde018c30357b4ec3fcdaa91a1c10 (diff)
downloadlinux-a623128bc2a1c257cbad97d0582f355fbe7be927.tar.gz
linux-a623128bc2a1c257cbad97d0582f355fbe7be927.zip
cxl/port: Restart port enumeration when a sibling adds the dport first
Endpoint probes can race while enumerating a shared switch. If a sibling probe adds the dport first, the losing probe finds the dport already present, gets -EBUSY, and fails to enumerate the endpoint. Treat this race the same as the existing port-created case by restarting the port walk, allowing it to find the existing dport and continue enumeration. This race was discovered while testing a cxl_test mixed-granularity topology, where twelve endpoints behind shared switches are probed in parallel during module load. Fixes: 4f06d81e7c6a ("cxl: Defer dport allocation for switch ports") Signed-off-by: Alison Schofield <alison.schofield@intel.com> Tested-by: Li Ming <ming.li@zohomail.com> Reviewed-by: Li Ming <ming.li@zohomail.com> Link: https://patch.msgid.link/20260714020438.1822669-1-alison.schofield@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions