HomeFreeBSD

busdma: Update KMSAN shadow maps later in bounce_bus_dmamap_sync()

Description

busdma: Update KMSAN shadow maps later in bounce_bus_dmamap_sync()

Otherwise POSTREAD syncs may re-invalidate the shadow of the data buffer
when copying from bounce pages, resulting in false-positive KMSAN
reports.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Apr 28 2023, 2:49 PM
Parents
rG56f2446575c7: Apply clang fix for assertion building emulators/rpcs3
Branches
Unknown
Tags
Unknown