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/DRA718: error occurred during devmem2 excuted,

Part Number: DRA718


Tool/software: Linux

Hi Ti,

Sdk dra7xx-evm-03.03.00.03, linux kernel 4.4.84

I want to get the i2c5 register value via devmem2 0x48060024, but there was some error occurred:

root@dra7xx-evm:~# devmem2 0x48060024 b

/dev/mem opened.

Memory mapped at address 0xb6fb9[  874.068782] ------------[ cut here ]------------

[  874.077507] WARNING: CPU: 0 PID: 1196 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x27c/0x34c()

[  874.087531] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_PER1_P3 (Read): Data Access in User mode during Functional access

[  874.099654] Modules linked in:

[  874.102855] CPU: 0 PID: 1196 Comm: devmem2 Tainted: G        W       4.4.84-dirty #16

[  874.111060] Hardware name: Generic DRA72X (Flattened Device Tree)

[  874.117460] [<c001863c>] (unwind_backtrace) from [<c00143f8>] (show_stack+0x10/0x14)

[  874.125585] [<c00143f8>] (show_stack) from [<c037acb0>] (dump_stack+0x98/0xc4)

[  874.133157] [<c037acb0>] (dump_stack) from [<c0036994>] (warn_slowpath_common+0x98/0xb4)

[  874.141639] [<c0036994>] (warn_slowpath_common) from [<c00369e0>] (warn_slowpath_fmt+0x30/0x40)

[  874.150755] [<c00369e0>] (warn_slowpath_fmt) from [<c03a7fa0>] (l3_interrupt_handler+0x27c/0x34c)

[  874.160055] [<c03a7fa0>] (l3_interrupt_handler) from [<c0097014>] (handle_irq_event_percpu+0x1e0/0x4e0)

[  874.169904] [<c0097014>] (handle_irq_event_percpu) from [<c009734c>] (handle_irq_event+0x38/0x5c)

[  874.179216] [<c009734c>] (handle_irq_event) from [<c009a460>] (handle_fasteoi_irq+0x108/0x1a8)

[  874.188246] [<c009a460>] (handle_fasteoi_irq) from [<c0096534>] (generic_handle_irq+0x24/0x34)

[  874.197277] [<c0096534>] (generic_handle_irq) from [<c0096868>] (__handle_domain_irq+0xb8/0xe4)

[  874.206397] [<c0096868>] (__handle_domain_irq) from [<c0009530>] (gic_handle_irq+0x54/0x94)

[  874.215150] [<c0009530>] (gic_handle_irq) from [<c074ceb4>] (__irq_usr+0x54/0x80)

[  874.222988] Exception stack(0xeefb7fb0 to 0xeefb7ff8)

[  874.228279] 7fa0:                                     000103a7 b6fbd958 b6fbb930 b6fbdb10

[  874.236842] 7fc0: 00000000 00020dfc b6fac000 b6fac4c0 00000000 00000001 becd0b08 becd0d04

[  874.245408] 7fe0: 00000017 becd0aa8 00010390 b6f9f9a8 20070030 ffffffff

[  874.252335] ---[ end trace 4960a5857c9891ad ]---

000.

[  874.257359] Unhandled fault: imprecise external abort (0x1406) at 0x00000000

[  874.265154] pgd = edbd4000

[  874.267983] [00000000] *pgd=00000000

Read at address  0x48060024 (0xb6fb9024): 0x00