Part Number: AM5728
Other Parts Discussed in Thread: TPIC2810
Hi there,
I'm working with Linux processor-sdk 05.02.00.10 and RTOS processor-sdk 4.03.00.05.
I'm using Jailhouse hypervisor on a AM5728 based custom board, on which I'm running Linux on A15 core0 and TI-RTOS on A15 core1.
[ 268.237085] ------------[ cut here ]------------
[ 268.468851] WARNING: CPU: 0 PID: 28 at /home/stx-ti/Projects/tisdk/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source/drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x254/0x370
[ 268.487441] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET GPMC (Read): Data Access in User mode during Functional access
[ 268.498529] Modules linked in: jailhouse(O) vnetdevice(O) can_raw can ecatmc r8152 mc_gp_timer ec_master xhci_plat_hcd xhci_hcd sha512_generic sha512_arm usbcore sha256_generic sha1_generic sha1_arm dwc3 udc_core usb_common md5 cbc ti_prueth pru_rproc pruss pruss_intc omap_aes_driver c_can_platform c_can can_dev pruss_soc_bus omap_sham omap_wdt phy_omap_usb2 ahci_platform libahci_platform libahci libata scsi_mod ti_vip ti_vpe ti_sc videobuf2_dma_contig ti_csc ti_vpdma v4l2_mem2mem videobuf2_memops videobuf2_v4l2 videobuf2_core dwc3_omap rtc_omap extcon_palmas rtc_palmas omap_des gpio_tpic2810 ov2659 v4l2_fwnode des_generic crypto_engine omap_crypto omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel cryptodev(O)
[ 268.563351] CPU: 0 PID: 28 Comm: irq/23-l3-app-i Tainted: G O 4.14.79-rt47-g6b79697728 #2
[ 268.563353] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 268.563354] Backtrace:
[ 268.563366] [<c010b808>] (dump_backtrace) from [<c010baec>] (show_stack+0x18/0x1c)
[ 268.563370] r7:00000009 r6:60000013 r5:00000000 r4:c0c55160
[ 268.563377] [<c010bad4>] (show_stack) from [<c07728bc>] (dump_stack+0x90/0xa4)
[ 268.563386] [<c077282c>] (dump_stack) from [<c012aea0>] (__warn+0xec/0x104)
[ 268.563390] r7:00000009 r6:c099beb8 r5:00000000 r4:d4a31e40
[ 268.563396] [<c012adb4>] (__warn) from [<c012aef8>] (warn_slowpath_fmt+0x40/0x48)
[ 268.563400] r9:0000000b r8:d4a1c0d0 r7:c099bd24 r6:00000002 r5:c099bde4 r4:c099be88
[ 268.563406] [<c012aebc>] (warn_slowpath_fmt) from [<c041e108>] (l3_interrupt_handler+0x254/0x370)
[ 268.563408] r3:d4a14f00 r2:c099be88
[ 268.563410] r4:80080003
[ 268.563416] [<c041deb4>] (l3_interrupt_handler) from [<c0181dd8>] (irq_forced_thread_fn+0x28/0x7c)
[ 268.563422] r10:c0181db0 r9:d4a1c440 r8:d49e1100 r7:00000001 r6:00000000 r5:d49e1100
[ 268.563427] r4:d4a1c440
[ 268.563431] [<c0181db0>] (irq_forced_thread_fn) from [<c0182130>] (irq_thread+0x130/0x208)
[ 268.563434] r7:00000001 r6:00000000 r5:ffffe000 r4:d4a1c464
[ 268.563440] [<c0182000>] (irq_thread) from [<c0149368>] (kthread+0x164/0x16c)
[ 268.563443] r10:d4871b20 r9:c0182000 r8:d4a1c440 r7:d4a30000 r6:00000000 r5:d4a1c480
[ 268.563444] r4:d49e3080
[ 268.563450] [<c0149204>] (kthread) from [<c0107a90>] (ret_from_fork+0x14/0x24)
[ 268.563453] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0149204
[ 268.563454] r4:d4a1c480
[ 268.563456] ---[ end trace 0000000000000002 ]---
root@am57xx-evm:~#
These dump come up with no apparent regularity. Sometimes a single dump comes up after 1 minute. Sometimes after an hour the dumps show up every 130 seconds, and then stop.
The RTOS inmate is in constant and periodic interaction with the GPMC from the beginning.
The GPMC is disabled in the dts:
root@am57xx-evm:~# dtc -I fs -O dts /sys/firmware/devicetree/base
...
...
gpmc@50000000 {
compatible = "ti,am3352-gpmc";
ti,hwmods = "gpmc";
gpio-controller;
gpmc,num-waitpins = <0x2>;
status = "disabled";
#interrupt-cells = <0x2>;
#address-cells = <0x2>;
interrupts = <0x0 0xf 0x4>;
gpmc,num-cs = <0x8>;
#size-cells = <0x1>;
dma-names = "rxtx";
reg = <0x50000000 0x37c>;
#gpio-cells = <0x2>;
dmas = <0xf8 0x4 0x0>;
interrupt-controller;
};
If the GPMC is disabled in the dts, why am I getting these dumps and how can I stop them?
Thanks a lot,
Nir.
