On Tue, 10 Sep 2024 07:45:43 +0300, 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.
[...]
Applied to 6.12/scsi-fixes, thanks!
[1/1] scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb https://git.kernel.org/mkp/scsi/c/d5130c5a0932