[PATCH v1] qcom: opensource: mmc-utils: fix building errors

2015-03-18 Thread Yaniv Gardi
: Ica1ea5e4c7b8efecfba07c35f87ea6bb6716b668 Signed-off-by: Yaniv Gardi --- 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 $(CLEAR_VARS

[PATCH v1] mmc: card: fixing an false identification of SANITIZE command

2013-06-05 Thread Yaniv Gardi
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 --- drivers/mmc/card/block.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers

[PATCH v1] mmc-utils: adding support for Android compilation

2013-04-24 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- Android.mk | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 Android.mk diff --git a/Android.mk b/Android.mk new file mode 100644 index 000..7c8cce4 --- /dev/null +++ b/Android.mk @@ -0,0 +1,11 @@ +LOCAL_PATH:= $(call my

[PATCH] Add method for triggering Sanitize command

2013-03-20 Thread Yaniv Gardi
This patch adds a method to trigger Sanitize command to MMC. The Sanitize command is used for deleting the unmapped memory region of the MMC device. Signed-off-by: Yaniv Gardi diff --git a/mmc.c b/mmc.c index a2de863..174d9a4 100644 --- a/mmc.c +++ b/mmc.c @@ -90,6 +90,11 @@ static struct

[PATCH v1] mmc: card: Adding support for sanitize in eMMC 4.5

2013-02-24 Thread Yaniv Gardi
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 --- drivers/mmc/card/block.c | 68

[PATCH v9 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2013-02-19 Thread Yaniv Gardi
sanitize operation is 240 seconds. Signed-off-by: Yaniv Gardi --- 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 a/drivers/mmc/card

[PATCH v9 1/2] block: ioctl support for sanitize in eMMC 4.5

2013-02-19 Thread Yaniv Gardi
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 --- block/blk-core.c |8 +++ block/blk-lib.c | 51

[PATCH v9 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2013-02-19 Thread Yaniv Gardi
*** 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

[PATCH v9 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2013-02-19 Thread Yaniv Gardi
sanitize operation is 240 seconds. Signed-off-by: Yaniv Gardi --- 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 a/drivers/mmc/card

[PATCH v9 1/2] block: ioctl support for sanitize in eMMC 4.5

2013-02-19 Thread Yaniv Gardi
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 --- block/blk-core.c |8 +++ block/blk-lib.c | 51

[PATCH v9 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2013-02-19 Thread Yaniv Gardi
*** 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

RE: [PATCH v8 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-09-09 Thread Yaniv Gardi
y 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-mmc@vger.kernel.org; linux-arm-..

[PATCH RESEND v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread Yaniv Gardi
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 --- drivers/mmc/card/block.c | 72

[PATCH RESEND v8 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-07-25 Thread Yaniv Gardi
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 --- block/blk-core.c | 15 ++-- block/blk-lib.c | 51

[PATCH RESEND v8 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-07-25 Thread Yaniv Gardi
*** 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 | 15 +++-- block/blk-lib.c | 51

RE: [PATCH RESEND v7 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread Yaniv Gardi
Of Chris Ball = > Sent: Tuesday, July 24, 2012 9:56 AM = > To: Yaniv Gardi = > Cc: linux-mmc@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 Par

[PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread Yaniv Gardi
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 --- drivers/mmc/card/block.c | 72

[PATCH v8 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-07-25 Thread Yaniv Gardi
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 --- block/blk-core.c | 15 ++-- block/blk-lib.c | 51

[PATCH v8 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-07-25 Thread Yaniv Gardi
*** 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 | 15 +++-- block/blk-lib.c | 51

RE: [PATCH RESEND v7 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-23 Thread Yaniv Gardi
l.org] On Behalf Of me...@codeaurora.org = > Sent: Thursday, July 19, 2012 2:25 PM = > To: Chris Ball = > Cc: Yaniv Gardi; linux-mmc@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

Re: [PATCH RESEND v7 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-17 Thread Yaniv Gardi
Hi Chris, Can you push this patch to mmc-next? Thanks, Yaniv > Looks good to me. > Reviewed-by: Maya Erez > > 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 EX

Re: [PATCH RESEND v7 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-07-17 Thread Yaniv Gardi
Hi Jens, Can you approve this patch? Thanks, Yaniv > Looks good to me. > Reviewed-by: Maya Erez > > 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 h

[PATCH RESEND v7 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-06-28 Thread Yaniv Gardi
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 --- drivers/mmc/card/block.c | 72

[PATCH RESEND v7 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-06-28 Thread Yaniv Gardi
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 --- block/blk-core.c | 15 ++-- block/blk-lib.c | 51

[PATCH RESEND v7 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-06-28 Thread Yaniv Gardi
*** 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 | 15 +++-- block/blk-lib.c | 51

RE: [PATCH v6 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-06-12 Thread Yaniv Gardi
= > -Original Message- = > From: Dong, Chuanxiao [mailto:chuanxiao.d...@intel.com] = > Sent: Monday, June 11, 2012 6:04 AM = > To: Yaniv Gardi; 'S, Venkatraman' = > Cc: linux-mmc@vger.kernel.org; me...@codeaurora.org = > Subject: RE: [PATCH v6 0/2] ***

RE: [PATCH v6 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-06-10 Thread Yaniv Gardi
age- = > From: S, Venkatraman [mailto:svenk...@ti.com] = > Sent: Friday, June 08, 2012 2:30 PM = > To: Yaniv Gardi = > Cc: linux-mmc@vger.kernel.org; me...@codeaurora.org = > Subject: Re: [PATCH v6 0/2] *** adding and exposing SANITIZE capability to = > the user space via a unique

[PATCH v7 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-06-10 Thread Yaniv Gardi
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 Signed-off-by: Maya Erez Signed-off-by: Yaniv Gardi

[PATCH v7 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-06-10 Thread Yaniv Gardi
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 Signed-off-by: Maya Erez Signed-off-by: Yaniv Gardi --- block/blk-core.c | 15 ++-- block

[PATCH v7 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-06-10 Thread Yaniv Gardi
*** 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 | 15 +++-- block/blk-lib.c | 51

[PATCH v6 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-06-07 Thread Yaniv Gardi
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 Signed-off-by: Maya Erez Signed-off-by: Yaniv Gardi

[PATCH v6 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-06-07 Thread Yaniv Gardi
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 Signed-off-by: Maya Erez Signed-off-by: Yaniv Gardi --- block/blk-core.c | 18

[PATCH v6 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-06-07 Thread Yaniv Gardi
printouts changes patch v3: split the patch into 2 commits - block and mmc/card added capability MMC_CAP2_SANITIZE to mmc controller 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 | 18

[PATCH v6 0/2] *** adding and exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-06-07 Thread Yaniv Gardi
controller 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 | 18 +-- block/blk-lib.c | 51 +++ block/blk-merge.c |6 block/elevator.c

[PATCH v5 2/2] mmc: card: Adding support for Sanitize in eMMC v4.5

2012-02-27 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- drivers/mmc/card/block.c | 56 ++--- drivers/mmc/card/queue.c | 10 +++- include/linux/mmc/card.h |7 + include/linux/mmc/host.h |1 + 4 files changed, 64 insertions(+), 10 deletions(-) diff --git a

[PATCH v5 1/2] block: IOCTL support for Sanitize in eMMC v4.5

2012-02-27 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- block/blk-core.c | 15 --- block/blk-lib.c | 44 block/blk-merge.c |6 ++ block/elevator.c |8 +++- block/ioctl.c |9 + include

[PATCH v5 0/2] *** exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-02-27 Thread Yaniv Gardi
Yaniv Gardi (2): block: IOCTL support for Sanitize in eMMC v4.5 mmc: card: Adding support for Sanitize in eMMC v4.5 block/blk-core.c | 15 +-- block/blk-lib.c | 44 +++ block/blk-merge.c |6 + block/elevator.c

[PATCH v4 2/2] mmc: card: Adding support for Sanitize in eMMC v4.5

2012-02-26 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- drivers/mmc/card/block.c | 52 ++ drivers/mmc/card/queue.c | 10 - include/linux/mmc/card.h |7 ++ include/linux/mmc/host.h |1 + 4 files changed, 60 insertions(+), 10 deletions(-) diff --git a

[PATCH v4 1/2] block: IOCTL support for Sanitize in eMMC v4.5

2012-02-26 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- block/blk-core.c | 15 --- block/blk-lib.c | 44 block/blk-merge.c |6 ++ block/elevator.c |8 +++- block/ioctl.c |9 + include

[PATCH v4 0/2] *** exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-02-26 Thread Yaniv Gardi
*** exposing SANITIZE capability to the user space via a unique IOCTL *** changes patch v4: removed a few debug printouts changes patch v3: split the patch into 2 commits - block and mmc/card added capability MMC_CAP2_SANITIZE to mmc controller Yaniv Gardi (2): block: IOCTL support for

RE: [PATCH v3 2/2] mmc: card: Adding support for Sanitize in eMMC v4.5

2012-02-26 Thread Yaniv Gardi
= > -Original Message- = > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] = > Sent: Wednesday, February 22, 2012 8:09 AM = > To: Yaniv Gardi = > Cc: linux-mmc@vger.kernel.org; linux-arm-...@vger.kernel.org; = > ax...@kernel.dk; open list = > Subject: Re: [PA

RE: [PATCH v3 2/2] mmc: card: Adding support for Sanitize in eMMC v4.5

2012-02-26 Thread Yaniv Gardi
= > -Original Message- = > From: Stephen Boyd [mailto:sb...@codeaurora.org] = > Sent: Tuesday, February 21, 2012 8:05 PM = > To: Yaniv Gardi = > Cc: linux-mmc@vger.kernel.org; linux-arm-...@vger.kernel.org; = > ax...@kernel.dk; open list = > Subject: Re: [PATCH v3 2

[PATCH v3 2/2] mmc: card: Adding support for Sanitize in eMMC v4.5

2012-02-21 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- drivers/mmc/card/block.c | 58 ++--- drivers/mmc/card/queue.c | 12 - include/linux/mmc/card.h |7 + include/linux/mmc/host.h |1 + 4 files changed, 68 insertions(+), 10 deletions(-) diff --git a

[PATCH v3 1/2] block: IOCTL support for Sanitize in eMMC v4.5

2012-02-21 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- block/blk-core.c | 15 --- block/blk-lib.c | 44 block/blk-merge.c |6 ++ block/elevator.c |8 +++- block/ioctl.c |9 + include

[PATCH v3 0/2] *** exposing SANITIZE capability to the user space via a unique IOCTL ***

2012-02-21 Thread Yaniv Gardi
*** exposing SANITIZE capability to the user space via a unique IOCTL *** changes patch v3: split the patch into 2 commits - block and mmc/card added capability MMC_CAP2_SANITIZE to mmc controller Yaniv Gardi (2): block: IOCTL support for Sanitize in eMMC v4.5 mmc: card: Adding support for

RE: [PATCH V2] mmc: card: IOCTL support for Sanitize feature of eMMC v4.5

2011-12-28 Thread Yaniv Gardi
Hi Kyungmin, Probably I will split this patch into 2 dependent uploads. Thanks, Yaniv = > -Original Message- = > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- = > ow...@vger.kernel.org] On Behalf Of Kyungmin Park = > Sent: Tuesday, December 27, 2011 3:54 PM = >

[PATCH V2] mmc: card: IOCTL support for Sanitize feature of eMMC v4.5

2011-12-27 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- block/blk-core.c | 15 ++-- block/blk-lib.c | 44 +++ block/blk-merge.c |6 + block/elevator.c |8 ++- block/ioctl.c |9 drivers/mmc/card

[PATCH V2] *** exposing SANITIZE capability to the user space via a unique IOCTL ***

2011-12-27 Thread Yaniv Gardi
*** exposing SANITIZE capability to the user space via a unique IOCTL *** Yaniv Gardi (1): mmc: card: IOCTL support for Sanitize feature of eMMC v4.5 block/blk-core.c | 15 ++-- block/blk-lib.c | 44 +++ block/blk-merge.c

[PATCH V1] mmc: card: IOCTL support for Sanitize feature of eMMC v4.5

2011-12-20 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- block/blk-core.c | 15 +++-- block/blk-lib.c | 44 ++ block/blk-merge.c |6 + block/elevator.c |8 ++- block/ioctl.c |9 drivers/mmc

[PATCH V1] *** exposing SANITIZE capability to the user space via a unique IOCTL ***

2011-12-20 Thread Yaniv Gardi
*** exposing SANITIZE capability to the user space via a unique IOCTL *** Yaniv Gardi (1): mmc: card: IOCTL support for Sanitize feature of eMMC v4.5 block/blk-core.c | 15 +++-- block/blk-lib.c | 44 ++ block/blk-merge.c