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

From: Avri Altman
Date: Thu Sep 12 2024 - 02:57:26 EST


> On 9/9/24 9:45 PM, 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.
>
> With which host controllers has this patch been tested?
Qualcomm RB5 platform.
I guess I'll be needing help with testing it on an exynos platforms?

Thanks,
Avri

>
> Thanks,
>
> Bart.