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
Unknown Object (File)
Fri, Mar 21, 9:57 AM
Unknown Object (File)
Sun, Mar 9, 4:14 AM
Unknown Object (File)
Mar 3 2025, 8:49 AM
Unknown Object (File)
Mar 2 2025, 2:53 PM
Unknown Object (File)
Feb 24 2025, 2:57 AM
Unknown Object (File)
Feb 16 2025, 3:15 PM
Unknown Object (File)
Feb 4 2025, 2:19 AM
Unknown Object (File)
Jan 25 2025, 4:51 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable