Page MenuHomeFreeBSD

cxgbe: Mark rx'ed packets as initialized for KMSAN
ClosedPublic

Authored by markj on Sep 24 2021, 3:21 PM.
Tags
None
Referenced Files
F147589206: D32102.id95630.diff
Thu, Mar 12, 3:55 AM
F147555338: D32102.id95662.diff
Wed, Mar 11, 9:07 PM
Unknown Object (File)
Dec 29 2025, 1:16 AM
Unknown Object (File)
Dec 27 2025, 12:25 PM
Unknown Object (File)
Dec 11 2025, 2:00 AM
Unknown Object (File)
Nov 29 2025, 1:34 AM
Unknown Object (File)
Nov 20 2025, 10:31 PM
Unknown Object (File)
Nov 17 2025, 1:57 PM
Subscribers

Details

Summary

The KMSAN runtime needs to have its shadow maps updated when devices
update host memory, otherwise it assumes that device-populated memory is
uninitialized. For most drivers this is handled transparently by
busdma, but cxgbe doesn't make use of dma maps for receive buffers.

Reported by: mjg

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41698
Build 38587: arc lint + arc unit