public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>,
	linux-scsi@vger.kernel.org,
	Adrian Hunter <adrian.hunter@intel.com>,
	Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH v4 0/5] Prepare for upstreaming Pixel 6 and 7 UFS support
Date: Tue, 22 Nov 2022 14:26:12 -0800	[thread overview]
Message-ID: <20221122222617.3449081-1-bvanassche@acm.org> (raw)

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(-)


             reply	other threads:[~2022-11-22 22:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22 22:26 Bart Van Assche [this message]
2022-11-22 22:26 ` [PATCH v4 1/5] scsi: ufs: Reduce the clock scaling latency Bart Van Assche
2022-11-22 22:26 ` [PATCH v4 2/5] scsi: ufs: Move a clock scaling check Bart Van Assche
2022-11-22 22:26 ` [PATCH v4 3/5] scsi: ufs: Pass the clock scaling timeout as an argument Bart Van Assche
2022-11-22 22:26 ` [PATCH v4 4/5] scsi: ufs: Add suspend/resume SCSI command processing support Bart Van Assche
2022-11-22 22:26 ` [PATCH v4 5/5] scsi: ufs: Allow UFS host drivers to override the sg entry size Bart Van Assche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221122222617.3449081-1-bvanassche@acm.org \
    --to=bvanassche@acm.org \
    --cc=adrian.hunter@intel.com \
    --cc=jaegeuk@kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox