Thread (9 messages) 9 messages, 3 authors, 2021-09-30

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

From: Kiwoong Kim <hidden>
Date: 2021-09-29 05:18:00

(I post this again because this isn't attached to the mail thread)

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.
Yes, its buffer is enough but if a host doesn't access memory with four-byte
alignment, it could cause problems.

Thanks.
Kiwoong Kim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help