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.

Linux/AM5728: Running PCIe RTOS demo from Linux

Part Number: AM5728

Tool/software: Linux

Hi,

TI,

I had tested the PCIE_idkAM572x_wSoCFile_C66BiosExampleProject RTOS demo using ccs.Now I want to run it on the linux.What the steps I should follow?

Here are some reference resources below the link.Are there any others steps?Did you run it on the linux?

BR,

vefone

  • The software team have been notified. They will respond here.
  • Hi,

    TI,

    I had add the ipc support into PCIE_idkAM572x_wSoCFile_C66BiosExampleProject RTOS demo.But when I load the demo into dsp1,it has some problem.
    root@am57xx-evm:~# [14766.482280] remoteproc2: powering up 40800000.dsp

    [14766.488738] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 5708180

    [14766.502512] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0

    [14766.508423] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0

    [14766.514637] omap-rproc 40800000.dsp: dma_alloc_coherent err: 83886080

    [14766.521103] remoteproc2: Failed to process resources: -12

    [14766.539862] remoteproc2: rproc_boot() failed -12

    [14766.544624] virtio_rpmsg_bus: probe of virtio7 failed with error -12

    [14766.551013] remoteproc2: registered virtio7 (type 7)

    Because the EXT_DATA segment of PCIE_idkAM572x_wSoCFile_C66BiosExampleProject RTOS demo is bigger than 64MiB,I have to change the memory allocation on the rsc_table_vayu_dsp.c and config.bld like that:

    also modify the dts file like that:

    Are there any problem about that? Are there any other steps except the link:

    Br,

    vefone

  • Hi, Vefone,

    The error shows remoteproc failed dma_alloc_coherent for size of 83886080 (0x5000000). The linux device tree has only reserved 0x4000000. You may want to increase it and give it a try.

    Rex
  • Hi,

    Rex,

    I had change the increase the size of dsp1_cma_pool to 0x6000000,now I can load it into dsp,but it willl have mmu error.I debug it with ccs,finding that the edmaInit cause it.

    root@am57xx-evm:~# ./dsp-ipc.sh 1
    rm: can't remove '/lib/firmware/dra7-dsp1-fw.xe66': No such file or directory
    [ 167.428673] remoteproc0: releasing 40800000.dsp
    [ 169.436650] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@9b000000
    [ 169.444502] remoteproc0: 40800000.dsp is available
    [ 169.449397] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 169.458437] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    root@am57xx-evm:~# [ 169.476003] remoteproc0: powering up 40800000.dsp
    [ 169.480833] remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [ 169.494444] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [ 169.500360] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [ 169.571726] remoteproc0: remote processor 40800000.dsp is now up
    [ 169.578167] virtio_rpmsg_bus virtio4: rpmsg host is online
    [ 169.583750] remoteproc0: registered virtio4 (type 7)
    [ 169.606552] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [ 169.613655] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [ 169.613659] remoteproc0: crash detected in 40800000.dsp: type mmufault
    [ 169.613665] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xeb1010cc *pgd:px00000000
    [ 169.638141] remoteproc0: handling crash #1 in 40800000.dsp
    [ 169.647236] remoteproc0: recovering 40800000.dsp
    [ 169.653001] NET: Registered protocol family 41
    [ 169.686188] remoteproc0: stopped remote processor 40800000.dsp
    [ 169.700649] remoteproc0: powering up 40800000.dsp
    [ 169.706963] remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [ 169.720579] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [ 169.726498] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [ 169.797899] remoteproc0: remote processor 40800000.dsp is now up
    [ 169.804345] virtio_rpmsg_bus virtio4: rpmsg host is online
    [ 169.809890] remoteproc0: registered virtio4 (type 7)
    [ 169.832713] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [ 169.839794] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [ 169.839797] remoteproc0: crash detected in 40800000.dsp: type mmufault

    mmu error:

    root@am57xx-evm:~# ./dsp-ipc.sh 1
    rm: can't remove '/lib/firmware/dra7-dsp1-fw.xe66': No such file or directory
    [  167.428673]  remoteproc0: releasing 40800000.dsp
    [  169.436650] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@9b000000
    [  169.444502]  remoteproc0: 40800000.dsp is available
    [  169.449397]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [  169.458437]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    root@am57xx-evm:~# [  169.476003]  remoteproc0: powering up 40800000.dsp
    [  169.480833]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  169.494444] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  169.500360] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  169.571726]  remoteproc0: remote processor 40800000.dsp is now up
    [  169.578167] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  169.583750]  remoteproc0: registered virtio4 (type 7)
    [  169.606552] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  169.613655] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  169.613659]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  169.613665] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xeb1010cc *pgd:px00000000
    [  169.638141]  remoteproc0: handling crash #1 in 40800000.dsp
    [  169.647236]  remoteproc0: recovering 40800000.dsp
    [  169.653001] NET: Registered protocol family 41
    [  169.686188]  remoteproc0: stopped remote processor 40800000.dsp
    [  169.700649]  remoteproc0: powering up 40800000.dsp
    [  169.706963]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  169.720579] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  169.726498] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  169.797899]  remoteproc0: remote processor 40800000.dsp is now up
    [  169.804345] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  169.809890]  remoteproc0: registered virtio4 (type 7)
    [  169.832713] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  169.839794] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  169.839797]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  169.839803] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe78450cc *pgd:px00000000
    [  169.863614]  remoteproc0: handling crash #2 in 40800000.dsp
    [  169.869215]  remoteproc0: recovering 40800000.dsp
    [  169.903431]  remoteproc0: stopped remote processor 40800000.dsp
    [  169.916842]  remoteproc0: powering up 40800000.dsp
    [  169.921668]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  169.935279] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  169.941193] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  170.013407]  remoteproc0: remote processor 40800000.dsp is now up
    [  170.019845] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  170.025412]  remoteproc0: registered virtio4 (type 7)
    [  170.048238] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  170.055329] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  170.055333]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  170.055338] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe78210cc *pgd:px00000000
    [  170.079117]  remoteproc0: handling crash #3 in 40800000.dsp
    [  170.084757]  remoteproc0: recovering 40800000.dsp
    [  170.118848]  remoteproc0: stopped remote processor 40800000.dsp
    [  170.133059]  remoteproc0: powering up 40800000.dsp
    [  170.137923]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  170.151537] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  170.157451] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  170.228736]  remoteproc0: remote processor 40800000.dsp is now up
    [  170.235188] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  170.240712]  remoteproc0: registered virtio4 (type 7)
    [  170.263551] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  170.270632] omap-iommu 40d01000.mmu: iommu fault: da 0x2a101200 flags 0x0
    [  170.270635]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  170.270641] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x2a101200 pgd:0xea354a84 *pgd:px00000000
    [  170.294418]  remoteproc0: handling crash #4 in 40800000.dsp
    [  170.300018]  remoteproc0: recovering 40800000.dsp
    [  170.334395] ------------[ cut here ]------------
    [  170.339042] WARNING: CPU: 0 PID: 359 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c()
    [  170.348559] 44000000.ocp:L3 Standard Error: MASTER DSP1_MDMA TARGET PCIE1 (Read Link): At Address: 0x0A101240 : Data Access in User mode during Functional access
    [  170.363045] Modules linked in: rpmsg_proto bc_example(O) xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo bluetooth rpmsg_pru virtio_rpmsg_bus snd_soc_tvp5158_audio snd_soc_simple_card pwm_fan pwm_omap_dmtimer pru_rproc pruss_intc pvrsrvkm(O) ahci_platform libahci_platform pruss omap_wdt libahci libata ti_vpe ti_sc ti_vpdma rtc_omap omap_rng rng_core extcon_palmas rtc_palmas snd_soc_tlv320aic3x tca8418_keypad matrix_keymap debugss_kmodule(O) omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cmemk(O)
    [  170.413702] CPU: 0 PID: 359 Comm: kworker/0:3 Tainted: G           O    4.4.19+ #16
    [  170.421386] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  170.427512] Workqueue: events rproc_crash_handler_work [remoteproc]
    [  170.433807] Backtrace:
    [  170.436271] [<c00130ec>] (dump_backtrace) from [<c00132e8>] (show_stack+0x18/0x1c)
    [  170.443867]  r7:c02dfa28 r6:20030193 r5:00000000 r4:c09f6e4c
    [  170.449575] [<c00132d0>] (show_stack) from [<c02b35a8>] (dump_stack+0x8c/0xa0)
    [  170.456828] [<c02b351c>] (dump_stack) from [<c003499c>] (warn_slowpath_common+0x88/0xb8)
    [  170.464948]  r7:c02dfa28 r6:00000093 r5:00000009 r4:eccf9960
    [  170.470653] [<c0034914>] (warn_slowpath_common) from [<c0034a04>] (warn_slowpath_fmt+0x38/0x40)
    [  170.479383]  r8:eea14290 r7:c088730c r6:00000004 r5:c0886f38 r4:c0886fe8
    [  170.486142] [<c00349d0>] (warn_slowpath_fmt) from [<c02dfa28>] (l3_interrupt_handler+0x25c/0x36c)
    [  170.495046]  r3:eea14100 r2:c0886fe8
    [  170.498642]  r4:80080001
    [  170.501190] [<c02df7cc>] (l3_interrupt_handler) from [<c007fc90>] (handle_irq_event_percpu+0xb4/0x160)
    [  170.510529]  r10:c0a27632 r9:eea0c840 r8:00000017 r7:00000000 r6:00000000 r5:eea0c8a0
    [  170.518419]  r4:eea14600
    [  170.520967] [<c007fbdc>] (handle_irq_event_percpu) from [<c007fd7c>] (handle_irq_event+0x40/0x64)
    [  170.529871]  r10:00000fff r9:ea357ffc r8:ee808000 r7:00000000 r6:c09d1ec4 r5:eea0c8a0
    [  170.537760]  r4:eea0c840
    [  170.540309] [<c007fd3c>] (handle_irq_event) from [<c008309c>] (handle_fasteoi_irq+0xc0/0x194)
    [  170.548865]  r7:00000000 r6:c09d1ec4 r5:eea0c8a0 r4:eea0c840
    [  170.554571] [<c0082fdc>] (handle_fasteoi_irq) from [<c007f2b8>] (generic_handle_irq+0x2c/0x3c)
    [  170.563212]  r7:00000000 r6:eccf9c38 r5:00000017 r4:c09c5420
    [  170.568918] [<c007f28c>] (generic_handle_irq) from [<c007f590>] (__handle_domain_irq+0x64/0xbc)
    [  170.577652] [<c007f52c>] (__handle_domain_irq) from [<c0009490>] (gic_handle_irq+0x40/0x7c)
    [  170.586032]  r9:ea357ffc r8:fa213000 r7:fa212000 r6:eccf9b20 r5:fa21200c r4:c09cc8d4
    [  170.593838] [<c0009450>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  170.601348] Exception stack(0xeccf9b20 to 0xeccf9b68)
    [  170.606417] 9b20: 00000000 c0a2b2c0 00000000 00000000 00000202 00000013 eccf8000 00000000
    [  170.614625] 9b40: ee808000 ea357ffc 00000fff eccf9bcc eccf9bd0 eccf9b70 c0038888 c00383f4
    [  170.622832] 9b60: 60030113 ffffffff
    [  170.626330]  r9:ea357ffc r8:ee808000 r7:eccf9b54 r6:ffffffff r5:60030113 r4:c00383f4
    [  170.634136] [<c0038360>] (__do_softirq) from [<c0038888>] (irq_exit+0xbc/0x11c)
    [  170.641470]  r10:00000fff r9:ea357ffc r8:ee808000 r7:00000000 r6:00000000 r5:00000013
    [  170.649360]  r4:ffffe000
    [  170.651907] [<c00387cc>] (irq_exit) from [<c007f594>] (__handle_domain_irq+0x68/0xbc)
    [  170.659764]  r5:00000013 r4:c09c5420
    [  170.663363] [<c007f52c>] (__handle_domain_irq) from [<c0009490>] (gic_handle_irq+0x40/0x7c)
    [  170.671744]  r9:ea357ffc r8:fa213000 r7:fa212000 r6:eccf9c38 r5:fa21200c r4:c09cc8d4
    [  170.679551] [<c0009450>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  170.687060] Exception stack(0xeccf9c38 to 0xeccf9c80)
    [  170.692127] 9c20:                                                       eea69c74 60030013
    [  170.700336] 9c40: 00000003 00000725 00000000 00000004 eea69c74 60030013 fffffc00 ea357ffc
    [  170.708543] 9c60: 00000fff eccf9c94 eccf9c98 eccf9c88 c03f2ef8 c06b556c 20030013 ffffffff
    [  170.716749]  r9:ea357ffc r8:fffffc00 r7:eccf9c6c r6:ffffffff r5:20030013 r4:c06b556c
    [  170.724559] [<c06b5544>] (_raw_spin_unlock_irqrestore) from [<c03f2ef8>] (__pm_runtime_idle+0x74/0x88)
    [  170.733903] [<c03f2e84>] (__pm_runtime_idle) from [<c03807c4>] (omap_iommu_detach+0x3c/0x48)
    [  170.742372]  r7:00000000 r6:eeafae10 r5:eeafae28 r4:eeafae10
    [  170.748076] [<c0380788>] (omap_iommu_detach) from [<c0381958>] (_omap_iommu_detach_dev+0x144/0x1ac)
    [  170.757155]  r5:ea354000 r4:00000002
    [  170.760754] [<c0381814>] (_omap_iommu_detach_dev) from [<c03819ec>] (omap_iommu_detach_dev+0x2c/0x38)
    [  170.770006]  r10:eed4b9c0 r9:00000000 r8:ea7fb420 r7:ea7fb420 r6:eea68810 r5:eb2fd6d4
    [  170.777896]  r4:eb2fd6d0
    [  170.780443] [<c03819c0>] (omap_iommu_detach_dev) from [<c037f0dc>] (iommu_detach_device+0x94/0xac)
    [  170.789433]  r7:ea7fb420 r6:eb2fd6d4 r5:eb2fd6d4 r4:00000000
    [  170.795147] [<c037f048>] (iommu_detach_device) from [<bf040220>] (rproc_shutdown+0xa8/0x13c [remoteproc])
    [  170.804749]  r7:ea7fb420 r6:ea7fb5b4 r5:eb2fd6d4 r4:ea7fb400
    [  170.810467] [<bf040178>] (rproc_shutdown [remoteproc]) from [<bf0418d0>] (rproc_virtio_del_vqs+0x18/0x24 [remoteproc])
    [  170.821203]  r7:eda00020 r6:eda00010 r5:00040000 r4:eda00010
    [  170.826923] [<bf0418b8>] (rproc_virtio_del_vqs [remoteproc]) from [<bf222ca4>] (rpmsg_remove+0x6c/0x140 [virtio_rpmsg_bus])
    [  170.838095]  r5:00040000 r4:ecda6680
    [  170.841702] [<bf222c38>] (rpmsg_remove [virtio_rpmsg_bus]) from [<bf02b1dc>] (virtio_dev_remove+0x40/0xb4 [virtio])
    [  170.852175]  r9:00000000 r8:ea7fb420 r7:bf223ce4 r6:eda00018 r5:eda00010 r4:eda00020
    [  170.859987] [<bf02b19c>] (virtio_dev_remove [virtio]) from [<c03e93d4>] (__device_release_driver+0x90/0x11c)
    [  170.869850]  r7:eda00028 r6:bf02bd58 r5:bf223ce4 r4:eda00020
    [  170.875556] [<c03e9344>] (__device_release_driver) from [<c03e9484>] (device_release_driver+0x24/0x30)
    [  170.884895]  r5:eda00020 r4:eda00054
    [  170.888495] [<c03e9460>] (device_release_driver) from [<c03e8c68>] (bus_remove_device+0xe0/0x10c)
    [  170.897398]  r5:eda00020 r4:ed81a830
    [  170.900998] [<c03e8b88>] (bus_remove_device) from [<c03e5ca0>] (device_del+0x114/0x214)
    [  170.909030]  r7:eda00028 r6:c0a65718 r5:eda00020 r4:eda00020
    [  170.914735] [<c03e5b8c>] (device_del) from [<c03e5db4>] (device_unregister+0x14/0x28)
    [  170.922592]  r8:eed4f100 r7:ea7fb648 r6:ea7fb400 r5:ea7fb60c r4:eda00020
    [  170.929353] [<c03e5da0>] (device_unregister) from [<bf02b4e8>] (unregister_virtio_device+0x14/0x28 [virtio])
    [  170.939216]  r5:ea7fb60c r4:00000004
    [  170.942825] [<bf02b4d4>] (unregister_virtio_device [virtio]) from [<bf041cb8>] (rproc_remove_virtio_dev+0x14/0x18 [remoteproc])
    [  170.954345]  r5:ea7fb60c r4:ea7fb60c
    [  170.957957] [<bf041ca4>] (rproc_remove_virtio_dev [remoteproc]) from [<bf0411b0>] (rproc_trigger_recovery+0x5c/0xa0 [remoteproc])
    [  170.969668] [<bf041154>] (rproc_trigger_recovery [remoteproc]) from [<bf041268>] (rproc_crash_handler_work+0x74/0x84 [remoteproc])
    [  170.981450]  r7:00000000 r6:ea7fb400 r5:ea7fb5b4 r4:ea7fb634
    [  170.987164] [<bf0411f4>] (rproc_crash_handler_work [remoteproc]) from [<c0049aa8>] (process_one_work+0x1dc/0x3f8)
    [  170.997463]  r7:00000000 r6:eed4b9c0 r5:eccb5600 r4:ea7fb634
    [  171.003170] [<c00498cc>] (process_one_work) from [<c004a724>] (worker_thread+0x4c/0x524)
    [  171.011289]  r10:eed4b9c0 r9:eccb5600 r8:00000008 r7:eccf8000 r6:eed4b9d4 r5:eccb5618
    [  171.019178]  r4:eed4b9c0
    [  171.021725] [<c004a6d8>] (worker_thread) from [<c004fae4>] (kthread+0xe4/0xfc)
    [  171.028972]  r10:00000000 r9:00000000 r8:00000000 r7:c004a6d8 r6:eccb5600 r5:ecce61c0
    [  171.036861]  r4:00000000
    [  171.039408] [<c004fa00>] (kthread) from [<c000fb08>] (ret_from_fork+0x14/0x2c)
    [  171.046654]  r7:00000000 r6:00000000 r5:c004fa00 r4:ecce61c0
    [  171.052357] ---[ end trace 7aadebc7beeffff4 ]---
    [  171.057205]  remoteproc0: stopped remote processor 40800000.dsp
    [  171.071667]  remoteproc0: powering up 40800000.dsp
    [  171.076549]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  171.090579] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  171.096507] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  171.170420]  remoteproc0: remote processor 40800000.dsp is now up
    [  171.176904] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  171.182465]  remoteproc0: registered virtio4 (type 7)
    [  171.205211] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  171.212303] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  171.212306]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  171.212311] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe7b590cc *pgd:px00000000
    [  171.236073]  remoteproc0: handling crash #5 in 40800000.dsp
    [  171.241671]  remoteproc0: recovering 40800000.dsp
    [  171.276229]  remoteproc0: stopped remote processor 40800000.dsp
    [  171.289492]  remoteproc0: powering up 40800000.dsp
    [  171.294386]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  171.307924] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  171.313846] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  171.385174]  remoteproc0: remote processor 40800000.dsp is now up
    [  171.391601] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  171.397171]  remoteproc0: registered virtio4 (type 7)
    [  171.419989] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  171.427082] omap-iommu 40d01000.mmu: iommu fault: da 0x2a101200 flags 0x0
    [  171.427085]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  171.427091] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x2a101200 pgd:0xea2f4a84 *pgd:px00000000
    [  171.450907]  remoteproc0: handling crash #6 in 40800000.dsp
    [  171.456544]  remoteproc0: recovering 40800000.dsp
    [  171.490491] ------------[ cut here ]------------
    [  171.495136] WARNING: CPU: 0 PID: 359 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c()
    [  171.504654] 44000000.ocp:L3 Standard Error: MASTER DSP1_MDMA TARGET PCIE1 (Read Link): At Address: 0x0A101240 : Data Access in User mode during Functional access
    [  171.519140] Modules linked in: rpmsg_proto bc_example(O) xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo bluetooth rpmsg_pru virtio_rpmsg_bus snd_soc_tvp5158_audio snd_soc_simple_card pwm_fan pwm_omap_dmtimer pru_rproc pruss_intc pvrsrvkm(O) ahci_platform libahci_platform pruss omap_wdt libahci libata ti_vpe ti_sc ti_vpdma rtc_omap omap_rng rng_core extcon_palmas rtc_palmas snd_soc_tlv320aic3x tca8418_keypad matrix_keymap debugss_kmodule(O) omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cmemk(O)
    [  171.569789] CPU: 0 PID: 359 Comm: kworker/0:3 Tainted: G        W  O    4.4.19+ #16
    [  171.577474] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  171.583602] Workqueue: events rproc_crash_handler_work [remoteproc]
    [  171.589896] Backtrace:
    [  171.592361] [<c00130ec>] (dump_backtrace) from [<c00132e8>] (show_stack+0x18/0x1c)
    [  171.599958]  r7:c02dfa28 r6:20010193 r5:00000000 r4:c09f6e4c
    [  171.605666] [<c00132d0>] (show_stack) from [<c02b35a8>] (dump_stack+0x8c/0xa0)
    [  171.612920] [<c02b351c>] (dump_stack) from [<c003499c>] (warn_slowpath_common+0x88/0xb8)
    [  171.621039]  r7:c02dfa28 r6:00000093 r5:00000009 r4:eccf9a78
    [  171.626746] [<c0034914>] (warn_slowpath_common) from [<c0034a04>] (warn_slowpath_fmt+0x38/0x40)
    [  171.635475]  r8:eea14290 r7:c088730c r6:00000004 r5:c0886f38 r4:c0886fe8
    [  171.642238] [<c00349d0>] (warn_slowpath_fmt) from [<c02dfa28>] (l3_interrupt_handler+0x25c/0x36c)
    [  171.651142]  r3:eea14100 r2:c0886fe8
    [  171.654738]  r4:80080001
    [  171.657287] [<c02df7cc>] (l3_interrupt_handler) from [<c007fc90>] (handle_irq_event_percpu+0xb4/0x160)
    [  171.666628]  r10:c0a27632 r9:eea0c840 r8:00000017 r7:00000000 r6:00000000 r5:eea0c8a0
    [  171.674518]  r4:eea14600
    [  171.677067] [<c007fbdc>] (handle_irq_event_percpu) from [<c007fd7c>] (handle_irq_event+0x40/0x64)
    [  171.685971]  r10:00000fff r9:ea2f7ffc r8:ee808000 r7:00000000 r6:c09d1ec4 r5:eea0c8a0
    [  171.693862]  r4:eea0c840
    [  171.696410] [<c007fd3c>] (handle_irq_event) from [<c008309c>] (handle_fasteoi_irq+0xc0/0x194)
    [  171.704965]  r7:00000000 r6:c09d1ec4 r5:eea0c8a0 r4:eea0c840
    [  171.710672] [<c0082fdc>] (handle_fasteoi_irq) from [<c007f2b8>] (generic_handle_irq+0x2c/0x3c)
    [  171.719314]  r7:00000000 r6:00000000 r5:00000017 r4:c09c5420
    [  171.725021] [<c007f28c>] (generic_handle_irq) from [<c007f590>] (__handle_domain_irq+0x64/0xbc)
    [  171.733754] [<c007f52c>] (__handle_domain_irq) from [<c0009490>] (gic_handle_irq+0x40/0x7c)
    [  171.742136]  r9:ea2f7ffc r8:fa213000 r7:fa212000 r6:eccf9c38 r5:fa21200c r4:c09cc8d4
    [  171.749941] [<c0009450>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  171.757451] Exception stack(0xeccf9c38 to 0xeccf9c80)
    [  171.762519] 9c20:                                                       eea69c74 60010013
    [  171.770728] 9c40: 00000003 00000ab5 00000000 00000004 eea69c74 60010013 fffffc00 ea2f7ffc
    [  171.778937] 9c60: 00000fff eccf9c94 eccf9c98 eccf9c88 c03f2ef8 c06b556c 20010013 ffffffff
    [  171.787144]  r9:ea2f7ffc r8:fffffc00 r7:eccf9c6c r6:ffffffff r5:20010013 r4:c06b556c
    [  171.794955] [<c06b5544>] (_raw_spin_unlock_irqrestore) from [<c03f2ef8>] (__pm_runtime_idle+0x74/0x88)
    [  171.804300] [<c03f2e84>] (__pm_runtime_idle) from [<c03807c4>] (omap_iommu_detach+0x3c/0x48)
    [  171.812767]  r7:00000000 r6:eeafae10 r5:eeafae28 r4:eeafae10
    [  171.818472] [<c0380788>] (omap_iommu_detach) from [<c0381958>] (_omap_iommu_detach_dev+0x144/0x1ac)
    [  171.827550]  r5:ea2f4000 r4:00000002
    [  171.831150] [<c0381814>] (_omap_iommu_detach_dev) from [<c03819ec>] (omap_iommu_detach_dev+0x2c/0x38)
    [  171.840403]  r10:eed4b9c0 r9:00000000 r8:ea7fb420 r7:ea7fb420 r6:eea68810 r5:ea7b08d4
    [  171.848294]  r4:ea7b08d0
    [  171.850842] [<c03819c0>] (omap_iommu_detach_dev) from [<c037f0dc>] (iommu_detach_device+0x94/0xac)
    [  171.859833]  r7:ea7fb420 r6:ea7b08d4 r5:ea7b08d4 r4:00000000
    [  171.865548] [<c037f048>] (iommu_detach_device) from [<bf040220>] (rproc_shutdown+0xa8/0x13c [remoteproc])
    [  171.875151]  r7:ea7fb420 r6:ea7fb5b4 r5:ea7b08d4 r4:ea7fb400
    [  171.880869] [<bf040178>] (rproc_shutdown [remoteproc]) from [<bf0418d0>] (rproc_virtio_del_vqs+0x18/0x24 [remoteproc])
    [  171.891604]  r7:eda00020 r6:eda00010 r5:00040000 r4:eda00010
    [  171.897324] [<bf0418b8>] (rproc_virtio_del_vqs [remoteproc]) from [<bf222ca4>] (rpmsg_remove+0x6c/0x140 [virtio_rpmsg_bus])
    [  171.908496]  r5:00040000 r4:ecda6680
    [  171.912103] [<bf222c38>] (rpmsg_remove [virtio_rpmsg_bus]) from [<bf02b1dc>] (virtio_dev_remove+0x40/0xb4 [virtio])
    [  171.922577]  r9:00000000 r8:ea7fb420 r7:bf223ce4 r6:eda00018 r5:eda00010 r4:eda00020
    [  171.930387] [<bf02b19c>] (virtio_dev_remove [virtio]) from [<c03e93d4>] (__device_release_driver+0x90/0x11c)
    [  171.940250]  r7:eda00028 r6:bf02bd58 r5:bf223ce4 r4:eda00020
    [  171.945955] [<c03e9344>] (__device_release_driver) from [<c03e9484>] (device_release_driver+0x24/0x30)
    [  171.955294]  r5:eda00020 r4:eda00054
    [  171.958894] [<c03e9460>] (device_release_driver) from [<c03e8c68>] (bus_remove_device+0xe0/0x10c)
    [  171.967797]  r5:eda00020 r4:ed81a830
    [  171.971396] [<c03e8b88>] (bus_remove_device) from [<c03e5ca0>] (device_del+0x114/0x214)
    [  171.979427]  r7:eda00028 r6:c0a65718 r5:eda00020 r4:eda00020
    [  171.985131] [<c03e5b8c>] (device_del) from [<c03e5db4>] (device_unregister+0x14/0x28)
    [  171.992988]  r8:eed4f100 r7:ea7fb648 r6:ea7fb400 r5:ea7fb60c r4:eda00020
    [  171.999748] [<c03e5da0>] (device_unregister) from [<bf02b4e8>] (unregister_virtio_device+0x14/0x28 [virtio])
    [  172.009612]  r5:ea7fb60c r4:00000004
    [  172.013221] [<bf02b4d4>] (unregister_virtio_device [virtio]) from [<bf041cb8>] (rproc_remove_virtio_dev+0x14/0x18 [remoteproc])
    [  172.024741]  r5:ea7fb60c r4:ea7fb60c
    [  172.028352] [<bf041ca4>] (rproc_remove_virtio_dev [remoteproc]) from [<bf0411b0>] (rproc_trigger_recovery+0x5c/0xa0 [remoteproc])
    [  172.040061] [<bf041154>] (rproc_trigger_recovery [remoteproc]) from [<bf041268>] (rproc_crash_handler_work+0x74/0x84 [remoteproc])
    [  172.051844]  r7:00000000 r6:ea7fb400 r5:ea7fb5b4 r4:ea7fb634
    [  172.057558] [<bf0411f4>] (rproc_crash_handler_work [remoteproc]) from [<c0049aa8>] (process_one_work+0x1dc/0x3f8)
    [  172.067856]  r7:00000000 r6:eed4b9c0 r5:eccb5600 r4:ea7fb634
    [  172.073563] [<c00498cc>] (process_one_work) from [<c004a724>] (worker_thread+0x4c/0x524)
    [  172.081682]  r10:eed4b9c0 r9:eccb5600 r8:00000008 r7:eccf8000 r6:eed4b9d4 r5:eccb5618
    [  172.089571]  r4:eed4b9c0
    [  172.092118] [<c004a6d8>] (worker_thread) from [<c004fae4>] (kthread+0xe4/0xfc)
    [  172.099365]  r10:00000000 r9:00000000 r8:00000000 r7:c004a6d8 r6:eccb5600 r5:ecce61c0
    [  172.107254]  r4:00000000
    [  172.109801] [<c004fa00>] (kthread) from [<c000fb08>] (ret_from_fork+0x14/0x2c)
    [  172.117048]  r7:00000000 r6:00000000 r5:c004fa00 r4:ecce61c0
    [  172.122752] ---[ end trace 7aadebc7beeffff5 ]---
    [  172.127564]  remoteproc0: stopped remote processor 40800000.dsp
    [  172.143248]  remoteproc0: powering up 40800000.dsp
    [  172.148067]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  172.163164] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  172.169120] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  172.242612]  remoteproc0: remote processor 40800000.dsp is now up
    [  172.249050] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  172.254607]  remoteproc0: registered virtio4 (type 7)
    [  172.277471] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  172.284559] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  172.284562]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  172.284568] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe78810cc *pgd:px00000000
    [  172.308336]  remoteproc0: handling crash #7 in 40800000.dsp
    [  172.313980]  remoteproc0: recovering 40800000.dsp
    [  172.347893]  remoteproc0: stopped remote processor 40800000.dsp
    [  172.361230]  remoteproc0: powering up 40800000.dsp
    [  172.366111]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  172.379658] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  172.385579] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  172.456977]  remoteproc0: remote processor 40800000.dsp is now up
    [  172.463441] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  172.468964]  remoteproc0: registered virtio4 (type 7)
    [  172.491849] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  172.498946] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  172.498949]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  172.498955] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xea2a50cc *pgd:px00000000
    [  172.522733]  remoteproc0: handling crash #8 in 40800000.dsp
    [  172.528344]  remoteproc0: recovering 40800000.dsp
    [  172.562770]  remoteproc0: stopped remote processor 40800000.dsp
    [  172.576305]  remoteproc0: powering up 40800000.dsp
    [  172.581131]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  172.594722] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  172.600648] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  172.672614]  remoteproc0: remote processor 40800000.dsp is now up
    [  172.679051] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  172.684611]  remoteproc0: registered virtio4 (type 7)
    [  172.707425] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  172.714515] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  172.714518]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  172.714524] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe7b750cc *pgd:px00000000
    [  172.738286]  remoteproc0: handling crash #9 in 40800000.dsp
    [  172.743933]  remoteproc0: recovering 40800000.dsp
    [  172.778360]  remoteproc0: stopped remote processor 40800000.dsp
    [  172.791587]  remoteproc0: powering up 40800000.dsp
    [  172.796488]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  172.810101] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  172.816020] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  172.887472]  remoteproc0: remote processor 40800000.dsp is now up
    [  172.893927] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  172.899454]  remoteproc0: registered virtio4 (type 7)
    [  172.922316] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  172.929402] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  172.929405]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  172.929411] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe785d0cc *pgd:px00000000
    [  172.953446]  remoteproc0: handling crash #10 in 40800000.dsp
    [  172.959148]  remoteproc0: recovering 40800000.dsp
    [  172.993625]  remoteproc0: stopped remote processor 40800000.dsp
    [  173.007092]  remoteproc0: powering up 40800000.dsp
    [  173.011981]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  173.025578] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  173.031505] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  173.103328]  remoteproc0: remote processor 40800000.dsp is now up
    [  173.109793] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  173.115393]  remoteproc0: registered virtio4 (type 7)
    [  173.138146] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  173.145241] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  173.145245]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  173.145250] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe78950cc *pgd:px00000000
    [  173.169095]  remoteproc0: handling crash #11 in 40800000.dsp
    [  173.174818]  remoteproc0: recovering 40800000.dsp
    [  173.208967]  remoteproc0: stopped remote processor 40800000.dsp
    [  173.222993]  remoteproc0: powering up 40800000.dsp
    [  173.227835]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  173.241491] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  173.247413] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  173.318890]  remoteproc0: remote processor 40800000.dsp is now up
    [  173.325330] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  173.330864]  remoteproc0: registered virtio4 (type 7)
    [  173.353720] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  173.360805] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  173.360809]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  173.360814] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe783d0cc *pgd:px00000000
    [  173.384683]  remoteproc0: handling crash #12 in 40800000.dsp
    [  173.390370]  remoteproc0: recovering 40800000.dsp
    [  173.424893]  remoteproc0: stopped remote processor 40800000.dsp
    [  173.438374]  remoteproc0: powering up 40800000.dsp
    [  173.443251]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  173.456792] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  173.462714] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  173.534181]  remoteproc0: remote processor 40800000.dsp is now up
    [  173.540618] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  173.546191]  remoteproc0: registered virtio4 (type 7)
    [  173.569005] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  173.576103] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  173.576106]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  173.576112] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe78390cc *pgd:px00000000
    [  173.599911]  remoteproc0: handling crash #13 in 40800000.dsp
    [  173.605637]  remoteproc0: recovering 40800000.dsp
    [  173.640265]  remoteproc0: stopped remote processor 40800000.dsp
    [  173.653405]  remoteproc0: powering up 40800000.dsp
    [  173.658233]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  173.671916] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  173.677859] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  173.749418]  remoteproc0: remote processor 40800000.dsp is now up
    [  173.755863] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  173.761396]  remoteproc0: registered virtio4 (type 7)
    [  173.784256] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  173.791336] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  173.791339]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  173.791344] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xea2a50cc *pgd:px00000000
    [  173.815133]  remoteproc0: handling crash #14 in 40800000.dsp
    [  173.820819]  remoteproc0: recovering 40800000.dsp
    [  173.855372]  remoteproc0: stopped remote processor 40800000.dsp
    [  173.868743]  remoteproc0: powering up 40800000.dsp
    [  173.873612]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  173.887161] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  173.893085] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  173.964504]  remoteproc0: remote processor 40800000.dsp is now up
    [  173.970950] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  173.976550]  remoteproc0: registered virtio4 (type 7)
    [  173.999329] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  174.006419] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  174.006423]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  174.006428] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe78b90cc *pgd:px00000000
    [  174.030221]  remoteproc0: handling crash #15 in 40800000.dsp
    [  174.035949]  remoteproc0: recovering 40800000.dsp
    [  174.070077]  remoteproc0: stopped remote processor 40800000.dsp
    [  174.083201]  remoteproc0: powering up 40800000.dsp
    [  174.088027]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  174.101623] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  174.107581] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  174.179643]  remoteproc0: remote processor 40800000.dsp is now up
    [  174.186129] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  174.191656]  remoteproc0: registered virtio4 (type 7)
    [  174.214466] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  174.221546] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  174.221549]  remoteproc0: crash detected in 40800000.dsp: type mmufault
    [  174.221555] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xe78250cc *pgd:px00000000
    [  174.245381]  remoteproc0: handling crash #16 in 40800000.dsp
    [  174.251072]  remoteproc0: recovering 40800000.dsp
    [  174.285842]  remoteproc0: stopped remote processor 40800000.dsp
    [  174.299191]  remoteproc0: powering up 40800000.dsp
    [  174.304077]  remoteproc0: Booting fw image dra7-dsp1-fw.xe66, size 6174456
    [  174.317664] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  174.323589] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  174.395253]  remoteproc0: remote processor 40800000.dsp is now up
    [  174.401731] virtio_rpmsg_bus virtio4: rpmsg host is online
    [  174.407288]  remoteproc0: registered virtio4 (type 7)
    [  174.430103] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [  174.437194] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
    [  174.437197]  remoteproc0: crash detected in 40800000.dsp: type mmufault

    any suggestion?

    BR,

    vefone

  • Hi,

    Rex, after add the dsp memory map in the rsc_table_vayu_dsp.c file like that(Part of it, incomplete):

    #define L3_EDMA_TPCC_BASE 0x43300000
    #define DSP_EDMA_TPCC_BASE 0x43300000

    #define L3_PCIE_SS1_CONFIG_SPACE_BASE 0x20000000
    #define DSP_PCIE_SS1_CONFIG_SPACE_BASE 0x20000000

    #define L3_PCIE_SS1_CONFIG_REG_BASE 0x51000000
    #define DSP_PCIE_SS1_CONFIG_REG_BASE 0x51000000

    the demo works fine in the linux.

  • Vefone,

    Glad to hear you have it working. Yes, remoteproc takes resource table entries and reprograms MMU.
    I'll mark this thread as resolved.

    Rex