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
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
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
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
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
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
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