On Thu, 12 Jul 2018, Ming Lei wrote: > Usually SCSI supports runtime PM, so pass BLK_MQ_F_SUPPORT_RPM to blk-mq > core for enabling block runtime PM. > > Cc: "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx> > Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > Cc: linux-pm@xxxxxxxxxxxxxxx > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Bart Van Assche <bart.vanassche@xxxxxxx> > Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxxxxxxx> > Cc: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx> > Cc: linux-scsi@xxxxxxxxxxxxxxx > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> > --- > block/blk-core.c | 2 +- > drivers/scsi/scsi_lib.c | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/block/blk-core.c b/block/blk-core.c > index bf66d561980d..9e47205366ab 100644 > --- a/block/blk-core.c > +++ b/block/blk-core.c > @@ -3770,7 +3770,7 @@ EXPORT_SYMBOL(blk_finish_plug); > void blk_pm_runtime_init(struct request_queue *q, struct device *dev) > { > /* not support for RQF_PM and ->rpm_status in blk-mq yet */ Shouldn't that comment be removed? Alan Stern