I might be slightly off the deep end here. mv_xor keep crashing when I try to build an array with RAID 5/6.
Specs:
kernel.org mainline 4.12.0, with no extra patches
Debian 9.0
Logic SAS2008 Controller
Any where from 3~8 drives, depending on my mood
Booting from the on-board SATA
root@espressobin:/tmp# uname -a
Linux espressobin 4.12.0 #8 SMP Tue Jul 11 18:16:34 UTC 2017 aarch64 GNU/Linux
root@espressobin:/tmp# lspci
00:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
root@espressobin:/tmp# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.12.0 (root@debian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #8 SMP Tue Jul 11 18:16:34 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: Globalscale Marvell ESPRESSOBin Board
...
[ 13.161031] md0: bitmap file is out of date (0 < 1) -- forcing full recovery
[ 13.168413] md0: bitmap file is out of date, doing full recovery
[ 13.213502] md0: detected capacity change from 0 to 1920147128320
[ 13.223071] mv_xor d0060900.xor: error on chan 1. intr cause 0x00000202
[ 13.229738] mv_xor d0060900.xor: config 0x00008447
[ 13.235220] mv_xor d0060900.xor: activation 0x00000000
[ 13.240522] mv_xor d0060900.xor: intr cause 0x02020000
[ 13.246361] mv_xor d0060900.xor: intr mask 0x03f703ff
[ 13.251670] mv_xor d0060900.xor: error cause 0x00000000
[ 13.257062] mv_xor d0060900.xor: error addr 0x00000000
[ 13.262572] ------------[ cut here ]------------
[ 13.267406] WARNING: CPU: 0 PID: 72 at drivers/dma/mv_xor.c:891 mv_xor_interrupt_handler+0x218/0x220
[ 13.276737] Modules linked in: raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c md_mod marvell mv88e6xxx dsa_core xhci_plat_hcd xhci_hcd aes_ce_blk crypto_simd cryptd mpt3sas aes_ce_cipher crct10dif_ce ghash_ce sha2_ce mvneta mvmdio raid_class sha1_ce of_mdio usbcore scsi_transport_sas fixed_phy libphy usb_common nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc autofs4
[ 13.315103] CPU: 0 PID: 72 Comm: kworker/0:1H Not tainted 4.12.0 #8
[ 13.321389] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[ 13.328138] task: ffff80007c92cf80 task.stack: ffff80007caf4000
[ 13.333972] PC is at mv_xor_interrupt_handler+0x218/0x220
[ 13.339632] LR is at mv_xor_interrupt_handler+0x218/0x220
[ 13.345202] pc : [<ffff0000084a2048>] lr : [<ffff0000084a2048>] pstate: 800001c5
[ 13.352659] sp : ffff80007ffb8eb0
[ 13.356521] x29: ffff80007ffb8eb0 x28: ffff80007c92cf80
[ 13.361913] x27: ffff80007c866600 x26: ffff00000893f000
[ 13.367305] x25: ffff00000893f000 x24: ffff0000089599b8
[ 13.372786] x23: ffff80007ffb8f74 x22: 0000000000000000
[ 13.378268] x21: 0000000000000202 x20: 0000000000000202
[ 13.383660] x19: ffff80007c8a3818 x18: ffffffffffffffff
[ 13.389140] x17: 0000000000000007 x16: 0000000000000001
[ 13.394711] x15: ffff000008959990 x14: ffff000088a78677
[ 13.400192] x13: ffff000008a78685 x12: 0000000000000040
[ 13.405584] x11: 0000000000000000 x10: 0000000005f5e0ff
[ 13.411244] x9 : 000000000000003c x8 : ffff0000084e5240
[ 13.416547] x7 : ffff00000893f000 x6 : 0000000000000136
[ 13.422207] x5 : 0000000000000001 x4 : 0000000000000001
[ 13.427599] x3 : 0000000000000007 x2 : 0000000000040c00
[ 13.432991] x1 : 0000000000040c00 x0 : 0000000000000000
[ 13.438383] ---[ end trace b1b32eb43b6ae4a8 ]---
...