On Fri, 8 May 2020 16:01:07 +0800, Stanley Chu wrote: > This patchset adds LU dedicated buffer mode support for WriteBooster. > In the meanwhile, enable WriteBooster capability on MediaTek UFS platforms. > > v7 -> v8: > - In exported funtion ufshcd_fixup_dev_quirks(), add null checking for parameter "fixups" (Avri Altman) > > v6 -> v7: > - Add device descriptor length check in ufshcd_wb_probe() back to prevent out-of-boundary access in ufshcd_wb_probe() > - Fix the check of device descriptor length (Avri Altman) > - Provide a new ufs_fixup_device_setup() function to pack both device fixup methods by general quirk table and vendor-specific way (Avri Altman) > > [...] Applied to 5.8/scsi-queue, thanks! [1/8] scsi: ufs: Enable WriteBooster on some pre-3.1 UFS devices https://git.kernel.org/mkp/scsi/c/817d7e140283 [2/8] scsi: ufs: Introduce fixup_dev_quirks vops https://git.kernel.org/mkp/scsi/c/c28c00ba4f06 [3/8] scsi: ufs: Export ufs_fixup_device_setup() function https://git.kernel.org/mkp/scsi/c/8db269a5102e [4/8] scsi: ufs-mediatek: Add fixup_dev_quirks vops https://git.kernel.org/mkp/scsi/c/62c2f503b54c [5/8] scsi: ufs: Add "index" in parameter list of ufshcd_query_flag() https://git.kernel.org/mkp/scsi/c/1f34eedf9bc1 [6/8] scsi: ufs: Add LU Dedicated buffer mode support for WriteBooster https://git.kernel.org/mkp/scsi/c/6f8d5a6a78cf [7/8] scsi: ufs-mediatek: Enable WriteBooster capability https://git.kernel.org/mkp/scsi/c/29060a629135 [8/8] scsi: ufs: Cleanup WriteBooster feature https://git.kernel.org/mkp/scsi/c/79e3520f82cb -- Martin K. Petersen Oracle Linux Engineering