Adding support to enhance the debugging capabilities of the Qualcomm UFS Host Controller, including HW and SW Hibern8 counts, MCQ registers, and testbus registers dump. --- Changes in v4: - Addressed Mani's comment and used kmalloc_array() for testbus mem allocation. - Removed usleep_range from ufs_qcom_dump_testbus. - Updated commit text. Changes in v3: - Addressed Bart's comment and Annotated the 'testbus' declaration with __free. - Converted the switch-statements into an array lookup. - Introduced struct testbus_info{} for handling testbus switch-statements to an array lookup. Changes in v2: - Rebased patchsets. - Link to v1: https://lore.kernel.org/linux-arm-msm/20241025055054.23170-1-quic_mapa@xxxxxxxxxxx/ --- Manish Pandey (3): scsi: ufs-qcom: Add support for dumping HW and SW hibern8 count scsi: ufs-qcom: Add support to dump MCQ registers scsi: ufs-qcom: Add support to dump MCQ registers drivers/ufs/host/ufs-qcom.c | 119 ++++++++++++++++++++++++++++++++++++ drivers/ufs/host/ufs-qcom.h | 11 ++++ 2 files changed, 130 insertions(+) -- 2.17.1