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)
Wed, Oct 30, 4:30 AM
Unknown Object (File)
Fri, Oct 25, 8:25 AM
Unknown Object (File)
Oct 5 2024, 11:28 PM
Unknown Object (File)
Oct 5 2024, 11:58 AM
Unknown Object (File)
Oct 5 2024, 6:06 AM
Unknown Object (File)
Oct 5 2024, 3:30 AM
Unknown Object (File)
Oct 4 2024, 5:02 PM
Unknown Object (File)
Oct 3 2024, 10:18 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