HI all,
I am trying to initialize the DCAN module from the sample application running on the DSP1. However it seems to be when DSP1 starts to interact with DCAN module, the kernel complains and crashes.
This is log:
[ 1846.691123] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x364()
[ 1846.700471] 44000000.ocp:L3 Custom Error: MASTER DSP1_MDMA TARGET L4_WKUP (Read): Data Access in User mode during Functional access
[ 1846.712342] Modules linked in: xhci_plat_hcd xhci_hcd usbcore rpmsg_proto rpmsg_rpc rpmsg_pru ahci_platform libahci_platform libahci virtio_rpmsg_bus dwc3 libata ti_vpe udc_core ti_vip joydev pru_rproc st_drv dwc3_omap ti_sc evdev leds_gpio ti_vpdma extcon_palmas omap_wdt gpio_keys snd_soc_simple_card extcon_usb_gpio omap_sham omap_rng snd_soc_omap_hdmi_audio phy_omap_usb2 mt9t11x omap_aes_driver pruss extcon rng_core omap_des pixcir_i2c_ts rtc_omap snd_soc_tlv320aic3x palmas_pwrbutton rtc_palmas rtc_ds1307 omap_remoteproc remoteproc virtio virtio_ring
[ 1846.761858] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.18-gbbe8cfc #1
[ 1846.769806] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 1846.775922] Backtrace:
[ 1846.778396] [<c0013044>] (dump_backtrace) from [<c0013268>] (show_stack+0x18/0x1c)
[ 1846.785995] r7:c030647c r6:200d0193 r5:00000000 r4:c08cf3f4
[ 1846.791720] [<c0013250>] (show_stack) from [<c062cff8>] (dump_stack+0x8c/0xa0)
[ 1846.798977] [<c062cf6c>] (dump_stack) from [<c003773c>] (warn_slowpath_common+0x88/0xb8)
[ 1846.807100] r7:c030647c r6:00000093 r5:00000009 r4:c08b1d48
[ 1846.812816] [<c00376b4>] (warn_slowpath_common) from [<c00377a4>] (warn_slowpath_fmt+0x38/0x40)
[ 1846.821548] r8:c07d4e4c r7:00000002 r6:c07d4a84 r5:ee1b6350 r4:c07d4b28
[ 1846.828319] [<c0037770>] (warn_slowpath_fmt) from [<c030647c>] (l3_interrupt_handler+0x25c/0x364)
[ 1846.837226] r3:ee1b61c0 r2:c07d4b28
[ 1846.840826] r4:80080003
[ 1846.843381] [<c0306220>] (l3_interrupt_handler) from [<c00787c4>] (handle_irq_event_percpu+0xa4/0x154)
[ 1846.852724] r10:c08f6cb5 r9:ee1af540 r8:00000017 r7:00000000 r6:00000000 r5:ee1af5a0
[ 1846.860627] r4:ee1b66c0
[ 1846.863181] [<c0078720>] (handle_irq_event_percpu) from [<c00788b8>] (handle_irq_event+0x44/0x64)
[ 1846.872088] r10:c0639f68 r9:c08b1f60 r8:ee008000 r7:00000000 r6:ee1b66c0 r5:ee1af5a0
[ 1846.879988] r4:ee1af540
[ 1846.882541] [<c0078874>] (handle_irq_event) from [<c007b744>] (handle_fasteoi_irq+0xb8/0x17c)
[ 1846.891099] r7:00000000 r6:c08b783c r5:ee1af5a0 r4:ee1af540
[ 1846.896815] [<c007b68c>] (handle_fasteoi_irq) from [<c0077e04>] (generic_handle_irq+0x34/0x44)
[ 1846.905459] r7:00000000 r6:00000000 r5:00000017 r4:00000017
[ 1846.911178] [<c0077dd0>] (generic_handle_irq) from [<c00780dc>] (__handle_domain_irq+0x64/0xbc)
[ 1846.919910] r5:00000017 r4:c08abd14
[ 1846.923519] [<c0078078>] (__handle_domain_irq) from [<c00094c4>] (gic_handle_irq+0x2c/0x64)
[ 1846.931901] r9:c08b1f60 r8:00000000 r7:fa212000 r6:c08b1f08 r5:c08b2940 r4:fa21200c
[ 1846.939720] [<c0009498>] (gic_handle_irq) from [<c0632e40>] (__irq_svc+0x40/0x74)
[ 1846.947232] Exception stack(0xc08b1f08 to 0xc08b1f50)
[ 1846.952306] 1f00: 00000001 00000000 00000000 fe600000 c08b0000 c08b25ac
[ 1846.960519] 1f20: c08b2560 00000000 00000000 c08b1f60 c0639f68 c08b1f5c c08b1f3c c08b1f50
[ 1846.968730] 1f40: c00284a8 c00104f8 600d0013 ffffffff
[ 1846.973800] r7:c08b1f3c r6:ffffffff r5:600d0013 r4:c00104f8
[ 1846.979528] [<c00104d0>] (arch_cpu_idle) from [<c006edc0>] (cpu_startup_entry+0x28c/0x30c)
[ 1846.987831] [<c006eb34>] (cpu_startup_entry) from [<c06298c0>] (rest_init+0x90/0x94)
[ 1846.995604] r7:c08b24c0
[ 1846.998160] [<c0629830>] (rest_init) from [<c085dd50>] (start_kernel+0x3d8/0x3e4)
[ 1847.005671] r5:c08fa000 r4:c08fa04c
[ 1847.009280] [<c085d978>] (start_kernel) from [<8000807c>] (0x8000807c)
[ 1847.015833] ---[ end trace a22ef9e6e2fff80e ]---
Does anyone know why the kernel complains when DCAN is accessed from DSP!