Hi, On Thu, May 5, 2022 at 7:03 AM Tony Lindgren <tony@xxxxxxxxxxx> wrote: > > Hi, > > * Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> [220504 09:12]: > > Hi Tony, all, > > > > During the kernel boot I see the following error. The device is still > > working afterwards. 5.17.5 shows the same behavior. Is this a known > > issue? > > Thanks for reporting it, I was not aware of this one. Might be worth > bisecting. Adding linux-mmc and Ulf. After enabling the CONFIG_DMA_API_DEBUG option, I also get the following error: Starting syslogd: OK Starting klogd: OK Running sysctl: OK Populating /dev using udev: [ 7.511893] ------------[ cut here ]------------ [ 7.516605] WARNING: CPU: 0 PID: 73 at kernel/dma/debug.c:1073 check_for_illegal_area+0xd0/0x180 [ 7.525734] DMA-API: sdhci-omap 48060000.mmc: device driver maps memory from kernel text or rodata [addr=(ptrval)] [len=12288] [ 7.537275] Modules linked in: [ 7.540429] CPU: 0 PID: 73 Comm: kworker/0:2H Not tainted 5.18.0-rc7 #14 [ 7.547182] Hardware name: Generic AM33XX (Flattened Device Tree) [ 7.553320] Workqueue: kblockd blk_mq_run_work_fn [ 7.558098] unwind_backtrace from show_stack+0x10/0x14 [ 7.563386] show_stack from dump_stack_lvl+0x58/0x70 [ 7.568501] dump_stack_lvl from __warn+0xb4/0x24c [ 7.573342] __warn from warn_slowpath_fmt+0x74/0xb8 [ 7.578352] warn_slowpath_fmt from check_for_illegal_area+0xd0/0x180 [ 7.584845] check_for_illegal_area from debug_dma_map_sg+0x60/0x3d8 [ 7.591249] debug_dma_map_sg from __dma_map_sg_attrs+0xa4/0x13c [ 7.597316] __dma_map_sg_attrs from dma_map_sg_attrs+0x14/0x20 [ 7.603288] dma_map_sg_attrs from sdhci_pre_dma_transfer+0xcc/0x134 [ 7.609705] sdhci_pre_dma_transfer from mmc_blk_mq_issue_rq+0x2f4/0xa58 [ 7.616462] mmc_blk_mq_issue_rq from mmc_mq_queue_rq+0x124/0x258 [ 7.622604] mmc_mq_queue_rq from blk_mq_dispatch_rq_list+0x1b8/0x8ac [ 7.629104] blk_mq_dispatch_rq_list from blk_mq_do_dispatch_sched+0x2ec/0x350 [ 7.636387] blk_mq_do_dispatch_sched from __blk_mq_sched_dispatch_requests+0x118/0x170 [ 7.644448] __blk_mq_sched_dispatch_requests from blk_mq_sched_dispatch_requests+0x34/0x5c [ 7.652859] blk_mq_sched_dispatch_requests from __blk_mq_run_hw_queue+0xf8/0x230 [ 7.660402] __blk_mq_run_hw_queue from process_one_work+0x284/0x72c [ 7.666820] process_one_work from worker_thread+0x28/0x4b0 [ 7.672441] worker_thread from kthread+0xe4/0x104 [ 7.677280] kthread from ret_from_fork+0x14/0x28 [ 7.682027] Exception stack(0xd0421fb0 to 0xd0421ff8) [ 7.687116] 1fa0: 00000000 00000000 00000000 00000000 [ 7.695346] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 7.703574] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 7.710321] irq event stamp: 0 [ 7.713411] hardirqs last enabled at (0): [<00000000>] 0x0 [ 7.719029] hardirqs last disabled at (0): [<c0135e68>] copy_process+0x630/0x19c4 [ 7.726626] softirqs last enabled at (0): [<c0135e68>] copy_process+0x630/0x19c4 [ 7.734219] softirqs last disabled at (0): [<00000000>] 0x0 [ 7.739883] ---[ end trace 0000000000000000 ]--- [ 7.837580] udevd[101]: starting version 3.2.11 Regards, Yegor