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