This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5726: MMU fault while running OpenCL on DSP

Part Number: AM5726


Hi,

We are using AM57XX EVM, and we are running some operation on DSP using Opencl.

We are using ti-processor-sdk-linux-am57xx-evm-03.02.00.05 SDK and components in it (u-boot. kernel. etc).

We are getting error logs like mmu fault has been occurred.  The logs are attached below.

After making hard power on & off, if we make DSP operation the error goes out.

Please suggest us to where to do change or  not. Please help us.

Thanks,

Pankil

Logs :

recvfrom failed: Link has been severed (67)
rpmsgThreadFxn: transportGet failed on fd 13, returned -20
TIOCL FATAL: Communication to a DSP has been lost (likely due to an MMU fault). Please wait while the DSPs are reset and the runtime attempts to terminate. A reboot may be required befo
re running another OpenCL application if this fails. See the kernel log for fault information.
Minicom2.7.258840] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 35.367378] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 35.373344] remoteproc2: stopped remote processor 40800000.dsp
[ 35.411735] remoteproc2: powering up 40800000.dsp
[ 35.416557] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21998880
[ 35.432512] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 35.438406] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 35.444359] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 35.463136] remoteproc2: remote processor 40800000.dsp is now up
[ 35.469680] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 35.475216] remoteproc2: registered virtio2 (type 7)
[ 35.485131] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
[ 35.492465] omap-rproc 40800000.dsp: received echo reply from 40800000.dsp
[ 36.270495] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 36.283471] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 36.291244] remoteproc2: stopped remote processor 40800000.dsp
[ 36.297358] remoteproc2: releasing 40800000.dsp
[ 36.304362] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 36.313601] remoteproc2: 40800000.dsp is available
[ 36.319434] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 36.329356] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 36.381156] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
[ 36.394160] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 36.400417] remoteproc2: powering up 40800000.dsp
[ 36.405234] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21998880
[ 36.408483] remoteproc3: stopped remote processor 41000000.dsp
[ 36.419408] remoteproc3: releasing 41000000.dsp
[ 36.424708] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[ 36.425568] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 36.425611] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 36.425685] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 36.450499] remoteproc3: 41000000.dsp is available
[ 36.455421] remoteproc3: Note: remoteproc is still under development and considered experimental.
[ 36.464527] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 36.467222] remoteproc2: remote processor 40800000.dsp is now up
[ 36.477122] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 36.477169] remoteproc2: registered virtio2 (type 7)
[ 36.491819] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
[ 36.525129] remoteproc3: powering up 41000000.dsp
[ 36.530071] remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21998880
[ 36.543896] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 36.549786] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[ 36.555720] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[ 36.571958] remoteproc3: remote processor 41000000.dsp is now up
[ 36.578480] virtio_rpmsg_bus virtio3: rpmsg host is online
[ 36.578632] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d