On 2016-09-28 02:19, Joao Pinto wrote:
Hi again!
Could you also send me an example of how you are using the IOCTL from
your user
app (send/receive data)? I already have my implemented but you use a
different
mechanism (I have checked your structures in uapi/scsi/ufs/) and I have
to port
it!
On 2016-09-28 02:19, Joao Pinto wrote:
Hi again!
Could you also send me an example of how you are using the IOCTL from
your user
app (send/receive data)? I already have my implemented but you use a
different
mechanism (I have checked your structures in uapi/scsi/ufs/) and I have
to port
it!
On 2016-09-28 02:57, Joao Pinto wrote:
I was able to get the 7 patches to have the UFS IOCTL features from
your repo.
BTW, why weren't these features submitted to the kernel?
I checked lots of tweaks that you have been making to the UFS... do you
synchronize them periodically with the mainline?
On 2016-09-28 02:57, Joao Pinto wrote:
I was able to get the 7 patches to have the UFS IOCTL features from
your repo.
BTW, why weren't these features submitted to the kernel?
I checked lots of tweaks that you have been making to the UFS... do you
synchronize them periodically with the mainline?
On 2016-09-27 22:14, Martin K. Petersen wrote:
"Subhash" == subhashj <subha...@codeaurora.org> writes:
Subhash> Looks good to me.
- /* Data segment length */
- ucd_req_ptr->header.dword_2 = UPIU_HEADER_DWORD(
- 0, 0, len >>
On 2016-09-27 22:14, Martin K. Petersen wrote:
"Subhash" == subhashj writes:
Subhash> Looks good to me.
- /* Data segment length */
- ucd_req_ptr->header.dword_2 = UPIU_HEADER_DWORD(
- 0, 0, len >> 8, (u8)len);
+ /* Data se
Hi Joao,
On 2016-09-26 18:10, Kiwoong Kim wrote:
Hi.
If you want to declare some things for user interface,
is it be better to put those thing include/uapi/linux/ than
include/linux?
Agreed with Mr. Pinto's opinion with respect to implementing additional
ioctls.
Yes,
Hi Joao,
On 2016-09-26 18:10, Kiwoong Kim wrote:
Hi.
If you want to declare some things for user interface,
is it be better to put those thing include/uapi/linux/ than
include/linux?
Agreed with Mr. Pinto's opinion with respect to implementing additional
ioctls.
Yes,
Looks good to me.
Reviewed-by: Subhash Jadavani
On 2016-08-25 02:39, Zang Leigang wrote:
Some device may cause a compatibility issue while receiving a Query
UPIU
with Data Segment which does not expected.
Signed-off-by: Zang Leigang
---
Looks good to me.
Reviewed-by: Subhash Jadavani
On 2016-08-25 02:39, Zang Leigang wrote:
Some device may cause a compatibility issue while receiving a Query
UPIU
with Data Segment which does not expected.
Signed-off-by: Zang Leigang
---
drivers/scsi/ufs/ufshcd.c | 9 ++---
1 file
Looks good to me.
Reviewed-by: Subhash Jadavani
> When sending a query to the device returns with a timeout error,
> we clear the corresponding bit in the DOORBELL register but
> we don't clear the outstanding_request field as we should.
> This patch fixes this bug.
>
> Signed-off-by: Yaniv
Looks good to me.
Reviewed-by: Subhash Jadavani
> A race condition appear to exist between request completion when
> scsi_done() is called to end the request and set the tag back to
> -1 (at blk_queue_end_tag() scsi_end_request), and scsi layer error
> handling which aborts the command and
Looks good to me.
Reviewed-by: Subhash Jadavani
> Some of the data structures (like response UPIU) and/or its elements
> (unused fields) should be cleared before sending out the respective
> command to UFS device.
>
> This change clears the UPIU response data structure for query commands
> and
Looks good to me.
Reviewed-by: Subhash Jadavani
> New revisions of UFS host controller supports the new UniPro
> hardware controller (referred as QUniPro). This patch adds
> the support to enable this new UniPro controller hardware.
>
> This change also adds power optimization for bus scaling
Looks good to me.
Reviewed-by: Subhash Jadavani
> 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
>
> ---
> drivers/scsi/ufs/ufs-qcom.c | 165
>
Comments inline below:
> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS
> a platform device.
> In order to do so a few additional changes are required:
> 1. The ufshcd-pltfrm is no longer serves as a platform device.
>Now it only serves as a group of platform APIs such as PM
Looks good to me.
Reviewed-by: Subhash Jadavani
> Signed-off-by: Yaniv Gardi
>
> ---
> drivers/scsi/ufs/ufs-qcom.c | 34 +-
> drivers/scsi/ufs/ufshcd.h | 21 +
> 2 files changed, 38 insertions(+), 17 deletions(-)
>
> diff --git
Looks good to me.
Reviewed-by: Subhash Jadavani
> This change is required in order to be able to build the component
> as a module.
>
> Signed-off-by: Yaniv Gardi
>
> ---
> drivers/scsi/ufs/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
Looks good to me.
Reviewed-by: Subhash Jadavani
> 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
>
> ---
> drivers/scsi/ufs/ufs-qcom.c | 1 -
> drivers/scsi/ufs/ufshcd.c | 104
>
Looks good to me.
Reviewed-by: Subhash Jadavani
> 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
Looks good to me.
Reviewed-by: Subhash Jadavani
> Export the following functions in order to avoid build errors
> when the component PHY_QCOM_UFS is compiled as a module:
>
> ERROR: "ufs_qcom_phy_disable_ref_clk"
> [drivers/scsi/ufs/ufs-qcom.ko] undefined!
> ERROR:
Looks good to me.
Reviewed-by: Subhash Jadavani
> This patch exposes the ioctl interface for UFS driver via SCSI device
> ioctl interface. As of now UFS driver would provide the ioctl for query
> interface to connected UFS device.
>
> Signed-off-by: Dolev Raviv
> Signed-off-by: Noa Rubens
>
Comments inline below:
> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS
> a platform device.
> In order to do so a few additional changes are required:
> 1. The ufshcd-pltfrm is no longer serves as a platform device.
>Now it only serves as a group of platform APIs such as PM
Looks good to me.
Reviewed-by: Subhash Jadavani
> Some of the data structures (like response UPIU) and/or its elements
> (unused fields) should be cleared before sending out the respective
> command to UFS device.
>
> This change clears the UPIU response data structure
Looks good to me.
Reviewed-by: Subhash Jadavani
> Signed-off-by: Yaniv Gardi
>
> ---
> drivers/scsi/ufs/ufs-qcom.c | 34 +-
> drivers/scsi/ufs/ufshcd.h | 21 +
> 2 files changed, 38
Looks good to me.
Reviewed-by: Subhash Jadavani
> New revisions of UFS host controller supports the new UniPro
> hardware controller (referred as QUniPro). This patch adds
> the support to enable this new UniPro controller hardware.
>
> This change also adds power
Looks good to me.
Reviewed-by: Subhash Jadavani
> This patch exposes the ioctl interface for UFS driver via SCSI device
> ioctl interface. As of now UFS driver would provide the ioctl for query
> interface to connected UFS device.
>
> Signed-off-by: Dolev Raviv
Looks good to me.
Reviewed-by: Subhash Jadavani
> 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
>
> ---
> drivers/scsi/ufs/ufs-qcom.c | 1 -
Looks good to me.
Reviewed-by: Subhash Jadavani
> This change is required in order to be able to build the component
> as a module.
>
> Signed-off-by: Yaniv Gardi
>
> ---
> drivers/scsi/ufs/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1
Looks good to me.
Reviewed-by: Subhash Jadavani
> Export the following functions in order to avoid build errors
> when the component PHY_QCOM_UFS is compiled as a module:
>
> ERROR: "ufs_qcom_phy_disable_ref_clk"
> [drivers/scsi/ufs/ufs-qcom.ko] undefined!
> ERROR:
Looks good to me.
Reviewed-by: Subhash Jadavani
> 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
>
> ---
>
Looks good to me.
Reviewed-by: Subhash Jadavani
> When sending a query to the device returns with a timeout error,
> we clear the corresponding bit in the DOORBELL register but
> we don't clear the outstanding_request field as we should.
> This patch fixes this bug.
>
Looks good to me.
Reviewed-by: Subhash Jadavani
> 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."
Looks good to me.
Reviewed-by: Subhash Jadavani
> A race condition appear to exist between request completion when
> scsi_done() is called to end the request and set the tag back to
> -1 (at blk_queue_end_tag() scsi_end_request), and scsi layer error
> handling which
>> On Aug 14, 2014, at 9:22 AM, Yaniv Gardi wrote:
>>> The files in this change implement the UFS HW (controller & PHY) specific
>>> behavior in Qualcomm MSM chips.
>>> Signed-off-by: Yaniv Gardi
>>> ---
>>> Documentation/devicetree/bindings/ufs/ufs-msm.txt | 37 +
>>>
On Aug 14, 2014, at 9:22 AM, Yaniv Gardi yga...@codeaurora.org wrote:
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 +
36 matches
Mail list logo