Skip to content

Fix DMA MMIO reentrancy issues

Goal

Find a generic way to fix the DMA reentrancy problem.

Technical details

DMA ring buffer might contains pointers to DMA MMIO region, and once the DMA is programmed it calls itself recursively.

Additional information

List of DMA reentrancy issues (usually found by fuzzer):

Usually coredump backtrace includes multiple calls to access_with_adjusted_size() from the Memory API.

Edited by Thomas Huth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information