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.

AM4372: Kernel warning while booting for AM4372 HS CPU

Part Number: AM4372

Hi E2E,

While booting we are getting this Kernel warning:

------------[ cut here ]------------
[ 0.131800] WARNING: CPU: 0 PID: 1 at drivers/bus/omap_l3_noc.c:141 l3_interrupt_handler+0x28c/0x384
[ 0.131813] 44000000.ocp:L3 Custom Error: MASTER M2 (64-bit) TARGET GPMC (Read): Data Access in User mode during Debug access

it is similar problem regarding to topic https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1042797/tmdsevm437x-kernel-warning-while-booting but there is no answer or solution how to fix it.

Any suggestion to identify the cause and to resolve the error?

Our version

kernel 5.10.153scu200-g43e0456f05

KERNEL_GIT_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
BRANCH = "ti-linux-5.10.y"

SRCREV = "43e0456f0575e1e5ace38f87103c024534c90d50"
PV = "5.10.153+git${SRCPV}"

  • Hi Damina,

    [ 0.131800] WARNING: CPU: 0 PID: 1 at drivers/bus/omap_l3_noc.c:141 l3_interrupt_handler+0x28c/0x384
    [ 0.131813] 44000000.ocp:L3 Custom Error: MASTER M2 (64-bit) TARGET GPMC (Read): Data Access in User mode during Debug access

    The log seems indicating access error to GPMC. To confirm this, can you please try to disable GPMC in your board DTS file to see if the issue error goes away?

  • Thanks I will check and back to you.

  • I don't try to disable GPMC in  DTS file yet but below I put full info for this error,

    0.131662] ------------[ cut here ]------------
    [ 0.131716] WARNING: CPU: 0 PID: 1 at drivers/bus/omap_l3_noc.c:141 l3_interrupt_handler+0x28c/0x384
    [ 0.131729] 44000000.ocp:L3 Custom Error: MASTER M2 (64-bit) TARGET GPMC (Read): Data Access in User mode during Debug access
    [ 0.131737] Modules linked in:
    [ 0.131758] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.145scu200-g76979ae487 #1
    [ 0.131767] Hardware name: Generic AM43 (Flattened Device Tree)
    [ 0.131809] [<c010cfb4>] (unwind_backtrace) from [<c010a190>] (show_stack+0x10/0x14)
    [ 0.131833] [<c010a190>] (show_stack) from [<c09e2e78>] (__warn+0xc0/0xd8)
    [ 0.131851] [<c09e2e78>] (__warn) from [<c09e2f28>] (warn_slowpath_fmt+0x98/0xc8)
    [ 0.131869] [<c09e2f28>] (warn_slowpath_fmt) from [<c04d843c>] (l3_interrupt_handler+0x28c/0x384)
    [ 0.131892] [<c04d843c>] (l3_interrupt_handler) from [<c016d7b0>] (__handle_irq_event_percpu+0x50/0x13c)
    [ 0.131908] [<c016d7b0>] (__handle_irq_event_percpu) from [<c016d8cc>] (handle_irq_event_percpu+0x30/0x88)
    [ 0.131921] [<c016d8cc>] (handle_irq_event_percpu) from [<c016d970>] (handle_irq_event+0x4c/0x8c)
    [ 0.131942] [<c016d970>] (handle_irq_event) from [<c0171918>] (handle_fasteoi_irq+0xb4/0x184)
    [ 0.131972] [<c0171918>] (handle_fasteoi_irq) from [<c016c970>] (generic_handle_irq+0x34/0x44)
    [ 0.131988] [<c016c970>] (generic_handle_irq) from [<c016d0fc>] (__handle_domain_irq+0x54/0xa4)
    [ 0.132004] [<c016d0fc>] (__handle_domain_irq) from [<c04d6d40>] (gic_handle_irq+0x64/0x78)
    [ 0.132022] [<c04d6d40>] (gic_handle_irq) from [<c0100b8c>] (__irq_svc+0x6c/0xa8)
    [ 0.132032] Exception stack(0xc1c8dc70 to 0xc1c8dcb8)
    [ 0.132043] dc60: c1c08900 00010004 00010004 00000000
    [ 0.132057] dc80: c1c08900 00000014 00000000 c1d572c0 c1c089c0 60000013 00000000 c1d52740
    [ 0.132068] dca0: 00000200 c1c8dcc0 c016f094 c016f0a4 60000013 ffffffff
    [ 0.132085] [<c0100b8c>] (__irq_svc) from [<c016f0a4>] (__setup_irq+0x370/0x7ac)
    [ 0.132100] [<c016f0a4>] (__setup_irq) from [<c016f5b0>] (request_threaded_irq+0xd0/0x148)
    [ 0.132116] [<c016f5b0>] (request_threaded_irq) from [<c0172b30>] (devm_request_threaded_irq+0x64/0xb8)
    [ 0.132134] [<c0172b30>] (devm_request_threaded_irq) from [<c04d86f8>] (omap_l3_probe+0x1c4/0x25c)
    [ 0.132161] [<c04d86f8>] (omap_l3_probe) from [<c0612c64>] (platform_drv_probe+0x48/0x98)
    [ 0.132179] [<c0612c64>] (platform_drv_probe) from [<c0610b20>] (really_probe+0xf0/0x398)
    [ 0.132195] [<c0610b20>] (really_probe) from [<c0610f34>] (driver_probe_device+0x5c/0xb4)
    [ 0.132210] [<c0610f34>] (driver_probe_device) from [<c060ee18>] (bus_for_each_drv+0x84/0xd0)
    [ 0.132225] [<c060ee18>] (bus_for_each_drv) from [<c0610984>] (__device_attach+0x104/0x1a8)
    [ 0.132239] [<c0610984>] (__device_attach) from [<c060fc8c>] (bus_probe_device+0x84/0x8c)
    [ 0.132265] [<c060fc8c>] (bus_probe_device) from [<c060c170>] (device_add+0x39c/0x77c)
    [ 0.132291] [<c060c170>] (device_add) from [<c07527dc>] (of_platform_device_create_pdata+0x9c/0xd8)
    [ 0.132310] [<c07527dc>] (of_platform_device_create_pdata) from [<c07529cc>] (of_platform_bus_create+0x1a8/0x244)
    [ 0.132324] [<c07529cc>] (of_platform_bus_create) from [<c0752bd8>] (of_platform_populate+0x70/0xe4)
    [ 0.132348] [<c0752bd8>] (of_platform_populate) from [<c0e0b5e8>] (pdata_quirks_init+0x70/0x80)
    [ 0.132364] [<c0e0b5e8>] (pdata_quirks_init) from [<c0e0b560>] (omap_generic_init+0x10/0x18)
    [ 0.132388] [<c0e0b560>] (omap_generic_init) from [<c0e02dcc>] (customize_machine+0x20/0x30)
    [ 0.132406] [<c0e02dcc>] (customize_machine) from [<c0101748>] (do_one_initcall+0x58/0x1c4)
    [ 0.132423] [<c0101748>] (do_one_initcall) from [<c0e011c0>] (kernel_init_freeable+0x1b0/0x214)
    [ 0.132442] [<c0e011c0>] (kernel_init_freeable) from [<c09ec8ac>] (kernel_init+0x8/0x118)
    [ 0.132458] [<c09ec8ac>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
    [ 0.132467] Exception stack(0xc1c8dfb0 to 0xc1c8dff8)
    [ 0.132477] dfa0: 00000000 00000000 00000000 00000000
    [ 0.132489] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 0.132500] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [ 0.132548] ---[ end trace 36502f9ace53d713 ]---

  • Hi Damina,

    Thanks for providing the detailed log. Please disable GPMC in DTS to confirm if the issue is related to GPMC or not, it helps in narrowing down the debug.

  • <p>Hi, Currently I prepare kernel version without GPMC module built-in - by disabling configuration variable as follows: CONFIG_OMAP_GPMC=n.</p>
    <p>Also GPMC is disabled by default in our DTS configuration. I explicitly add to the DTS lines:</p>
    <p>[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:33338471-2995-40a2-a38f-99bd1f422008:type=text&text=%26gpmc%20%7B%0D%0A%09status%20%3D%20%22disabled%22%3B%0D%0A%7D%3B]</p>
    <p>Nothing happens after booting new kernel. Still same error is visible:</p>
    <p>[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:624c7a13-ddf9-4a48-b4f6-d43d58851f6a:type=text&text=%5B%20%20%20%200.130913%5D%20------------%5B%20cut%20here%20%5D------------%0D%0A%5B%20%20%20%200.130956%5D%20WARNING%3A%20CPU%3A%200%20PID%3A%201%20at%20drivers%2Fbus%2Fomap_l3_noc.c%3A141%20l3_interrupt_handler%2B0x28c%2F0x384%0D%0A%5B%20%20%20%200.130968%5D%2044000000.ocp%3AL3%20Custom%20Error%3A%20MASTER%20M2%20%2864-bit%29%20TARGET%20GPMC%20%28Read%29%3A%20Data%20Access%20in%20User%20mode%20during%20Debug%20access%0D%0A%5B%20%20%20%200.130977%5D%20Modules%20linked%20in%3A%0D%0A%5B%20%20%20%200.130999%5D%20CPU%3A%200%20PID%3A%201%20Comm%3A%20swapper%20Not%20tainted%205.10.153scu200-gb3b8bf4238%20%231%0D%0A%5B%20%20%20%200.131008%5D%20Hardware%20name%3A%20Generic%20AM43%20%28Flattened%20Device%20Tree%29%0D%0A%5B%20%20%20%200.131051%5D%20%5B%3Cc010cfb4%3E%5D%20%28unwind_backtrace%29%20from%20%5B%3Cc010a190%3E%5D%20%28show_stack%2B0x10%2F0x14%29%0D%0A%5B%20%20%20%200.131083%5D%20%5B%3Cc010a190%3E%5D%20%28show_stack%29%20from%20%5B%3Cc09eb29c%3E%5D%20%28__warn%2B0xc0%2F0xd8%29%0D%0A%5B%20%20%20%200.131102%5D%20%5B%3Cc09eb29c%3E%5D%20%28__warn%29%20from%20%5B%3Cc09eb34c%3E%5D%20%28warn_slowpath_fmt%2B0x98%2F0xc8%29%0D%0A%5B%20%20%20%200.131119%5D%20%5B%3Cc09eb34c%3E%5D%20%28warn_slowpath_fmt%29%20from%20%5B%3Cc04dac9c%3E%5D%20%28l3_interrupt_handler%2B0x28c%2F0x384%29%0D%0A%5B%20%20%20%200.131140%5D%20%5B%3Cc04dac9c%3E%5D%20%28l3_interrupt_handler%29%20from%20%5B%3Cc016d7b0%3E%5D%20%28__handle_irq_event_percpu%2B0x50%2F0x13c%29%0D%0A%5B%20%20%20%200.131156%5D%20%5B%3Cc016d7b0%3E%5D%20%28__handle_irq_event_percpu%29%20from%20%5B%3Cc016d8cc%3E%5D%20%28handle_irq_event_percpu%2B0x30%2F0x88%29%0D%0A%5B%20%20%20%200.131169%5D%20%5B%3Cc016d8cc%3E%5D%20%28handle_irq_event_percpu%29%20from%20%5B%3Cc016d970%3E%5D%20%28handle_irq_event%2B0x4c%2F0x8c%29%0D%0A%5B%20%20%20%200.131189%5D%20%5B%3Cc016d970%3E%5D%20%28handle_irq_event%29%20from%20%5B%3Cc0171918%3E%5D%20%28handle_fasteoi_irq%2B0xb4%2F0x184%29%0D%0A%5B%20%20%20%200.131219%5D%20%5B%3Cc0171918%3E%5D%20%28handle_fasteoi_irq%29%20from%20%5B%3Cc016c970%3E%5D%20%28generic_handle_irq%2B0x34%2F0x44%29%0D%0A%5B%20%20%20%200.131235%5D%20%5B%3Cc016c970%3E%5D%20%28generic_handle_irq%29%20from%20%5B%3Cc016d0fc%3E%5D%20%28__handle_domain_irq%2B0x54%2F0xa4%29%0D%0A%5B%20%20%20%200.131260%5D%20%5B%3Cc016d0fc%3E%5D%20%28__handle_domain_irq%29%20from%20%5B%3Cc04d95a0%3E%5D%20%28gic_handle_irq%2B0x64%2F0x78%29%0D%0A%5B%20%20%20%200.131280%5D%20%5B%3Cc04d95a0%3E%5D%20%28gic_handle_irq%29%20from%20%5B%3Cc0100b8c%3E%5D%20%28__irq_svc%2B0x6c%2F0xa8%29%0D%0A%5B%20%20%20%200.131290%5D%20Exception%20stack%280xc1c8dc70%20to%200xc1c8dcb8%29%0D%0A%5B%20%20%20%200.131301%5D%20dc60%3A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20c1c08900%2000010004%2000010004%2000000000%0D%0A%5B%20%20%20%200.131315%5D%20dc80%3A%20c1c08900%2000000014%2000000000%20c1d57440%20c1c089c0%2060000013%2000000000%20c1d52740%0D%0A%5B%20%20%20%200.131326%5D%20dca0%3A%2000000200%20c1c8dcc0%20c016f094%20c016f0a4%2060000013%20ffffffff%0D%0A%5B%20%20%20%200.131342%5D%20%5B%3Cc0100b8c%3E%5D%20%28__irq_svc%29%20from%20%5B%3Cc016f0a4%3E%5D%20%28__setup_irq%2B0x370%2F0x7ac%29%0D%0A%5B%20%20%20%200.131356%5D%20%5B%3Cc016f0a4%3E%5D%20%28__setup_irq%29%20from%20%5B%3Cc016f5b0%3E%5D%20%28request_threaded_irq%2B0xd0%2F0x148%29%0D%0A%5B%20%20%20%200.131374%5D%20%5B%3Cc016f5b0%3E%5D%20%28request_threaded_irq%29%20from%20%5B%3Cc0172b30%3E%5D%20%28devm_request_threaded_irq%2B0x64%2F0xb8%29%0D%0A%5B%20%20%20%200.131391%5D%20%5B%3Cc0172b30%3E%5D%20%28devm_request_threaded_irq%29%20from%20%5B%3Cc04daf58%3E%5D%20%28omap_l3_probe%2B0x1c4%2F0x25c%29%0D%0A%5B%20%20%20%200.131419%5D%20%5B%3Cc04daf58%3E%5D%20%28omap_l3_probe%29%20from%20%5B%3Cc061572c%3E%5D%20%28platform_drv_probe%2B0x48%2F0x98%29%0D%0A%5B%20%20%20%200.131437%5D%20%5B%3Cc061572c%3E%5D%20%28platform_drv_probe%29%20from%20%5B%3Cc06135e8%3E%5D%20%28really_probe%2B0xf0%2F0x398%29%0D%0A%5B%20%20%20%200.131454%5D%20%5B%3Cc06135e8%3E%5D%20%28really_probe%29%20from%20%5B%3Cc06139fc%3E%5D%20%28driver_probe_device%2B0x5c%2F0xb4%29%0D%0A%5B%20%20%20%200.131469%5D%20%5B%3Cc06139fc%3E%5D%20%28driver_probe_device%29%20from%20%5B%3Cc06118e0%3E%5D%20%28bus_for_each_drv%2B0x84%2F0xd0%29%0D%0A%5B%20%20%20%200.131484%5D%20%5B%3Cc06118e0%3E%5D%20%28bus_for_each_drv%29%20from%20%5B%3Cc061344c%3E%5D%20%28__device_attach%2B0x104%2F0x1a8%29%0D%0A%5B%20%20%20%200.131498%5D%20%5B%3Cc061344c%3E%5D%20%28__device_attach%29%20from%20%5B%3Cc0612754%3E%5D%20%28bus_probe_device%2B0x84%2F0x8c%29%0D%0A%5B%20%20%20%200.131512%5D%20%5B%3Cc0612754%3E%5D%20%28bus_probe_device%29%20from%20%5B%3Cc060ec38%3E%5D%20%28device_add%2B0x39c%2F0x77c%29%0D%0A%5B%20%20%20%200.131542%5D%20%5B%3Cc060ec38%3E%5D%20%28device_add%29%20from%20%5B%3Cc075ac00%3E%5D%20%28of_platform_device_create_pdata%2B0x9c%2F0xd8%29%0D%0A%5B%20%20%20%200.131561%5D%20%5B%3Cc075ac00%3E%5D%20%28of_platform_device_create_pdata%29%20from%20%5B%3Cc075adf0%3E%5D%20%28of_platform_bus_create%2B0x1a8%2F0x244%29%0D%0A%5B%20%20%20%200.131577%5D%20%5B%3Cc075adf0%3E%5D%20%28of_platform_bus_create%29%20from%20%5B%3Cc075affc%3E%5D%20%28of_platform_populate%2B0x70%2F0xe4%29%0D%0A%5B%20%20%20%200.131606%5D%20%5B%3Cc075affc%3E%5D%20%28of_platform_populate%29%20from%20%5B%3Cc0e0b5e8%3E%5D%20%28pdata_quirks_init%2B0x70%2F0x80%29%0D%0A%5B%20%20%20%200.131624%5D%20%5B%3Cc0e0b5e8%3E%5D%20%28pdata_quirks_init%29%20from%20%5B%3Cc0e0b560%3E%5D%20%28omap_generic_init%2B0x10%2F0x18%29%0D%0A%5B%20%20%20%200.131641%5D%20%5B%3Cc0e0b560%3E%5D%20%28omap_generic_init%29%20from%20%5B%3Cc0e02dcc%3E%5D%20%28customize_machine%2B0x20%2F0x30%29%0D%0A%5B%20%20%20%200.131659%5D%20%5B%3Cc0e02dcc%3E%5D%20%28customize_machine%29%20from%20%5B%3Cc0101748%3E%5D%20%28do_one_initcall%2B0x58%2F0x1c4%29%0D%0A%5B%20%20%20%200.131674%5D%20%5B%3Cc0101748%3E%5D%20%28do_one_initcall%29%20from%20%5B%3Cc0e011c0%3E%5D%20%28kernel_init_freeable%2B0x1b0%2F0x214%29%0D%0A%5B%20%20%20%200.131697%5D%20%5B%3Cc0e011c0%3E%5D%20%28kernel_init_freeable%29%20from%20%5B%3Cc09f4ccc%3E%5D%20%28kernel_init%2B0x8%2F0x118%29%0D%0A%5B%20%20%20%200.131712%5D%20%5B%3Cc09f4ccc%3E%5D%20%28kernel_init%29%20from%20%5B%3Cc0100148%3E%5D%20%28ret_from_fork%2B0x14%2F0x2c%29%0D%0A%5B%20%20%20%200.131720%5D%20Exception%20stack%280xc1c8dfb0%20to%200xc1c8dff8%29%0D%0A%5B%20%20%20%200.131730%5D%20dfa0%3A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2000000000%2000000000%2000000000%2000000000%0D%0A%5B%20%20%20%200.131741%5D%20dfc0%3A%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%0D%0A%5B%20%20%20%200.131752%5D%20dfe0%3A%2000000000%2000000000%2000000000%2000000000%2000000013%2000000000%0D%0A%5B%20%20%20%200.131800%5D%20---%5B%20end%20trace%208c1fa1247cd3ba9d%20%5D---%0D%0A]</p>
    <p></p>

  • Hi Damina,

    It appears your post above is malformatted and unreadable. Can you please correct it?