On Wed, 27 Feb 2019 at 19:51, Heiner Kallweit <hkallweit1@xxxxxxxxx> wrote: > > Since a few days I get the following crash with linux-next. > linux-next from Feb 18th still works fine. > Platform is a Vybrid VF610 board. Can you try git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git fixes Is has a fix for SDHCI ADMA issues. Kind regards Uffe > > > Here the MMC/SDHCI-related log parts before the crash: > > sdhci: Secure Digital Host Controller Interface driver > sdhci: Copyright(c) Pierre Ossman > sdhci-pltfm: SDHCI platform and OF driver helper > mmc0: SDHCI controller on 400b1000.esdhc [400b1000.esdhc] using ADMA > > mmc0: new high speed MMC card at address 0001 > mmcblk0: mmc0:0001 016G70 7.39 GiB > mmcblk0boot0: mmc0:0001 016G70 partition 1 4.00 MiB > mmcblk0boot1: mmc0:0001 016G70 partition 2 4.00 MiB > mmcblk0rpmb: mmc0:0001 016G70 partition 3 4.00 MiB, chardev (249:0) > mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 > > > > > mmc0: Timeout waiting for hardware interrupt. > mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== > mmc0: sdhci: Sys addr: 0x9f646014 | Version: 0x00001201 > mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000002 > mmc0: sdhci: Argument: 0x002f6b50 | Trn mode: 0x00000033 > mmc0: sdhci: Present: 0x0108028e | Host ctl: 0x00000031 > mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000000 > mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000002f > mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000 > mmc0: sdhci: Int enab: 0x107f000b | Sig enab: 0x107f000b > mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00001201 > mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x08100810 > mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000 > mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000000 > mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 > mmc0: sdhci: Host ctl2: 0x00000000 > mmc0: sdhci: ADMA Err: 0x00000007 | ADMA Ptr: 0x9f645214 > mmc0: sdhci: ============================================ > mmc0: Timeout waiting for hardware interrupt. > mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== > mmc0: sdhci: Sys addr: 0x9f646014 | Version: 0x00001201 > mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000002 > mmc0: sdhci: Argument: 0x002f6b50 | Trn mode: 0x00000033 > mmc0: sdhci: Present: 0x0108028e | Host ctl: 0x00000031 > mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000000 > mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000002f > mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000 > mmc0: sdhci: Int enab: 0x107f000b | Sig enab: 0x107f000b > mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00001201 > mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x08100810 > mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000 > mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000000 > mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 > mmc0: sdhci: Host ctl2: 0x00000000 > mmc0: sdhci: ADMA Err: 0x00000007 | ADMA Ptr: 0x9f645214 > mmc0: sdhci: ============================================ > mmc0: ADMA error > mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== > mmc0: sdhci: Sys addr: 0x00676e7c | Version: 0x00001201 > mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000002 > mmc0: sdhci: Argument: 0x002f61c8 | Trn mode: 0x00000033 > mmc0: sdhci: Present: 0x0128028e | Host ctl: 0x00000031 > mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000000 > mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000002f > mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000 > mmc0: sdhci: Int enab: 0x107f000b | Sig enab: 0x107f000b > mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00001201 > mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x08100810 > mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000 > mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x37300091 > mmc0: sdhci: Resp[2]: 0x30313647 | Resp[3]: 0x00110100 > mmc0: sdhci: Host ctl2: 0x00000000 > mmc0: sdhci: ADMA Err: 0x00000007 | ADMA Ptr: 0x9f64521c > mmc0: sdhci: ============================================ > Unable to handle kernel NULL pointer dereference at virtual address 00000047 > pgd = (ptrval) > [00000047] *pgd=00000000 > Internal error: Oops: 5 [#1] ARM > Modules linked in: > CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 5.0.0-rc8-next-20190227-00001-g1e1d0ae7a #1 > Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree) > PC is at wq_worker_waking_up+0xc/0x80 > LR is at wq_worker_waking_up+0xc/0x80 > pc : [<8012c748>] lr : [<8012c748>] psr: 00010193 > sp : 9f469e00 ip : 9f56383c fp : 9f469e2c > r10: 00000000 r9 : 00000003 r8 : 00000000 > r7 : 60010193 r6 : 8080d9c0 r5 : 00000000 r4 : 9f563800 > r3 : 9f64fc00 r2 : 00000001 r1 : 00000000 r0 : 00000017 > Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none > Control: 10c53c7d Table: 9ecb0059 DAC: 00000051 > Process ksoftirqd/0 (pid: 7, stack limit = 0x(ptrval)) > Stack: (0x9f469e00 to 0x9f46a000) > 9e00: 9f563800 00000002 8080d9c0 8013562c 9ec45e18 00000000 9f6a12a4 00000000 > 9e20: 8013dac8 00000003 9f469e70 8013dad4 9f6a1298 8013d3d8 9f469e88 00000001 > 9e40: 00000000 00000000 9f469e70 00000000 00000003 9f6a12a4 80807008 20010113 > 9e60: 805bd4ac 8013d510 00000000 9f469e70 00000000 00000000 00000000 9f469e7c > 9e80: 9f469e7c a5966554 9f58c300 9f5546b0 20010113 0000002a 00000030 00000000 > 9ea0: 805004c0 8013d550 00000000 9f5546b0 20010113 803c657c 9f4b2830 8080d9f8 > 9ec0: 9f4b2830 805bd4ac 8080d9c0 00000000 00000000 00000040 8080bc98 80825f40 > 9ee0: 8080ded0 00000100 40000006 801185a0 00000000 80826b74 9f468000 80826b5c > 9f00: 00000006 8010227c 9f469f4c 804e8d48 80826b5c 80825f40 ffffe000 0000000a > 9f20: 8080bc94 ffff935c 808124a0 04208040 ffffe000 9f42a040 ffffe000 00000000 > 9f40: 8080bc64 80807008 00000001 9f453e58 9f42a0d8 80118634 9f42a040 80132ff8 > 9f60: ffffe000 a5966554 9f42a0d8 9f42a0c0 9f42a080 00000000 9f468000 9f42a040 > 9f80: 80132f10 8012fcb8 00000000 9f42a080 8012fb7c 00000000 00000000 00000000 > 9fa0: 00000000 00000000 00000000 801010e8 00000000 00000000 00000000 00000000 > 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 > [<8012c748>] (wq_worker_waking_up) from [<8013562c>] (try_to_wake_up+0x114/0x140) > [<8013562c>] (try_to_wake_up) from [<8013dad4>] (autoremove_wake_function+0xc/0x34) > [<8013dad4>] (autoremove_wake_function) from [<8013d3d8>] (__wake_up_common+0x78/0x134) > [<8013d3d8>] (__wake_up_common) from [<8013d510>] (__wake_up_common_lock+0x7c/0xa8) > [<8013d510>] (__wake_up_common_lock) from [<8013d550>] (__wake_up+0x14/0x1c) > [<8013d550>] (__wake_up) from [<803c657c>] (sdhci_tasklet_finish+0x110/0x2fc) > [<803c657c>] (sdhci_tasklet_finish) from [<801185a0>] (tasklet_action_common.constprop.4+0x68/0xb4) > [<801185a0>] (tasklet_action_common.constprop.4) from [<8010227c>] (__do_softirq+0xfc/0x2a4) > [<8010227c>] (__do_softirq) from [<80118634>] (run_ksoftirqd+0x28/0x34) > [<80118634>] (run_ksoftirqd) from [<80132ff8>] (smpboot_thread_fn+0xe8/0x1ac) > [<80132ff8>] (smpboot_thread_fn) from [<8012fcb8>] (kthread+0x13c/0x144) > [<8012fcb8>] (kthread) from [<801010e8>] (ret_from_fork+0x14/0x2c) > Exception stack(0x9f469fb0 to 0x9f469ff8) > 9fa0: 00000000 00000000 00000000 00000000 > 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 > Code: 8080ceec e92d4070 e1a05001 eb000f9c (e5903030) > ---[ end trace e978fd90642859a3 ]--- > Kernel panic - not syncing: Fatal exception in interrupt > ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---