Re: [PATCH] [resend] wd719x: Fix resets and aborts

2019-06-18 Thread Martin K. Petersen
Ondrej, > Host reset oopses because it calls wd719x_chip_init, which calls > request_firmware, under a spinlock. Stop the RISC first, then flush > active SCBs under a spinlock. Finally call wd719x_chip_init unlocked. Applied to 5.3/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linu

[PATCH] [resend] wd719x: Fix resets and aborts

2019-06-17 Thread Ondrej Zary
Host reset oopses because it calls wd719x_chip_init, which calls request_firmware, under a spinlock. Stop the RISC first, then flush active SCBs under a spinlock. Finally call wd719x_chip_init unlocked. Also found and fixed more bugs during tests: Affected active SCBs were not flushed during abor