[PATCH V2 3/4] mmc_block: Add discard and secure discard support

2010-06-13 Thread Adrian Hunter
From a86fc83da7c3d4f9f39a267841b8cb73c30ad7ac Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Thu, 3 Jun 2010 10:47:12 +0300 Subject: [PATCH 3/4] mmc_block: Add discard and secure discard support Enable MMC to service discard requests. In the case of SD and MMC cards

[PATCH V2 2/4] mmc: Add erase, secure erase, trim and secure trim operations

2010-06-13 Thread Adrian Hunter
From 1d8e0d58bc046e148a5452b93240cf484adf1db6 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Tue, 1 Jun 2010 13:20:22 +0300 Subject: [PATCH 2/4] mmc: Add erase, secure erase, trim and secure trim operations SD/MMC cards tend to support an erase operation. In

[PATCH V2 0/4] Add MMC erase and secure erase

2010-06-13 Thread Adrian Hunter
Now with Jens Axboe correct email address Hi Add ability to do MMC erase and secure erase operations from userspace, using the BLKDISCARD ioctl and a newly created BLKSECDISCARD ioctl. Changes from V1 - use discard I/O requests instead of implementing BLKDISCARD in mmc_block - do not validate

[PATCH V2 1/4] block: Add BLKSECDISCARD

2010-06-13 Thread Adrian Hunter
From 2bca77333187190bacb3e8b6f79a51ee11be62b5 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Thu, 3 Jun 2010 10:46:04 +0300 Subject: [PATCH 1/4] block: Add BLKSECDISCARD eMMC v4.4 cards can provide a secure erase operation which guarantees that all copies of the

Re: [PATCH v2] MMC: fix all hangs related to mmc/sd card insert/removal during suspend/resume.

2010-06-13 Thread Maxim Levitsky
On Fri, 2010-06-11 at 22:19 +0300, Maxim Levitsky wrote: If you don't use CONFIG_MMC_UNSAFE_RESUME, card will now be removed in pm notified while userspace is still running. Thus it will be possible to sync it propely. Card detect workqueue is now freezeable, therefore a card insert/removal

Re: [PATCH v4] mmc: make sdhci work with ricoh mmc controller

2010-06-13 Thread Maxim Levitsky
On Fri, 2010-06-11 at 22:15 +0300, maximlevit...@gmail.com wrote: From: Maxim Levitsky maximlevit...@gmail.com The current way of disabling it is not well tested by vendor and has all kinds of bugs that show up on resume from ram/disk. Old way of disabling is still supported by

Re: [PATCH v4] mmc: make sdhci work with ricoh mmc controller

2010-06-13 Thread Philip Langdale
On Fri, 11 Jun 2010 22:15:02 +0300 maximlevit...@gmail.com wrote: From: Maxim Levitsky maximlevit...@gmail.com The current way of disabling it is not well tested by vendor and has all kinds of bugs that show up on resume from ram/disk. Old way of disabling is still supported by