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 0/9] Simplify the UFS driver initialization code
Date: Mon, 19 Aug 2024 15:50:17 -0700 [thread overview]
Message-ID: <20240819225102.2437307-1-bvanassche@acm.org> (raw)
Hi Martin,
This patch series addresses the following issues in the UFS driver
initialization code:
* The legacy and MCQ scsi_add_host() calls occur in different functions. This
patch series moves both calls into the same function.
* Two functions have a boolean 'init_dev_params' argument. This patch series
removes that argument from both functions by splitting functions and by
pushing some function calls from caller into callee.
Please consider this patch series for the next merge window.
Thanks,
Bart.
Bart Van Assche (9):
ufs: core: Introduce ufshcd_add_scsi_host()
ufs: core: Introduce ufshcd_activate_link()
ufs: core: Introduce ufshcd_post_device_init()
ufs: core: Call ufshcd_add_scsi_host() later
ufs: core: Move the ufshcd_device_init() call
ufs: core: Move the ufshcd_device_init(hba, true) call
ufs: core: Expand the ufshcd_device_init(hba, true) call
ufs: core: Move the MCQ scsi_add_host() call
ufs: core: Remove the second argument of ufshcd_device_init()
drivers/ufs/core/ufshcd.c | 241 ++++++++++++++++++++++----------------
1 file changed, 139 insertions(+), 102 deletions(-)
next reply other threads:[~2024-08-19 22:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 22:50 Bart Van Assche [this message]
2024-08-19 22:50 ` [PATCH 1/9] ufs: core: Introduce ufshcd_add_scsi_host() Bart Van Assche
2024-08-19 22:50 ` [PATCH 2/9] ufs: core: Introduce ufshcd_activate_link() Bart Van Assche
2024-08-19 22:50 ` [PATCH 3/9] ufs: core: Introduce ufshcd_post_device_init() Bart Van Assche
2024-08-19 22:50 ` [PATCH 4/9] ufs: core: Call ufshcd_add_scsi_host() later Bart Van Assche
2024-08-19 22:50 ` [PATCH 5/9] ufs: core: Move the ufshcd_device_init() call Bart Van Assche
2024-08-22 16:07 ` kernel test robot
2024-08-22 17:46 ` Bart Van Assche
2024-08-19 22:50 ` [PATCH 6/9] ufs: core: Move the ufshcd_device_init(hba, true) call Bart Van Assche
2024-08-19 22:50 ` [PATCH 7/9] ufs: core: Expand " Bart Van Assche
2024-08-19 22:50 ` [PATCH 8/9] ufs: core: Move the MCQ scsi_add_host() call Bart Van Assche
2024-08-19 22:50 ` [PATCH 9/9] ufs: core: Remove the second argument of ufshcd_device_init() 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=20240819225102.2437307-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