diff options
author | Bart Van Assche <bvanassche@acm.org> | 2020-12-09 06:29:49 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-12-09 17:41:42 +0100 |
commit | e6044f714b256259df9611ff49af433e5411c5c8 (patch) | |
tree | 9811e404ac92e7065e55b4df97ef625c1cc319be /drivers/scsi/zorro_esp.c | |
parent | scsi: scsi_transport_spi: Set RQF_PM for domain validation commands (diff) | |
download | linux-e6044f714b256259df9611ff49af433e5411c5c8.tar.xz linux-e6044f714b256259df9611ff49af433e5411c5c8.zip |
scsi: core: Only process PM requests if rpm_status != RPM_ACTIVE
Instead of submitting all SCSI commands submitted with scsi_execute() to a
SCSI device if rpm_status != RPM_ACTIVE, only submit RQF_PM (power
management requests) if rpm_status != RPM_ACTIVE. This patch makes the SCSI
core handle the runtime power management status (rpm_status) as it should
be handled.
Link: https://lore.kernel.org/r/20201209052951.16136-7-bvanassche@acm.org
Cc: Can Guo <cang@codeaurora.org>
Cc: Stanley Chu <stanley.chu@mediatek.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Martin Kepplinger <martin.kepplinger@puri.sm>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/zorro_esp.c')
0 files changed, 0 insertions, 0 deletions