diff options
| author | Avri Altman <[email protected]> | 2024-09-10 04:45:43 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-10-04 01:30:54 +0000 |
| commit | d5130c5a093257aa4542aaded8034ef116a7624a (patch) | |
| tree | ec99708524c8db78b94cb47d9ccf38b43d806dd3 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py | |
| parent | Linux 6.12-rc1 (diff) | |
| download | kernel-d5130c5a093257aa4542aaded8034ef116a7624a.tar.gz kernel-d5130c5a093257aa4542aaded8034ef116a7624a.zip | |
scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()
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.
Fixes: 26f968d7de82 ("scsi: ufs: Introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk")
Cc: [email protected]
Signed-off-by: Avri Altman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions
