[PATCH V2 0/8] scsi: ufs: ufs-pci: Fix hibernate state transition for Intel MTL-like host controllers

Adrian Hunter
2025-07-23T16:59:10Z

Hi

Here is V2 of a couple of fixes for Intel MTL-like UFS host controllers,
related to link Hibernation state.

Following the fixes are some improvements for the enabling and disabling
of UIC Completion interrupts.

Changes in V2:
scsi: ufs: ufs-pci: Fix default runtime and system PM levels
Add comment about getting variant after it is set

scsi: ufs: ufs-pci: Remove UFS PCI driver's ->late_init() call back
Adjust for change in patch 2
Add Bart's Rev'd-by

scsi: ufs: core: Remove duplicated code in ufshcd_send_bsg_uic_cmd()
scsi: ufs: core: Set and clear UIC Completion interrupt as needed
scsi: ufs: core: Do not write interrupt enable register unnecessarily
scsi: ufs: ufs-pci: Remove control of UIC Completion interrupt for Intel MTL
New patches

Adrian Hunter (7):
scsi: ufs: ufs-pci: Fix default runtime and system PM levels
scsi: ufs: ufs-pci: Remove UFS PCI driver's ->late_init() call back
scsi: ufs: core: Move ufshcd_enable_intr() and ufshcd_disable_intr()
scsi: ufs: core: Remove duplicated code in ufshcd_send_bsg_uic_cmd()
scsi: ufs: core: Set and clear UIC Completion interrupt as needed
scsi: ufs: core: Do not write interrupt enable register unnecessarily
scsi: ufs: ufs-pci: Remove control of UIC Completion interrupt for Intel MTL

Archana Patni (1):
scsi: ufs: ufs-pci: Fix hibernate state transition for Intel MTL-like host controllers

drivers/ufs/core/ufshcd.c | 95 ++++++++++++++++++-------------------------
drivers/ufs/host/ufshcd-pci.c | 33 ++++-----------
2 files changed, 49 insertions(+), 79 deletions(-)

Regards
Adrian