lkml.org 
[lkml]   [2021]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] scsi: ufs: WB is only available on LUN #0 to #7
Date
On Mon, 11 Jan 2021 01:59:27 -0800, Jaegeuk Kim wrote:

> Kernel stack violation when getting unit_descriptor/wb_buf_alloc_units from
> rpmb lun. The reason is the unit descriptor length is different per LU.
>
> The lengh of Normal LU is 45, while the one of rpmb LU is 35.
>
> int ufshcd_read_desc_param(struct ufs_hba *hba, ...)
> {
> param_offset=41;
> param_size=4;
> buff_len=45;
> ...
> buff_len=35 by rpmb LU;
>
> [...]

Applied to 5.12/scsi-queue, thanks!

[1/1] scsi: ufs: WB is only available on LUN #0 to #7
https://git.kernel.org/mkp/scsi/c/a2fca52ee640

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2021-01-15 05:12    [W:0.067 / U:1.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site