Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/DRA75: IPU1 crash while access timer2

$
0
0

Part Number:DRA75

Tool/software: Linux

hardware: VAYU EVM XC5777X REV H

software: ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03

PDK: pdk_dra7xx_1_0_10

I want to share the system timer2 to ipu1 as readonly.

I test like bellow:

It's ok while IPU1 access timer11.

the source code like this:

temp = HW_RD_REG32(0x4808803c);

but it will crash while access timer2.

the source code like this

temp = HW_RD_REG32(0x4803203c);

I speculate that the kernel lock address for timer2.

How to unlock it?

I run the cmd:

omapconf read 0x4803203c

this will cause the same error

the error msg are:

root@dra74x:~# [  608.317321]  remoteproc0: powering up 58820000.ipu
[  608.322143]  remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4551972
[  608.329510] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[  608.347751]  remoteproc0: remote processor 58820000.ipu is now up
[  608.354770] virtio_rpmsg_bus virtio1: rpmsg host is online
[  608.360283] ------------[ cut here ]------------
[  608.360297] WARNING: CPU: 0 PID: 13 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x368()
[  608.360302] 44000000.ocp:L3 Custom Error: MASTER IPU1 TARGET L4_PER1_P3 (Read): Data Access in User mode during Functional access
[  608.360307] Modules linked in: pvrsrvkm(O)
[  608.360313] CPU: 0 PID: 13 Comm: kworker/0:1 Tainted: G           O    4.4.84 #614
[  608.360314] Hardware name: Generic DRA74X (Flattened Device Tree)
[  608.360325] Workqueue: events request_firmware_work_func
[  608.360327] Backtrace:  
[  608.360341] [<c0014220>] (dump_backtrace) from [<c001441c>] (show_stack+0x18/0x1c)
[  608.360348]  r7:c0295568 r6:00000093 r5:00000009 r4:00000000
[  608.360356] [<c0014404>] (show_stack) from [<c026ea0c>] (dump_stack+0x24/0x28)
[  608.360365] [<c026e9e8>] (dump_stack) from [<c0034300>] (warn_slowpath_common+0x88/0xb4)
[  608.360370] [<c0034278>] (warn_slowpath_common) from [<c0034364>] (warn_slowpath_fmt+0x38/0x40)
[  608.360377]  r8:00000017 r7:c07425ac r6:00000002 r5:c0742148 r4:c07421ec
[  608.360384] [<c0034330>] (warn_slowpath_fmt) from [<c0295568>] (l3_interrupt_handler+0x25c/0x368)
[  608.360387]  r3:df5aacc0 r2:c07421ec
[  608.360389]  r4:80080003
[  608.360397] [<c029530c>] (l3_interrupt_handler) from [<c00686dc>] (handle_irq_event_percpu+0xb4/0x16c)
[  608.360404]  r10:c0856613 r9:df5a4d80 r8:00000017 r7:00000000 r6:00000000 r5:c08149b4
[  608.360406]  r4:df5b61c0
[  608.360411] [<c0068628>] (handle_irq_event_percpu) from [<c00687f8>] (handle_irq_event+0x64/0x90)
[  608.360418]  r10:df5d0000 r9:00000129 r8:df406000 r7:00000000 r6:00000000 r5:c08149b4
[  608.360420]  r4:df5a4d80
[  608.360426] [<c0068794>] (handle_irq_event) from [<c006b7e8>] (handle_fasteoi_irq+0xc0/0x204)
[  608.360429]  r5:c08149b4 r4:df5a4d80
[  608.360435] [<c006b728>] (handle_fasteoi_irq) from [<c0067da4>] (generic_handle_irq+0x2c/0x3c)
[  608.360440]  r7:00000000 r6:00000000 r5:00000017 r4:c083a2fc
[  608.360445] [<c0067d78>] (generic_handle_irq) from [<c0068010>] (__handle_domain_irq+0x5c/0xb0)
[  608.360450] [<c0067fb4>] (__handle_domain_irq) from [<c0009504>] (gic_handle_irq+0x40/0x6c)
[  608.360457]  r9:00000129 r8:fa213000 r7:fa212000 r6:df5d1990 r5:fa21200c r4:c08104c8
[  608.360461] [<c00094c4>] (gic_handle_irq) from [<c0014ed4>] (__irq_svc+0x54/0x90)


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>