Amitkumar Karwar <akarwar@xxxxxxxxxxx> wrote: > From: Shengzhen Li <szli@xxxxxxxxxxx> > > We may get SLEEP event from firmware even if TXDone interrupt > for last Tx packet is still pending. In this case, we may > end up accessing PCIe memory for handling TXDone after power > save handshake is completed. This causes kernel crash with > external abort. > > This patch will only allow downloading sleep confirm > when no tx done interrupt is pending in the hardware. > > Signed-off-by: Cathy Luo <cluo@xxxxxxxxxxx> > Signed-off-by: Shengzhen Li <szli@xxxxxxxxxxx> > Tested-by: Xinming Hu <huxm@xxxxxxxxxxx> > Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx> > Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx> 11 patches applied to wireless-drivers-next.git, thanks. eb2428fb1a21 mwifiex: check tx_hw_pending before downloading sleep confirm 6712076883ca mwifiex: complete blocked power save handshake in main process 4a79aa17d53e mwifiex: resolve races between async FW init (failure) and device removal a1beec4b2c6f mwifiex: remove redundant pdev check in suspend/resume handlers 7ccdf72f9128 mwifiex: don't pretend to resume while remove()'ing b42dbb27e326 mwifiex: resolve suspend() race with async FW init failure bcf28a2f2846 mwifiex: reset card->adapter during device unregister 58b7033551cd mwifiex: usb: handle HS failures 6caf34cb3a92 mwifiex: sdio: don't check for NULL sdio_func e98fb11ffa0a mwifiex: stop checking for NULL drvata/intfdata 97489c284d9f mwifiex: pcie: stop checking for NULL adapter->card -- https://patchwork.kernel.org/patch/9436513/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches