Add the CMDQ support to SDHCI host interface
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c | 162 +-
drivers/mmc/host/sdhci.h |2 +
2 files changed, 148 insertions(+), 16 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers
Use qdepth for mmc request fetching. Currently the request fetching
mechanism indicate the qdepth is only 2.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 43 ++
drivers/mmc/card/queue.c | 209 +++---
drivers/mmc/card/queue.h
random read
performance. With ondemand CPU governor used in GMIN, it can improve
the read performance a lot.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 501 --
drivers/mmc/card/queue.c | 23 ++-
drivers/mmc/card/queue.h |3
-+D
Without CMDQWith CMDQ
Random read 5074.91 7916.06
Random write1354.69 1444.52
Changes in V2:
1. not to send CMD13 during CMD46/47 is executing.
2. added a timer in case the data never complete for CMD46/47
Chuanxiao Dong (5):
mmc: replace sbc to
pm together.
We implement runtime pm to mmc host class device, so that when the card device
doesn't want to be ignored by the low level host runtime pm, card device driver
can talk to class device, so class device can talk to his parent.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/h
right now we use sbc to present CMD23. If we want sbc to present
other cmds, then it is not suitable. So change the name to precmd
which means a cmd that needs to be sent before a cmd. So it can sent
any command without misunderstanding
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c
Add the CMDQ support to SDHCI host interface and CHT SDHCI
host interface
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c | 121 --
drivers/mmc/host/sdhci.h |1 +
2 files changed, 108 insertions(+), 14 deletions(-)
diff --git a
random read
performance. With ondemand CPU governor used in GMIN, it can improve
the read performance a lot.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 478 --
drivers/mmc/card/queue.c | 23 ++-
drivers/mmc/card/queue.h |3
Use qdepth for mmc request fetching. Currently the request fetching
mechanism indicate the qdepth is only 2.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 43 ++
drivers/mmc/card/queue.c | 198 ++
drivers/mmc/card/queue.h
right now we use sbc to present CMD23. If we want sbc to present
other cmds, then it is not suitable. So change the name to precmd
which means a cmd that needs to be sent before a cmd. So it can sent
any command without misunderstanding
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c
pm together.
We implement runtime pm to mmc host class device, so that when the card device
doesn't want to be ignored by the low level host runtime pm, card device driver
can talk to class device, so class device can talk to his parent.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/h
tches. Please have a review.
Chuanxiao Dong (5):
mmc: replace sbc to precmd and add postcmd
mmc: host: add runtime PM for host class dev
mmc: queue: change mqrq_cur and mqrq_pre to mq qdepth
mmc: core: add support for CMDQ feature in MMC Core stack
mmc: sdhci: add SW CMDQ support for SDHCI
Add the CMDQ support to SDHCI host interface and CHT SDHCI
host interface
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c | 121 +++--
include/linux/mmc/sdhci.h |1 +
2 files changed, 108 insertions(+), 14 deletions(-)
diff --git a
the random read
performance. With ondemand CPU governor used in GMIN, it can improve
the read performance a lot.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 476 --
drivers/mmc/card/queue.c | 23 ++-
drivers/mmc/card/queue.h |3
Use qdepth for mmc request fetching. Currently the request fetching
mechanism indicate the qdepth is only 2.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 45 +++
drivers/mmc/card/queue.c | 198 +-
drivers/mmc/card/queue.h
right now we use sbc to present CMD23. If we want sbc to present
other cmds, then it is not suitable. So change the name to precmd
which means a cmd that needs to be sent before a cmd. So it can sent
any command without misunderstanding
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card
pm together.
We implement runtime pm to mmc host class device, so that when the card device
doesn't want to be ignored by the low level host runtime pm, card device driver
can talk to class device, so class device can talk to his parent.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/h
om read
SW CMDQ:5544.6
Normal Read:3993.05
So I want to send this serial patches as RFC patch for reviewing
Chuanxiao Dong (5):
mmc: replace sbc to precmd and add postcmd
mmc: host: add runtime PM for host class dev
mmc: queue: change mqrq_cur and mqrq_pre to mq qdepth
mmc: co
HS200.
Signed-off-by: Chuanxiao Dong
---
Changelog V2: rebase this patch, and use IS_ERR to check vqmmc.
drivers/mmc/host/sdhci.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 4cc2ff9..a23738c 100644
--- a/dr
both support 1.2v IO)
use 1.2v IO;
else if (host and device can both support 1.8v IO)
use 1.8v IO;
so if host and device can only support 3.3v IO, this is the last choice.
Signed-off-by: Chuanxiao Dong
Signed-off-by: Yunpeng Gao
---
Changelog V2:
- For (e)MMC device switching
HS200.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index c026ec8..6b701e1 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2
both support 1.2v IO)
use 1.2v IO;
else if (host and device can both support 1.8v IO)
use 1.8v IO;
so if host and device can only support 3.3v IO, this is the last choice.
Signed-off-by: Chuanxiao Dong
Signed-off-by: Yunpeng Gao
---
Changelog V2:
- For (e)MMC device switching to
1.8v.
Signed-off-by: Chuanxiao Dong
Signed-off-by: Yunpeng Gao
---
drivers/mmc/core/mmc.c | 19 +++
include/linux/mmc/host.h |1 +
2 files changed, 20 insertions(+)
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 793c6f7..13a5b24 100644
--- a/drivers
curr should use signed type since it will contain the returned
value which is possible to be a negative value. Using u32 will
make the returned value to be true even there is a negative result.
Change to use int instead of u32
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c |2
e PCI subsystem, without the driver's participation. Thus
remove these PCI functions.
For the device which has wake up capability, use device_init_wakeup to
init the wake up capability so that PCI core will help to enable the wakeup
for it.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci-pc
If PM_SLEEP is not enabled, mmc.c will give warnning since mmc_bus_suspend/
mmc_bus_resume functions are defined but not used. This patch can fix this
warnning.
Found-by: Andrew Lunn
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/bus.c |2 ++
1 files changed, 2 insertions(+), 0
hing and return an error. That is to say
it is not necessary for SECURE_ERASE to --qty since it will never cross
an erase group.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/core/core.c b/dri
MMC bus is using legacy suspend/resume method, which is not compatible if
runtime pm callbacks are used. In this scenario, MMC bus suspend/resume
callbacks cannot be called when system entering S3. So change to use the new
defined dev_pm_ops for system sleeping mode
Signed-off-by: Chuanxiao Dong
MMC bus is using legacy suspend/resume method, which is not compatible if
runtime pm callbacks are used. In this scenario, MMC bus suspend/resume
callbacks cannot be called when system entering S3. So change to use the new
defined dev_pm_ops for system sleeping mode
Signed-off-by: Chuanxiao Dong
MMC bus is using legacy suspend/resume method, which is not compatible if
runtime pm callbacks are used. In this scenario, MMC bus suspend/resume
callbacks cannot be called when system entering S3. So change to use the new
defined dev_pm_ops for system sleeping mode
Signed-off-by: Chuanxiao Dong
: Erase timeout = 300ms * ERASE_TIMEOUT_MULT
b. if ERASE_GROUP_DEF is false: Erase timeout = write block delay
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c | 42 +-
1 files changed, 29 insertions(+), 13 deletions(-)
diff --git a/drivers
be suspended/resumed.
This patch will remove the legacy suspend/resume method and change to
use the new method totally.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c |2 +-
drivers/mmc/core/bus.c | 24 +++-
include/linux/mmc/card.h |2 +-
3 files
_suspend_host() is using the same way to claim host.
Need to know your suggestions.
Signed-off-by: He Bo
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index
calculation for them. So
preferred just using 0xE. Below the patch and comment:
Set the timeout control register for SDHCI host when send some commands which
need busy signal. Use the maximum timeout value 0xE will be safe.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c |9 -
1
Set the timeout control register for SDHCI host when it needs to send some
commands which need busy signal. Use the maximum timeout value will be safe.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c | 14 ++
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git
Since if clock gating feature is enabled, the clock frequency may be zero when
host clock is gated. In such scenario, mmc_set_mmc_erase_timeout() may have a
division by zero bug.
So this patch used mmc_host_clk_rate() to fix this.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c
Since if clock gating feature is enabled, the clock frequency may be zero when
host clock is gated. In such scenario, mmc_set_mmc_erase_timeout() may have a
division by zero bug.
So this patch used mmc_host_clk_rate() to fix this.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c
-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c | 16 +++-
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 655617c..fe7cbd0 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -41,7 +41,6
ue for mmc queue to
avoid erasing too many sectors at one time.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/queue.c |3 ++-
drivers/mmc/core/core.c | 20
include/linux/mmc/core.h |1 +
3 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/ca
Hi Chris,
These patches enable TRIM/ERASE capability for SDHCI host controller.
patch001: mmc: set max_discard_sectors value for mmc queue
Rightnow max_discard_sectors value for mmc queue is UINT_MAX which means
block layer can accept unlimited sectors to erase at one time. But this ma
ERASE_GRP_DEF should also be set.
Documentation/ABI/testing/sysfs-devices-mmc described the two new attributes
Signed-off-by: Chuanxiao Dong
---
Documentation/ABI/testing/sysfs-devices-mmc | 21 +++
drivers/mmc/core/mmc.c | 80 +++
include
ERASE_GRP_DEF should also be set.
Documentation/ABI/testing/sysfs-devices-mmc described the two new attributes
Signed-off-by: Chuanxiao Dong
---
Documentation/ABI/testing/sysfs-devices-mmc | 19 ++
drivers/mmc/core/mmc.c | 80 +++
include
Since mmc clock gating is done in a work queue which is not synchronized with
host runtime power management, when driver is doing clock gating, host may
has already been power gated.
So before driver clock gate host, check whether host is already suspended.
Signed-off-by: Chuanxiao Dong
.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c | 15 +++
drivers/mmc/core/host.c | 21 +
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 6625c05..e296c5a 100644
--- a/drivers/mmc
add runtime power managment for sdhci pci host
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci-pci.c | 104 ++
drivers/mmc/host/sdhci.c | 39
drivers/mmc/host/sdhci.h |5 ++
3 files changed, 148 insertions(+), 0
Hi all,
These are the version 1 patches for enabling runtime power management for
mmc host driver stack.
Right now runtime pm in mmc driver stack can only care about the
power of SDIO card, not the host controller. Host controller also needs
runtime pm to save power.
MMC host ca
ERASE_GRP_DEF should also be set.
Documentation/ABI/testing/sysfs-devices-mmc described the two new attributes
Signed-off-by: Chuanxiao Dong
---
Documentation/ABI/testing/sysfs-devices-mmc | 19 +++
drivers/mmc/core/mmc.c | 73 +++
include
hwreset_emmc: used for host to trigger a RST_n signal as eMMC4.4 spec
recommanded to reset eMMC card. It is useful when eMMC card cannot response
any command.
reinit_emmc: reinitialize eMMC card after HW reset occurs.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/mmc.c | 83
.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 10 +
drivers/mmc/core/core.c | 48 ++
drivers/mmc/core/core.h | 26
include/linux/mmc/core.h |1 +
4 files changed, 85 insertions(+), 0 deletions
: Chuanxiao Dong
---
drivers/mmc/core/mmc.c | 24
include/linux/mmc/card.h |1 +
include/linux/mmc/mmc.h |1 +
3 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 1d8409f..ebb5748 100644
--- a
Hi all,
This is the version 6 of hardware reset feature implementation. When eMMC
card cannot response any command, signal RST_n can help to reset eMMC
card.
patch1: enable HW reset capability if card supports.
patch2: do hardware reset if card occurs read/write/erase timeout
pat
timeout error. If
occurs,use HW reset callbacks to do reset and reinitialize
hardware_reset: trigger a RST_n signal for host to reset card. This callback
was just defined in header file, not implemented in this patch.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c | 45
for this callback.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c | 23 +++
drivers/mmc/host/sdhci.h | 12
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 508ea5a..3a0c9b4
Driver can do a HW reset for eMMC card if read/write/erase
occurs timeout error.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/card/block.c | 10 ++
drivers/mmc/core/core.c |2 ++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/card/block.c b/drivers
: Chuanxiao Dong
---
drivers/mmc/core/mmc.c | 29 +
include/linux/mmc/card.h |1 +
include/linux/mmc/mmc.h |1 +
3 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 76bb621..1d138b3 100644
--- a
Hi,
This is the version 5 of HW reset feature implementation. HW reset can
reset eMMC card when card occurs a read/write/erase timeout error. It is
useful when eMMC card cannot correspond any command after occurs a
timeout
error.
change-log:
patch1:
remove the erase calculation part from core.c
change the mmc_set_erase_timeout rountine to directly get
the erase timeout value according to arg type and erase
groups count.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/core.c | 120 ++
1 files
timeout value
for erase/trim command before each time sending.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/mmc.c | 50 ++
drivers/mmc/core/sd.c| 19 +
include/linux/mmc/card.h |4 +++
3 files changed, 73 insertions
whether need to do this.
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/core/mmc.c | 92 ++
include/linux/mmc/card.h |3 +
include/linux/mmc/mmc.h |3 +
3 files changed, 98 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/core/mmc.c b
>From d759e4606c498c63cbeae2ed00adf6c289acac6f Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Fri, 3 Dec 2010 19:34:15 +0800
Subject: [PATCH 4/4] mmc: Add HPI operation to interrupt BKOPS
Before start a new user request, driver need to wait until the
BKOPS finished, or use HPI to interr
>From c9a450e2eb60b3b0151e9bafc2707d0a0c3aad76 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Fri, 3 Dec 2010 19:31:59 +0800
Subject: [PATCH 3/4] mmc: Enabled HPI feature
HPI feature is a new feature in eMMC4.41 standard. It will be
used to interrupt background operations and low prior
>From 984adc755cf2f7966a89e510a50f085e314fe347 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Mon, 22 Nov 2010 16:31:12 +0800
Subject: [PATCH 1/4] mmc: Enabled background operations feature if eMMC card
supports
Background operations is a new feature defined in eMMC4.41 standard.
Si
>From bd333e2303778051fbd9a0069db479e2f7dd0229 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Fri, 3 Dec 2010 19:05:19 +0800
Subject: [PATCH 2/4] mmc: Add background operations
Driver will check if need to do a BKOPS after completed each
user request. If BKOPS is need, then will start BK
Hi,
This is the version 2 patch to enable background operations and HPI
feature for eMMC4.41 card. Both of these two features are optional.
Background operations can be started when user request queue is idle. So
each time user start to handle a new request, driver
>From 8572052d6130daaddbae7c529b02a61692ff765f Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 2 Dec 2010 18:53:39 +0800
Subject: [PATCH 3/3] Add quirk to MFLD sdhci host controller
MFLD platform host controller cannot erase too many sectors at one time,
this quirk will let h
>From b1cc696f0fbb0c48f024359977624a862ece93f4 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 2 Dec 2010 15:53:37 +0800
Subject: [PATCH 2/3] set timeout control reg for SDHCI host when sending erase
cmd
Since if erasing needs longer time than the timeout host can wait, host w
Hi,
This is the version 3 patch which set a suitable max_discard_sectors
value for SDHCI host controller. In this patch, a new quirk is added for
such controller.
max_discard_sectors is a parameter of MMC driver request queue. This
value can limit how many s
>From 08e9f6c1fb908172c2ebb278e7b8da359db51bac Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 2 Dec 2010 15:19:54 +0800
Subject: [PATCH 1/3] add a quirk for sdhci host which cannot erase too many
sectors each time
The original max_discard_sectors value which used to limit the num
>From 0fadd39a6c09f9040a614bb251187b03f8fadd79 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Wed, 1 Dec 2010 19:41:25 +0800
Subject: [PATCH 3/4] implement hardware_reset callback for sdhci host
hardware_reset callback will be used for host to trigger
RST_n signal. So a new callb
>From 0d704091ba1797eaba34230ac920866e68d1b21d Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Wed, 1 Dec 2010 20:24:00 +0800
Subject: [PATCH 4/4] add HW reset after each read/write/erase
Driver can do a HW reset for eMMC card if read/write/erase
occures timeout error.
Signed-off
>From af18430a90d1a7a42495e6924f1d60b0cf69e20b Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Wed, 1 Dec 2010 20:14:22 +0800
Subject: [PATCH 2/4] add two new callback to use HW reset feature
HW reset will reset eMMC card. So after reset, card should
also be reinitialized. Add two
>From d3be0b4fe8e8a40294830dfd8d0543d1e957fd29 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Wed, 1 Dec 2010 19:14:02 +0800
Subject: [PATCH 1/4] enable HW reset caps of MMC card if card supports
HW reset capbility enable bit is byte 162 in card EXT_CSD
register, only version4.4 card
Hi,
These are the version 4 patches to implement eMMC4.4 HW reset
feature. Host controller can use this feature by trigger RST_n signal.
To enable this, byte 162 of EXT_CSD register should be set.
HW reset is implemented in mmc core layer and sdhci host layer, and it
>From 8d2cf8e4b890a3ef0c7b63da57b8b184ab64725d Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Tue, 23 Nov 2010 12:01:58 +0800
Subject: [PATCH 4/4] mmc: Add HPI operation to interrupt BKOPS
Before start a new user request, driver need to wait until the
BKOPS finished, or use HPI to interr
>From 78d7ca58fe6ea3b850ee3682a3552e16fc9faa15 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Tue, 23 Nov 2010 12:09:57 +0800
Subject: [PATCH 3/4] mmc: Enabled HPI feature
HPI feature is a new feature in eMMC4.41 standard. It will be
used to interrupt background operations and low prior
>From d29d84198f5b444e5ab7dc56bab7290f662494da Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Tue, 23 Nov 2010 10:51:16 +0800
Subject: [PATCH 2/4] mmc: Add background operations
Driver will check if need to do a BKOPS after completed each
user request. If BKOPS is need, then will st
>From 6a8fc91e198de80774c3c40246d0eee83366effc Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Mon, 22 Nov 2010 16:31:12 +0800
Subject: [PATCH 1/4] mmc: Enabled background operations feature if eMMC card
supports
Background operations is a new feature defined in eMMC4.41 standard.
Si
Hi,
These patches were enabled eMMC4.41 standard new feature: background
operations and HPI.
Since these two features are opertional, driver only enable for those
eMMC card which supports them.
HPI can interrupt both background operations and low priority f
>From 26a27fbbb8c28f7b2e9079b7e600625af5718b8c Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 18 Nov 2010 16:25:03 +0800
Subject: [PATCH 3/3] mmc: Add SDHCI_QUIRK_FORCE_ERASE_SINGLE to MFLD sdhci HC
This will be going to let MFLD SDHCI host controller to erase single block
each t
>From 6ddad5c28d1f2d57081df051b79912dde922e322 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 18 Nov 2010 16:20:39 +0800
Subject: [PATCH 2/3] mmc: set erase control reg value for sdhci HC
For those sdhci host controller which cannot erase the unlimited sectors,
set their timeout va
>From 3e4ee72e57a667f383f34a9e3276f2431b7bb53d Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 18 Nov 2010 16:06:35 +0800
Subject: [PATCH 1/3] mmc: Added a new quirk for SDHCI HC to erase single erase
block
Some sdhci host controller like MFLD sdhci host controller cannot er
Hello Chris,
These are the version 2 patches of setting a suitable
max_discard_sectors value for sdhci host controller.
The max_discard_sectors determines how many sectors will be passed
down to host controller for erasing. The default value is UNIT_MAX
>From 49962ed89078717d539805f999503b2d29a42b05 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 18 Nov 2010 10:25:44 +0800
Subject: [PATCH 1/2] mmc: implemented eMMC4.4 hardware reset feature in mmc
core layer
When core layer detect a data timeout error, core driver need to
first re
>From 24a7a1fe58d4cbc49dde56adb442c97cbbaf690b Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong
Date: Thu, 18 Nov 2010 10:34:42 +0800
Subject: [PATCH 2/2] mmc: implemented hardware reset callback for sdhci layer
The hardware reset callback in sdhci layer cannot really do
a reset for eMMC card.
Hello Chris,
These are the version 3 of HW reset feature implementation. Since I
didnot get any response from the version 2 and version1 patches, I am
not sure whether I need to change. So just did a little change in
form.
The 2 patches implemented
85 matches
Mail list logo