On 06/02/2023 21:14, Bart Van Assche wrote:
On 02/02/2023 22:04, Bart Van Assche wrote:
Allow SCSI LLDs to specify RQF_* and SCMD_* flags.
As I see, if BLK_MQ_REQ_PM is set for scsi_exec_args.req_flags, then
RQF_PM gets set automatically in blk_mq_rq_ctx_init() for
request.rq_flags. Christoph previously mentioned that we are required
to set both (BLK_MQ_REQ_PM and RQF_PM). So where does it matter that
we need to set RQF_PM (that setting BLK_MQ_REQ_PM doesn't cover)?
I will rework this patch such that both flags are set instead of only
one of the two.
You are setting both flags (BLK_MQ_REQ_PM and RQF_PM) in this series,
which is what I was curious about. However that is not a change in
behavior for ufshcd_execute_start_stop().
Thanks,
John