aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/NamedStreamMap.cpp
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-09-03 11:31:42 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-09-17 00:01:22 +0000
commitb272b2a94d983900c94168c5f41256869b0371b1 (patch)
tree41e8be97273ae71daee5c9163dfc2456f6087a28 /contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/NamedStreamMap.cpp
parent0380d016d9ba407af12eb743b7c5806d49ddf848 (diff)
ice: Use sleepable locks in shared codeHEADmain
The Intel shared code can wait for firmware resources while holding its OS abstraction locks. FreeBSD mapped these locks to mutexes, which cannot be held across a voluntary sleep. Concurrent PF rebuilds therefore trigger WITNESS when RSS profile updates contend for the firmware change lock. Map the shared-code lock abstraction to exclusive sx locks. This also covers tunnel and flow-profile operations which can reach the same firmware wait while serialized. Validated with WITNESS on a dual port Intel E835. Sixteen CORE resets rebuilt both PFs without lock warnings, reset failures, or watchdogs. Ten interface down/up cycles and twenty promiscuous-filter cycles also completed cleanly. Reviewed by: erj MFC after: 2 weeks Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D59339
Diffstat (limited to 'contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/NamedStreamMap.cpp')
0 files changed, 0 insertions, 0 deletions