RE: [PATCH] scsi: ufs: Increase the maximum data buffer size

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

 



> 
> On 7/22/22 03:19, Avri Altman wrote:
> >>> Note: the maximum data buffer size supported by the UFSHCI
> >>> specification is 65535 * 256 MiB or about 16 TiB.
>  >
> > Can you help me find this limit in UFSHCI?
> 
>  From the UFSHCI 3.0 specification:
> * PRDT length is a sixteen bit field so the maximum value is 65535 (entries).
> * The maximum length of a single descriptor is 256 KiB. See also the DBC (Data
> Byte Count) field.
> 
> So the maximum amount of data that can be transferred at once is 65535 *
> 256 KiB or about 16 GiB (and not what I wrote in my previous message).
The transfer-length of rw10 is 2 bytes, and I am not even sure that rw16 support is mandatory.
Maybe it would be more practical, instead of 16GB to use 255MiB instead?

Thanks,
Avri




[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