scsi: ufs: handle non spec compliant bkops behaviour by device
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 10 Mar 2016 15:37:15 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:45 +0000 (21:04 -0400)
commitafdfff59a0e0c5527610d3bc5d338a0da03dd23d
treea13954a029ee78eaf9b37ddc25be5e66a832dcda
parenta70e91b8bbaa3924d6598f9b4d1d468d2c88e6d3
scsi: ufs: handle non spec compliant bkops behaviour by device

We are seeing that some devices are raising the urgent bkops exception
events even when BKOPS status doesn't indicate performace impacted or
critical. Handle these device by determining their urgent bkops status
at runtime.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h