Hi Jens,
Can you approve this patch?
Thanks,
Yaniv
Looks good to me.
Reviewed-by: Maya Erez me...@codeaurora.org
On Thu, June 28, 2012 1:32 am, Yaniv Gardi wrote:
Adding a new ioctl to support sanitize operation in eMMC
cards version 4.5.
The sanitize ioctl support helps performing
Hi Chris,
Can you push this patch to mmc-next?
Thanks,
Yaniv
Looks good to me.
Reviewed-by: Maya Erez me...@codeaurora.org
On Thu, June 28, 2012 1:32 am, Yaniv Gardi wrote:
This feature delete the unmap memory region of the eMMC card,
by writing to a specific register in the EXT_CSD
unmap
*** adding and exposing SANITIZE capability to the user space via a unique
IOCTL ***
Yaniv Gardi (2):
block: ioctl support for sanitize in eMMC 4.5
mmc: card: Adding support for sanitize in eMMC 4.5
block/blk-core.c |8 +
block/blk-lib.c | 51
Adding a new ioctl to support sanitize operation in eMMC
cards version 4.5.
The sanitize ioctl-support, helps performing this operation
via user application
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
block/blk-core.c |8 +++
block/blk-lib.c | 51
for sanitize operation is 240 seconds.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/mmc/card/block.c | 75 -
drivers/mmc/card/queue.c | 10 +-
include/linux/mmc/host.h |1 +
3 files changed, 63 insertions(+), 23 deletions(-)
diff --git
*** adding and exposing SANITIZE capability to the user space via a unique
IOCTL ***
Yaniv Gardi (2):
block: ioctl support for sanitize in eMMC 4.5
mmc: card: Adding support for sanitize in eMMC 4.5
block/blk-core.c |8 +
block/blk-lib.c | 51
Adding a new ioctl to support sanitize operation in eMMC
cards version 4.5.
The sanitize ioctl-support, helps performing this operation
via user application
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
block/blk-core.c |8 +++
block/blk-lib.c | 51
for sanitize operation is 240 seconds.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/mmc/card/block.c | 75 -
drivers/mmc/card/queue.c | 10 +-
include/linux/mmc/host.h |1 +
3 files changed, 63 insertions(+), 23 deletions(-)
diff --git
is the memory region that was previously deleted
(by erase, trim or discard operation).
In order to avoid timeout when sanitizing large-scale cards,
the timeout for sanitize operation is 240 seconds.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/mmc/card/block.c | 68
by The Linux Foundation
= -Original Message-
= From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-
= ow...@vger.kernel.org] On Behalf Of Arnd Bergmann
= Sent: Thursday, July 26, 2012 4:37 PM
= To: Yaniv Gardi
= Cc: linux-...@vger.kernel.org; linux-arm-...@vger.kernel.org; open
= list
Of me...@codeaurora.org
= Sent: Thursday, July 19, 2012 2:25 PM
= To: Chris Ball
= Cc: Yaniv Gardi; linux-...@vger.kernel.org; me...@codeaurora.org;
= linux-arm-...@vger.kernel.org; open list
= Subject: Re: [PATCH RESEND v7 2/2] mmc: card: Adding support for
= sanitize in eMMC 4.5
Adding a new ioctl to support sanitize operation in eMMC
cards version 4.5.
The sanitize ioctl support helps performing this operation
via user application.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
block/blk-core.c | 15 ++--
block/blk-lib.c | 51
This feature delete the unmap memory region of the eMMC card,
by writing to a specific register in the EXT_CSD
unmap region is the memory region that were previously deleted
(by erase, trim or discard operation)
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/mmc/card/block.c
= Sent: Tuesday, July 24, 2012 9:56 AM
= To: Yaniv Gardi
= Cc: linux-...@vger.kernel.org; linux-arm-...@vger.kernel.org; 'open
= list'; me...@codeaurora.org; Girish K S; S, Venkatraman; Dong,
Chuanxiao;
= Stephen Boyd; Jaehoon Chung; Kyungmin Park
= Subject: Re: [PATCH RESEND v7 2/2] mmc: card
Adding a new ioctl to support sanitize operation in eMMC
cards version 4.5.
The sanitize ioctl support helps performing this operation
via user application.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
block/blk-core.c | 15 ++--
block/blk-lib.c | 51
This feature delete the unmap memory region of the eMMC card,
by writing to a specific register in the EXT_CSD
unmap region is the memory region that were previously deleted
(by erase, trim or discard operation)
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/mmc/card/block.c
identified.
In order to prevent such a case, the condition is expanded and
now it also checks the opcode itself, and verifies that it is an
MMC_SWITCH opcode.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/mmc/card/block.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions
Looks good to me.
Reviewed-by: Yaniv Gardi yga...@codeaurora.org
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
= -Original Message-
= From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
= ow
Looks good to me.
Reviewed-by: Yaniv Gardi yga...@codeaurora.org
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
= -Original Message-
= From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
= ow
Looks good to me.
Reviewed-by: Yaniv Gardi yga...@codeaurora.org
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
= -Original Message-
= From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
= ow
Tested-by: Yaniv Gardi yga...@codeaurora.org
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
= -Original Message-
= From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
= ow...@vger.kernel.org
Tested-by: Yaniv Gardi yga...@codeaurora.org
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
= -Original Message-
= From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
= ow...@vger.kernel.org
Tested-by: Yaniv Gardi yga...@codeaurora.org
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
= -Original Message-
= From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
= ow...@vger.kernel.org
Hi James,
See reply inline
Thanks,
Yaniv
-Original Message-
From: linux-scsi-ow...@vger.kernel.org
[mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of James Bottomley
Sent: Thursday, August 29, 2013 12:28 PM
To: Raviv Shvili
Cc: scsi-m...@vger.kernel.org;
Tested-by: Yaniv Gardi yga...@codeaurora.org
-Original Message-
From: linux-scsi-ow...@vger.kernel.org
[mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of Subhash Jadavani
Sent: Tuesday, August 27, 2013 11:59 AM
To: Dolev Raviv
Cc: linux-s...@vger.kernel.org; linux-arm
, 2014 8:33 PM
To: Yaniv Gardi
Cc: james.bottom...@hansenpartnership.com; h...@infradead.org;
linux-kernel@vger.kernel.org; linux-s...@vger.kernel.org;
linux-arm-...@vger.kernel.org; santos...@gmail.com;
linux-scsi-ow...@vger.kernel.org; subha...@codeaurora.org;
n...@codeaurora.org; dra
The files in this change implement the UFS HW (controller PHY) specific
behavior in Qualcomm MSM chips.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-msm-phy-qmp-20nm.c | 254 +++
drivers/scsi/ufs/ufs-msm-phy-qmp-20nm.h | 216 ++
drivers/scsi/ufs/ufs-msm
The files in this change implement the UFS HW (controller PHY) specific
behavior in Qualcomm MSM chips.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-msm-phy-qmp-20nm.c | 254 +++
drivers/scsi/ufs/ufs-msm-phy-qmp-20nm.h | 216 ++
drivers/scsi/ufs/ufs-msm
The files in this change implement the UFS HW (controller PHY) specific
behavior in Qualcomm MSM chips.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
Documentation/devicetree/bindings/ufs/ufs-msm.txt | 37 +
.../devicetree/bindings/ufs/ufshcd-pltfrm.txt |4 +
drivers/scsi/ufs
...@vger.kernel.org] On Behalf Of Yaniv Gardi
Sent: Thursday, August 14, 2014 5:22 PM
To: james.bottom...@hansenpartnership.com; h...@infradead.org
Cc: linux-kernel@vger.kernel.org; linux-s...@vger.kernel.org;
linux-arm-...@vger.kernel.org; santos...@gmail.com;
linux-scsi-ow...@vger.kernel.org; subha
This reverts commit 54acb89a8d8682d99ee8594f9ce0dd863a2df80d.
Since ICE driver hasn't been uploaded to upstream, ICE support for
UFS driver could not be functional at this time.
Therefore this change should be reverted.
---
drivers/scsi/ufs/Kconfig| 12 -
drivers/scsi/ufs/Makefile
Technologies
UFS PHYs and the specific UFS PHYs that will be added.
Yaniv Gardi (5):
phy: qcom-ufs: add support for QUALCOMM Technologies UFS PHY drivers
phy: qcom-ufs: add support for 20nm phy
scsi: ufs-qcom: add support for Qualcomm Technologies Inc platforms
phy: qcom-ufs: add support
This change adds a support for a 20nm qcom-ufs phy that is required in
platforms that use ufs-qcom controller.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/Makefile| 1 +
drivers/phy/phy-qcom-ufs-i.h| 43 +-
drivers/phy/phy-qcom-ufs-qmp-20nm.c
This change adds a support for a 14nm qcom-ufs phy that is
required in platforms that use ufs-qcom controller.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/Makefile| 1 +
drivers/phy/phy-qcom-ufs-qmp-14nm.c | 201
From: Yaniv Gardi yga...@qti.qualcomm.com
In-order to enhance storage encryption performance,
an Inline Cryptographic Engine is introduced to UFS.
This patch adds in-line encryption capabilities to the UFS
driver.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig
configuration
- Rate, Gear, Mode negotiation between device and controller
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig| 13 +
drivers/scsi/ufs/Makefile |1 +
drivers/scsi/ufs/ufs-qcom.c | 1004 +++
drivers/scsi/ufs
This change adds a generic and common API support for ufs phy QUALCOMM
Technologies. This support provides common code and also points
to specific phy callbacks to differentiate between different behaviors
of frequent use-cases (like power on, power off, phy calibration etc).
Signed-off-by: Yaniv
This change adds a support for a 14nm qcom-ufs phy that is
required in platforms that use ufs-qcom controller.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/Makefile| 1 +
drivers/phy/phy-qcom-ufs-qmp-14nm.c | 201
From: Yaniv Gardi yga...@qti.qualcomm.com
In-order to enhance storage encryption performance,
an Inline Cryptographic Engine is introduced to UFS.
This patch adds in-line encryption capabilities to the UFS
driver.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig
This change adds a support for a 20nm qcom-ufs phy that is required in
platforms that use ufs-qcom controller.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/Kconfig | 7 +
drivers/phy/Makefile| 2 +
drivers/phy/phy-qcom-ufs-i.h| 159
configuration
- Rate, Gear, Mode negotiation between device and controller
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig| 13 +
drivers/scsi/ufs/Makefile |1 +
drivers/scsi/ufs/ufs-qcom.c | 1004 +++
drivers/scsi/ufs
*** BLURB HERE ***
Yaniv Gardi (4):
phy: qcom-ufs: add support for 20nm phy
scsi: ufs-qcom: add support for Qualcomm Technologies Inc platforms
phy: qcom-ufs: add support for 14nm phy
scsi: ufs-qcom-ice: add Inline Crypto Engine (ICE) support for UFS
drivers/phy/Kconfig
, Gear, Mode negotiation between device and controller
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig| 12 +
drivers/scsi/ufs/Makefile |1 +
drivers/scsi/ufs/ufs-qcom.c | 1004 +++
drivers/scsi/ufs/ufs-qcom.h | 170
This change adds a support for a 20nm qcom-ufs phy that is
required in platforms that use ufs-qcom controller.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/Makefile| 2 +
drivers/phy/phy-qcom-ufs-i.h| 167
drivers/phy/phy-qcom-ufs-qmp
*** BLURB HERE ***
Yaniv Gardi (4):
phy: qcom-ufs: add support for 20nm phy
scsi:ufs-qcom: add specific support for Qualcomm platforms
phy: qcom-ufs: add support for 14nm phy
scsi: ufs-qcom-ice: add Inline Crypto Engine (ICE) support for UFS
drivers/phy/Makefile|3
In-order to enhance storage encryption performance,
an Inline Cryptographic Engine is introduced to UFS.
This patch adds in-line encryption capabilities to the UFS
driver.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig| 12 +
drivers/scsi/ufs/Makefile
This change adds a support for a 14nm qcom-ufs phy that is
required in platforms that use ufs-qcom controller.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/Makefile| 1 +
drivers/phy/phy-qcom-ufs-qmp-14nm.c | 201
: Ica1ea5e4c7b8efecfba07c35f87ea6bb6716b668
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
Android.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Android.mk b/Android.mk
index 7c8cce4..4b7afb1 100644
--- a/Android.mk
+++ b/Android.mk
@@ -3,6 +3,7 @@ LOCAL_PATH:= $(call my-dir)
include
changes of v1:
- change#1: in this version we modify ufs_qcom_host structure to hold
the UFS controller revision info.
- change#2: here we add quirks support for non standard behaviour of
the controller.
Yaniv Gardi (2):
scsi: ufs-qcom: save controller revision info in internal structure
.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 14 +++---
drivers/scsi/ufs/ufs-qcom.h | 8
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index 9217af9..d7cb843 100644
.
In this change a UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS is introduced,
where a minimum delay of 1ms is required before DME commands for
stability purposes.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 22 +-
drivers/scsi/ufs/ufs-qcom.h | 18
*** BLURB HERE ***
Yaniv Gardi (2):
scsi: ufs: update obsolete configuration of ARCH_MSM into ARCH_QCOM
phy: update obsolete configuration of ARCH_MSM into ARCH_QCOM
drivers/phy/Kconfig | 2 +-
drivers/scsi/ufs/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions
Since ARCH_MSM is no longer supported as configuration definition,
it should be modified into ARCH_QCOM in order to add support for
Qualcomm platforms.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Since ARCH_MSM is no longer supported as configuration definition,
it should be modified into ARCH_QCOM in order to add support for
Qualcomm platforms.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
The attribute PA_RXHSUNTERMCAP specifies whether or not the
inbound Link supports unterminated line in HS mode. enabling this
attribute to 1 fixes moving to HS gear.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 11 +++
drivers/scsi/ufs/ufshcd.h | 7
in the newer
UFS host controller revisions.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index 6652a81..e8dc050 100644
-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 42 ++
drivers/scsi/ufs/ufshcd.h | 8
drivers/scsi/ufs/ufshci.h | 3 +++
3 files changed, 53 insertions(+)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs
Current version of host controller on QUALCOMM Technologies requires
this quirk to be enabled, as DME commands to device must be sent
only in AUTO mode (SLOW AUTO or FAST AUTO).
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 4 +++-
1 file changed, 3
capability is kept disabled.
This change also introduces a quirk for broken interrupt aggregation
feature, as in some UFS controllers, this feature may not work.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 19 ---
drivers/scsi/ufs/ufshcd.h
With the G3 UFS devices, changing gear into HS is failing in UFS host
controllers of version 0x2.
The quirk solves the problem of changing gear into HS by enabling
the attribute that specifies whether or not the inbound Link supports
unterminated line in HS mode.
Signed-off-by: Yaniv Gardi yga
Some UFS host controllers may only allow accessing the peer DME attribute
in AUTO mode (FAST AUTO or SLOW AUTO) hence we had added a quirk for
switching to AUTO power mode before accessing the peer DME attribute.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c
-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index e8dc050..76d6e9d 100644
--- a/drivers/scsi/ufs/ufs-qcom.c
+++ b/drivers/scsi/ufs/ufs-qcom.c
@@ -715,6 +715,8
Some host controller hardware controllers may not advertise correct
version in UFS HCI VER register. To workaround this, add new quirk
and call the host controller hardware vendor specific callback to
get the correct UFS HCI version register value.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
register value.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index de9cfb0..4cdffa4 100644
--- a/drivers/scsi/ufs/ufs-qcom.c
+++ b
This series of patches introduce additional quirks and also,
their enabling in QUALCOMM Technologies specific code.
Yaniv Gardi (10):
scsi: ufs: introduce the capability and quirk for interrupt
aggregation
scsi: ufs-qcom: don't enable interrupt aggregation
scsi: ufs: provide a quirk
This change is required in order to be able to build the component
as a module.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index e945383
This change fixes a compilation warning that happens if SCSI_UFS_QCOM
is compiled as a module.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs
on the commit message of patch 1/3
in the series. Ignore as the commit message is the build errors
that this patch fixes.
Yaniv Gardi (3):
phy: qcom-ufs: fix build error when the driver is built as a module
scsi: ufs-qcom: fix compilation warning if compiled as a module
scsi: ufs-qcom: update
!
ERROR: ufs_qcom_phy_enable_iface_clk [drivers/scsi/ufs/ufs-qcom.ko] undefined!
make[1]: *** [__modpost] Error 1
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/phy-qcom-ufs.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/phy/phy-qcom-ufs.c b/drivers
This change fixes a compilation warning that happens if SCSI_UFS_QCOM
is compiled as a module.
Also this patch fixes an error happens when insmod the module:
ufs_qcom: module license 'unspecified' taints kernel.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c
This change is required in order to be able to build the component
as a module.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index e945383
the probe
function of its sub-node (if it exists), by calling
of_platform_populate(). It ensures that vops are set, and ready to
be used, by the time the UFSHCD driver starts its initialization
procedure.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
.../devicetree/bindings/ufs
of patch 1/3
in the series. Ignore as the commit message is the build errors
that this patch fixes.
Yaniv Gardi (4):
phy: qcom-ufs: fix build error when the component is built as a module
scsi: ufs-qcom: fix compilation warning if compiled as a module
scsi: ufs-qcom: update configuration
-qcom.ko]
undefined!
ERROR: ufs_qcom_phy_enable_iface_clk [drivers/scsi/ufs/ufs-qcom.ko] undefined!
make[1]: *** [__modpost] Error 1
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/phy-qcom-ufs.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/phy/phy-qcom
of patch 1/3
in the series. Ignore as the commit message is the build errors
that this patch fixes.
Yaniv Gardi (4):
phy: qcom-ufs: fix build error when the component is built as a module
scsi: ufs-qcom: fix compilation warning if compiled as a module
scsi: ufs-qcom: update configuration option
This change is required in order to be able to build the component
as a module.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index e945383
-qcom.ko]
undefined!
ERROR: ufs_qcom_phy_enable_iface_clk [drivers/scsi/ufs/ufs-qcom.ko] undefined!
make[1]: *** [__modpost] Error 1
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/phy-qcom-ufs.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/phy/phy-qcom
the probe
function of its sub-node (if it exists), by calling
of_platform_populate(). It ensures that vops are set, and ready to
be used, by the time the UFSHCD driver starts its initialization
procedure.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
.../devicetree/bindings/ufs
This change fixes a compilation warning that happens if SCSI_UFS_QCOM
is compiled as a module.
Also this patch fixes an error happens when insmod the module:
ufs_qcom: module license 'unspecified' taints kernel.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c
Adds support for configuring and reading the test bus and debug
registers. This change also adds another vops in order to print the
debug registers.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 164 +++-
drivers/scsi
-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 633
drivers/scsi/ufs/ufs-qcom.h | 31 ++-
drivers/scsi/ufs/ufshcd.c | 8 +-
drivers/scsi/ufs/ufshcd.h | 32 ++-
4 files changed, 526 insertions(+), 178 deletions(-)
diff
This change is required in order to be able to build the component
as a module.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index e945383
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 34 +-
drivers/scsi/ufs/ufshcd.h | 21 +
2 files changed, 38 insertions(+), 17 deletions(-)
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs
This change fixes a compilation warning that happens if SCSI_UFS_QCOM
is compiled as a module.
Also this patch fixes an error happens when insmod the module:
ufs_qcom: module license 'unspecified' taints kernel.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c
-qcom.ko]
undefined!
ERROR: ufs_qcom_phy_enable_iface_clk [drivers/scsi/ufs/ufs-qcom.ko] undefined!
make[1]: *** [__modpost] Error 1
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/phy/phy-qcom-ufs.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/phy/phy-qcom
In order to simplify the code a set of wrapper functions is created
to test and call each of the variant operations.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufs-qcom.c | 3 +-
drivers/scsi/ufs/ufshcd.c | 104 +---
drivers
, system suspend/resume etc), parsers of
clocks, regulators and pm_levels from DT.
2. What used to be the old platform probe is now only a pltfrm_init()
routine, that does exactly the same, but only being called by the
new probe function of the UFS variant.
Signed-off-by: Yaniv Gardi yga
Yaniv Gardi (8):
phy: qcom-ufs: fix build error when the component is built as a module
scsi: ufs-qcom: fix compilation warning if compiled as a module
scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component
add ufshcd_get_variant ufshcd_set_variant
scsi: ufs: creates
from first 2 context listed above. This change fixes
the recovery by adding proper error handling mechanism.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 58 +++
1 file changed, 53 insertions(+), 5 deletions(-)
diff
while PM callbacks are running.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index ab48220..f248df2 100644
--- a/drivers/scsi/ufs
is recovered to active state, tries to put the UFS link in
hibern8 enter again until retry count expires.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 26 --
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/ufs
is done with tag which was set to -1
and so it is invalid.
Assert command tag passed from scsi layer is valid.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs
The dme_peer get/set attribute commands are prone to errors, therefore
we add three retries for the UIC command sending.
Error code returned from ufshcd_send_uic_cmd() is checked, and unless
it was successful or the retries have finished, another command will be
sent.
Signed-off-by: Yaniv Gardi
of descriptors takes places before ringing the
doorbell, similarly to setting up a transfer request.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/ufs/ufshcd.c b
events which is not quite necessary and instead we can
just wait for the interrupt of 2nd completion, this should reduce
the number of interrupts and could reduce the unnecessary CPU wakeups
to handle extra interrupts.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c
from each other, we need
to clear the whole SCSI command field to prevent sending uninitialized
data to the device.
The UPIU response doesn't always include the sense data and can differ
in size.
Hence, the UPIU response should also be cleared before the transfer.
Signed-off-by: Yaniv Gardi yga
the
PRDT table length to zero which should take care of commands which doesn't
have any data associated with it. We are also clearing the unused fields in
request UPIU for NOP command.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 8
1 file changed, 8
This serie of 15 small patches should be pushed after the series of 8 patches
I have uploaded to the upstream a week ago:
Fix error message and present UFS variant probe
Yaniv Gardi (15):
scsi: ufs: clear UTRD, UPIU req and rsp before new transfers
scsi: ufs: clear fields UTRD, UPIU req
have to retry fDeviceInit query requests multiple times and
each query request timeout prints one error message.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/ufshcd.c b
According to UFS device specification REQUEST_SENSE command can
only report back up to 18 bytes of data.
Signed-off-by: Yaniv Gardi yga...@codeaurora.org
---
drivers/scsi/ufs/ufshcd.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/ufs/ufshcd.c b
1 - 100 of 822 matches
Mail list logo