From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH v6 00/11] Combine the two UFS driver scsi_add_host() calls
Date: Wed, 16 Oct 2024 13:11:56 -0700 [thread overview]
Message-ID: <20241016201249.2256266-1-bvanassche@acm.org> (raw)
Hi Martin,
In the UFS driver the legacy and MCQ scsi_add_host() calls occur in different
functions. This patch series reduces the number of scsi_add_host() calls from
two to one and hence makes the UFS driver easier to maintain.
Please consider this patch series for the next merge window.
Thanks,
Bart.
Changes compared to v5:
- Rebased this patch series on top of the v6.12-rc kernel.
- Removed the probe_start member variable again from struct ufs_hba.
- Renamed ufshcd_process_device_init_result() into
ufshcd_process_probe_result().
- Converted a comment about UFSHCD_QUIRK_REINIT_AFTER_MAX_GEAR_SWITCH into an
explicit test.
Changes compared to v4:
- Left out the changes that remove the 'init_dev_params' argument.
- Added a few new patches.
Changes compared to v3:
- Split patch "Move the MCQ scsi_add_host() call" into two patches to make
it easier for reviewers.
Changes compared to v2:
- Improved several patch descriptions.
- Moved one source code comment.
Changes compared to v1:
- Fixed a compiler warning reported by the kernel build robot.
- Improved patch descriptions.
Bart Van Assche (11):
scsi: ufs: core: Introduce ufshcd_add_scsi_host()
scsi: ufs: core: Introduce ufshcd_post_device_init()
scsi: ufs: core: Call ufshcd_add_scsi_host() later
scsi: ufs: core: Introduce ufshcd_process_probe_result()
scsi: core: ufs: Convert a comment into an explicit check
scsi: ufs: core: Move the ufshcd_device_init() calls
scsi: ufs: core: Move the ufshcd_device_init(hba, true) call
scsi: ufs: core: Expand the ufshcd_device_init(hba, true) call
scsi: ufs: core: Remove code that is no longer needed
scsi: ufs: core: Move the MCQ scsi_add_host() call
scsi: ufs: core: Move code out of an if-statement
drivers/ufs/core/ufshcd.c | 304 ++++++++++++++++++++++++--------------
1 file changed, 189 insertions(+), 115 deletions(-)
next reply other threads:[~2024-10-16 20:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-16 20:11 Bart Van Assche [this message]
2024-10-16 20:11 ` [PATCH v6 01/11] scsi: ufs: core: Introduce ufshcd_add_scsi_host() Bart Van Assche
2024-10-16 20:11 ` [PATCH v6 02/11] scsi: ufs: core: Introduce ufshcd_post_device_init() Bart Van Assche
2024-10-16 20:11 ` [PATCH v6 03/11] scsi: ufs: core: Call ufshcd_add_scsi_host() later Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 04/11] scsi: ufs: core: Introduce ufshcd_process_probe_result() Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 05/11] scsi: ufs: core: Convert a comment into an explicit check Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 06/11] scsi: ufs: core: Move the ufshcd_device_init() calls Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 07/11] scsi: ufs: core: Move the ufshcd_device_init(hba, true) call Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 08/11] scsi: ufs: core: Expand " Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 09/11] scsi: ufs: core: Remove code that is no longer needed Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 10/11] scsi: ufs: core: Move the MCQ scsi_add_host() call Bart Van Assche
2024-10-16 20:12 ` [PATCH v6 11/11] scsi: ufs: core: Move code out of an if-statement Bart Van Assche
2024-10-31 14:46 ` Neil Armstrong
2024-10-31 17:51 ` Bart Van Assche
2024-10-31 19:55 ` Neil Armstrong
2024-10-31 21:15 ` Bart Van Assche
2024-11-05 22:01 ` Bart Van Assche
2024-11-06 8:48 ` Neil Armstrong
2024-11-06 9:57 ` Neil Armstrong
2024-11-06 17:51 ` Bart Van Assche
2024-11-07 10:49 ` Manivannan Sadhasivam
2024-10-25 19:30 ` [PATCH v6 00/11] Combine the two UFS driver scsi_add_host() calls Martin K. Petersen
2024-11-05 2:32 ` Martin K. Petersen
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=20241016201249.2256266-1-bvanassche@acm.org \
--to=bvanassche@acm.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