Re: [PATCH V5 1/3] scsi: ufs: Fix error handler clear ua deadlock

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

 



+	prd_table[0].size       = cpu_to_le32(UFS_SENSE_SIZE - 1);

UFSHCI specifies Data Byte Count (DBC) like this:
A ‘0’ based value that indicates the length, in bytes, of the data 
block. A maximum of length of 256KB may exist for any entry. Bits 1:0 of this field shall be 
11b to indicate Dword granularity. A value of ‘3’ indicates 4 bytes, ‘7’ indicates 8 bytes, etc.

That means the size value should be aligned with 4. And as I know it's 18. 

Thanks.
Kiwoong Kim








[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