summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorsangram kumar yerra <sangram.k.y@intel.com>2026-08-18 16:58:29 +0530
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-08-28 22:12:57 -0400
commitef675ea168453a9b3e635b8ac543f92938bdd03b (patch)
tree8f27aabea532a3a57c4834fbf2700bf338cfc146 /scripts/Makefile.thinlto
parent11300f8ddee301dca9914561f24bea4168de076d (diff)
downloadlinux-ef675ea168453a9b3e635b8ac543f92938bdd03b.tar.gz
linux-ef675ea168453a9b3e635b8ac543f92938bdd03b.zip
scsi: ufs: ufs-pci: Add support for Intel UFS 4.0 HS-Gear5
Reliable HS-Gear5 operation on Intel UFS 4.0 controllers requires configuring PA_INITIAL_ADAPT before changing the power mode. Without this setting, the link fails to train reliably at Gear5. Add a pwr_change_notify() hook to configure the adaptation mode before the power mode transition. Enable this only for UFS 4.0 and later controllers by checking hba->ufs_version. Wire the hook into the existing Meteor Lake family variant operations table (ufs_intel_mtl_hba_vops) instead of introducing a separate table, since the Intel UFS 4.0 PCI variant (PCI ID 8086:D335) already uses this vops table and the hook is internally gated on UFS version >= 4.0. Use PA_INITIAL_ADAPT when the negotiated TX power mode is FAST_MODE or FASTAUTO_MODE. Otherwise, reset the adaptation mode to PA_NO_ADAPT, which is the default setting. Fixes: 096cd6b7adf2 ("scsi: ufs: ufs-pci: Add support for Intel Nova Lake") Signed-off-by: sangram kumar yerra <sangram.k.y@intel.com> Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/20260818112830.453402-2-sangram.k.y@intel.com Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions