scsi: ufs: core: Combine 32-bit command_desc_base_addr_lo/hi
authorBao D. Nguyen <quic_nguyenb@quicinc.com>
Mon, 29 May 2023 22:12:20 +0000 (15:12 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Jun 2023 00:17:07 +0000 (20:17 -0400)
commita8f9a36e46344ea5bdc301c2fde0389a463bf0a3
treea4a9b60b8b32f1a29b9974296fc0bc5bf5555d1a
parentac9a78681b921877518763ba0e89202254349d1b
scsi: ufs: core: Combine 32-bit command_desc_base_addr_lo/hi

The UTP command descriptor base address is a 57-bit field in the UTP
transfer request descriptor. Combine the two 32-bit
command_desc_base_addr_lo/hi fields into a 64-bit for better handling of
this field.

Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Link: https://lore.kernel.org/r/4e6f7f5a15000cdae77c3014b477264f57bf572c.1685396241.git.quic_nguyenb@quicinc.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Tested-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
include/ufs/ufshci.h