mbox series

[v4,0/5] Prepare for upstreaming Pixel 6 and 7 UFS support

Message ID 20221122222617.3449081-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Prepare for upstreaming Pixel 6 and 7 UFS support | expand

Message

Bart Van Assche Nov. 22, 2022, 10:26 p.m. UTC
Hi Martin,

The Exynos UFS controller requires that SCSI command processing is suspended
while reprogramming encryption keys. This UFS controller is used in e.g. Google
Pixel 6 and 7 phones and also in Tesla cars. The patches in this series are a
first step towards integrating support in the upstream kernel for the UFS
controller in the Pixel 6 and 7. Please consider these patches for the next
merge window.

Note: instructions for downloading the Pixel kernel source code are available
at https://source.android.com/setup/build/building-kernels.

Thanks,

Bart.

Changes compared to v3:
- Changed SCSI_UFS_VARIABLE_SG_ENTRY_SIZE from user-selectable into selected
  only if needed.

Changes compared to v2:
- Addressed more review comments from Avri.

Changes compared to v1:
- Addressed Avri's review comments.
- Added patch "Allow UFS host drivers to override the sg entry size".

Bart Van Assche (4):
  scsi: ufs: Reduce the clock scaling latency
  scsi: ufs: Move a clock scaling check
  scsi: ufs: Pass the clock scaling timeout as an argument
  scsi: ufs: Add suspend/resume SCSI command processing support

Eric Biggers (1):
  scsi: ufs: Allow UFS host drivers to override the sg entry size

 drivers/ufs/core/ufshcd.c | 89 +++++++++++++++++++++++++++------------
 drivers/ufs/host/Kconfig  |  4 ++
 include/ufs/ufshcd.h      | 33 +++++++++++++++
 include/ufs/ufshci.h      |  9 +++-
 4 files changed, 106 insertions(+), 29 deletions(-)