scsi: ufs: core: mcq: Configure operation and runtime interface
Runtime and operation registers are defined per Submission and Completion queue. The location of these registers is not defined in the spec; meaning the offsets and stride may vary for different HC vendors. Establish the stride, base address, and doorbell address offsets from vendor host driver and program it. Co-developed-by:Can Guo <quic_cang@quicinc.com> Signed-off-by:
Can Guo <quic_cang@quicinc.com> Signed-off-by:
Asutosh Das <quic_asutoshd@quicinc.com> Reviewed-by:
Manivannan Sadhasivam <mani@kernel.org> Reviewed-by:
Bart Van Assche <bvanassche@acm.org> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/ufs/core/ufs-mcq.c 102 additions, 0 deletionsdrivers/ufs/core/ufs-mcq.c
- drivers/ufs/core/ufshcd-priv.h 11 additions, 0 deletionsdrivers/ufs/core/ufshcd-priv.h
- drivers/ufs/core/ufshcd.c 27 additions, 0 deletionsdrivers/ufs/core/ufshcd.c
- drivers/ufs/host/ufs-qcom.c 24 additions, 0 deletionsdrivers/ufs/host/ufs-qcom.c
- include/ufs/ufshcd.h 52 additions, 0 deletionsinclude/ufs/ufshcd.h
- include/ufs/ufshci.h 31 additions, 0 deletionsinclude/ufs/ufshci.h
Loading
Please register or sign in to comment