Re: [PATCH v2 5/5] scsi: ufs: Allow UFS host drivers to override the sg entry size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/19/22 04:15, Avri Altman wrote:
From: Eric Biggers <ebiggers@xxxxxxxxxx>
+config SCSI_UFS_VARIABLE_SG_ENTRY_SIZE
+       bool "Variable size UTP physical region descriptor"
+       help
+         In the UFSHCI 3.0 standard the Physical Region Descriptor (PRD) is a
+         data structure used for transferring data between host and UFS
+         device. This data structure describes a single region in physical
+         memory. Although the standard requires that this data structure has a
+         size of 16 bytes, for some controllers this data structure has a
+         different size. Enable this option for UFS controllers that need it.

Then this change should take the form of a quirk, AKA "opts" in exynos_ufs_drv_data.

Hi Avri,

I prefer a new CONFIG variable in combination with the ufshcd_set_sg_entry_size() function because: * Without the new CONFIG variable, the hot path would become slightly slower for controllers that comply with the UFSHCI standard. * I prefer to keep the details of the Exynos Physical Region Descriptor in the Exynos driver instead of in the UFSHCI core.

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux