Revert "Revert "ANDROID: scsi: ufs: Disable zoned write pipelining""

The attempts so far to make write pipelining work are unsuccessful.
Revert commit 10d6ef4ce0 until write
pipelining works reliably.

Bug: 274474142
Change-Id: Ie7fd92c40ddefd1803b15329a3b1bd1d94012365
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
Bart Van Assche
2023-03-20 14:58:19 -07:00
parent adcea7fda4
commit 545fdf0fbb

View File

@@ -5177,7 +5177,9 @@ static int ufshcd_slave_configure(struct scsi_device *sdev)
ufshcd_hpb_configure(hba, sdev);
#if 0
blk_queue_flag_set(QUEUE_FLAG_PIPELINE_ZONED_WRITES, q);
#endif
blk_queue_update_dma_pad(q, PRDT_DATA_BYTE_COUNT_PAD - 1);
if (hba->quirks & UFSHCD_QUIRK_4KB_DMA_ALIGNMENT)
blk_queue_update_dma_alignment(q, 4096 - 1);