RE: [PATCH] scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb

From: Avri Altman
Date: Tue Sep 10 2024 - 00:04:52 EST


> On 9/9/24 2:56 AM, Avri Altman wrote:
> > Replace manual offset calculations for response_upiu and prd_table in
> > ufshcd_init_lrb() with pre-calculated offsets already stored in the
> > utp_transfer_req_desc structure. The pre-calculated offsets are set
> > differently in ufshcd_host_memory_configure() based on the
> > UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk, ensuring correct alignment and
> > access.
>
> Please add Fixes: and Cc: stable tags.
Done.

Thanks,
Avri

>
> Thanks,
>
> Bart.