[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161068333185.18181.7892741699634000269.b4-ty@oracle.com>
Date: Thu, 14 Jan 2021 23:08:25 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: kernel-team@...roid.com, Jaegeuk Kim <jaegeuk@...nel.org>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Jaegeuk Kim <jaegeuk@...gle.com>, alim.akhtar@...sung.com,
avri.altman@....com, bvanassche@....org, cang@...eaurora.org,
stanley.chu@...iatek.com
Subject: Re: [PATCH v3] scsi: ufs: WB is only available on LUN #0 to #7
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
Powered by blists - more mailing lists