Message ID | 20221222141001.54849-1-manivannan.sadhasivam@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | ufs: qcom: Add HS-G4 support | expand |
Manivannan, > scsi: ufs: core: Add reinit_notify() callback > scsi: ufs: core: Add support for reinitializing the UFS device I would like to see some reviews of the proposed core changes.
Hi Martin, On Fri, Dec 30, 2022 at 06:29:24PM -0500, Martin K. Petersen wrote: > > Manivannan, > > > scsi: ufs: core: Add reinit_notify() callback > > scsi: ufs: core: Add support for reinitializing the UFS device > > I would like to see some reviews of the proposed core changes. > Both patches are reviewed by Bart now. Thanks, Mani > -- > Martin K. Petersen Oracle Linux Engineering
Manivannan, >> > scsi: ufs: core: Add reinit_notify() callback >> > scsi: ufs: core: Add support for reinitializing the UFS device >> >> I would like to see some reviews of the proposed core changes. >> > > Both patches are reviewed by Bart now. Series applied to 6.3/scsi-staging, thanks!
On Wed, Jan 04, 2023 at 09:37:56PM -0500, Martin K. Petersen wrote: > > Manivannan, > > >> > scsi: ufs: core: Add reinit_notify() callback > >> > scsi: ufs: core: Add support for reinitializing the UFS device > >> > >> I would like to see some reviews of the proposed core changes. > >> > > > > Both patches are reviewed by Bart now. > > Series applied to 6.3/scsi-staging, thanks! > Thanks Martin! I presume that you have applied only the ufs patches as mentioned in the cover letter. PHY patches are expected to go through PHY tree. I cannot see the patches in 6.3/scsi-staging branch yet, so couldn't confirm. Thanks, Mani > -- > Martin K. Petersen Oracle Linux Engineering
Manivannan, > Thanks Martin! I presume that you have applied only the ufs patches as > mentioned in the cover letter. PHY patches are expected to go through > PHY tree. Correct, I only took the SCSI patches. > I cannot see the patches in 6.3/scsi-staging branch yet, so couldn't > confirm. I did not push my tree to kernel.org as I discovered that one of the merges had pulled in a bunch of unrelated commits into staging. Will resolve this tomorrow.
On Thu, Jan 05, 2023 at 10:02:56PM -0500, Martin K. Petersen wrote: > > Manivannan, > > > Thanks Martin! I presume that you have applied only the ufs patches as > > mentioned in the cover letter. PHY patches are expected to go through > > PHY tree. > > Correct, I only took the SCSI patches. > > > I cannot see the patches in 6.3/scsi-staging branch yet, so couldn't > > confirm. > > I did not push my tree to kernel.org as I discovered that one of the > merges had pulled in a bunch of unrelated commits into staging. Will > resolve this tomorrow. > Okay. Thanks for confirming! -Mani > -- > Martin K. Petersen Oracle Linux Engineering
On 22-12-22, 19:39, Manivannan Sadhasivam wrote: > Hello, > > This series adds HS-G4 support to the Qcom UFS driver and PHY driver. > The newer Qcom platforms support configuring the UFS controller and PHY > in dual gears (i.e., controller/PHY can be configured to run in two gear > speeds). This is accomplished by adding two different PHY init sequences > to the PHY driver and the UFS driver requesting the one that's required > based on the platform configuration. > > Initially the ufs-qcom driver will use the default gear G2 for enumerating > the UFS device. Afer enumeration, the max gear supported by both the > controller and device would be found out and that will be used thereafter. > But for using the max gear after enumeration, the ufs-qcom driver requires > the UFS device to be reinitialized. For this purpose, a separate quirk has > been introduced in the UFS core along with a callback and those will be used > by the ufs-qcom driver. The series lgtm. This fails for me to apply though due to other patches I have picked up. Can you please rebase the phy patches and send those
On Thu, 22 Dec 2022 19:39:38 +0530, Manivannan Sadhasivam wrote: > This series adds HS-G4 support to the Qcom UFS driver and PHY driver. > The newer Qcom platforms support configuring the UFS controller and PHY > in dual gears (i.e., controller/PHY can be configured to run in two gear > speeds). This is accomplished by adding two different PHY init sequences > to the PHY driver and the UFS driver requesting the one that's required > based on the platform configuration. > > [...] Applied to 6.3/scsi-queue, thanks! [13/23] scsi: ufs: ufs-qcom: Remove un-necessary goto statements https://git.kernel.org/mkp/scsi/c/031312dbc695 [14/23] scsi: ufs: ufs-qcom: Remove un-necessary WARN_ON() https://git.kernel.org/mkp/scsi/c/a98c2183e81d [15/23] scsi: ufs: ufs-qcom: Use bitfields where appropriate https://git.kernel.org/mkp/scsi/c/18fe2ab79bcf [16/23] scsi: ufs: ufs-qcom: Use dev_err_probe() for printing probe error https://git.kernel.org/mkp/scsi/c/132b027205ef [17/23] scsi: ufs: ufs-qcom: Fix the Qcom register name for offset 0xD0 https://git.kernel.org/mkp/scsi/c/7959587f3284 [18/23] scsi: ufs: core: Add reinit_notify() callback https://git.kernel.org/mkp/scsi/c/c2c38c573a2e [19/23] scsi: ufs: core: Add support for reinitializing the UFS device https://git.kernel.org/mkp/scsi/c/96a7141da332 [20/23] scsi: ufs: ufs-qcom: Factor out the logic finding the HS Gear https://git.kernel.org/mkp/scsi/c/c270986527f9 [21/23] scsi: ufs: ufs-qcom: Add support for reinitializing the UFS device https://git.kernel.org/mkp/scsi/c/baf5ddac90dc [22/23] scsi: ufs: ufs-qcom: Add support for finding max gear on new platforms https://git.kernel.org/mkp/scsi/c/2c407fe97015 [23/23] MAINTAINERS: Add myself as the maintainer for Qcom UFS drivers https://git.kernel.org/mkp/scsi/c/39beef59128f
On Thu, Jan 12, 2023 at 11:41:13PM +0530, Vinod Koul wrote: > On 22-12-22, 19:39, Manivannan Sadhasivam wrote: > > Hello, > > > > This series adds HS-G4 support to the Qcom UFS driver and PHY driver. > > The newer Qcom platforms support configuring the UFS controller and PHY > > in dual gears (i.e., controller/PHY can be configured to run in two gear > > speeds). This is accomplished by adding two different PHY init sequences > > to the PHY driver and the UFS driver requesting the one that's required > > based on the platform configuration. > > > > Initially the ufs-qcom driver will use the default gear G2 for enumerating > > the UFS device. Afer enumeration, the max gear supported by both the > > controller and device would be found out and that will be used thereafter. > > But for using the max gear after enumeration, the ufs-qcom driver requires > > the UFS device to be reinitialized. For this purpose, a separate quirk has > > been introduced in the UFS core along with a callback and those will be used > > by the ufs-qcom driver. > > The series lgtm. This fails for me to apply though due to other patches > I have picked up. > > Can you please rebase the phy patches and send those > Done! Thanks, Mani > -- > ~Vinod