Download LEON Linux User`s Manual

Transcript
LEON Linux User's Manual
15
4. Frequently Asked Questions
4.1. What causes DMA-API warnings on addresses 0xf0005000-0xf0007fff?
This memory region is part of the kernel text section and is used to store the trap tables for CPU1-CPU3. If
less than four CPUs are used, the memory containing the trap tables for the unused CPUs is freed and put
in the general memory pool. The DMA-API debug functionality (enabled by compiling the kernel with the
DMA_API_DEBUG option) issues a warning when memory from the kernel text section is used as part of
a DMA operation. This coarse check causes it to issue false warnings whenever the memory that formerly
held the trap tables is used.
Here is an example of such a warning message:
grlib-greth ffd0f610: DMA-API: device driver maps memory from kernel text or rodata [addr=f0006000] [len=1352]