summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2019-10-10 11:31:07 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-10-18 18:02:16 -0400
commit74e5e468b664d3739b2872d54764af97ac38e795 (patch)
tree3d2f43edc540a002cec8f261136e71a0357d34f2 /drivers/scsi/lpfc
parent535fb49e730a6fe1e9f11af4ae67ef4228ff4287 (diff)
scsi: ufs-bsg: Wake the device before sending raw upiu commands
The scsi async probe process is calling blk_pm_runtime_init for each lun, and then those request queues are monitored by the block layer pm engine (blk-pm.c). This is however, not the case for scsi-passthrough queues, created by bsg_setup_queue(). So the ufs-bsg driver might send various commands, disregarding the pm status of the device. This is wrong, regardless if its request queue is pm-aware or not. Fixes: df032bf27a41 (scsi: ufs: Add a bsg endpoint that supports UPIUs) Link: https://lore.kernel.org/r/1570696267-8487-1-git-send-email-avri.altman@wdc.com Reported-by: Yuliy Izrailov <yuliy.izrailov@wdc.com> Signed-off-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc')
0 files changed, 0 insertions, 0 deletions