- Chris and LKML,
On 28 August 2015 at 02:38, LIYONG wrote:
> Hi Uffe,
>
> Since Reliable Write depends on the CMD23. I think we need to disable
> Reliable Write if the card does not support CMD23(due to performance impact
> issue), so I add this patch.
>
> Do you think we still need to enable
> Date: Thu, 27 Aug 2015 15:22:44 +0200
> Subject: Re: [PATCH] mmc: block: disable the reliable write If the card does
> not support CMD23
> From: ulf.hans...@linaro.org
> To: sdliy...@gmail.com
> CC: ch...@printf.net; linux-mmc@vger.ker
On 25 August 2015 at 14:06, Ulf Hansson wrote:
> On 14 August 2015 at 09:30, wrote:
>> From: Yong Li
>>
>> Signed-off-by: Yong Li
>> ---
>> drivers/mmc/card/block.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.
ol do_rel_wr = ((req->cmd_flags & REQ_FUA) ||
> (req->cmd_flags & REQ_META)) &&
> (rq_data_dir(req) == WRITE) &&
> - (md->flags & MMC_BLK_REL_WR);
> + (md->flags & MMC_BLK_REL_WR) &&
> + !(card->quirks & MMC_QUIRK_BLK_NO_CMD2
) == WRITE) &&
- (md->flags & MMC_BLK_REL_WR);
+ (md->flags & MMC_BLK_REL_WR) &&
+ !(card->quirks & MMC_QUIRK_BLK_NO_CMD23);
Thanks,
Yong Li
------------------------
Date: Tue, 25 Aug 2015 14:06:43 +0200
Subject: Re: [PATCH] mmc: block: disab
[PATCH] mmc: block: disable the reliable write If the card does
> not support CMD23
> From: ulf.hans...@linaro.org
> To: sdliy...@gmail.com
> CC: ch...@printf.net; linux-mmc@vger.kernel.org; linux-ker...@vger.kernel.org
>
> On 14 August 2015 at 09:30, wrote:
>> From: Y
On 14 August 2015 at 09:30, wrote:
> From: Yong Li
>
> Signed-off-by: Yong Li
> ---
> drivers/mmc/card/block.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
> index 452782b..d9e3c45 100644
> --- a/drivers/mmc/card
CMD23. The above code is executed before the "if ((md->flags &
MMC_BLK_CMD23)" code.
ok, it makes sense.:)
Thanks,
Yong Li
--------
Subject: Re: [PATCH] mmc: block: disable the reliable write If the card does
not support CMD23
To: sdliy
before the "if ((md->flags & MMC_BLK_CMD23)" code.
Thanks,
Yong Li
--------
> Subject: Re: [PATCH] mmc: block: disable the reliable write If the card does
> not support CMD23
> To: sdliy...@gmail.com; ch...@printf.net; ulf.hans..
在 2015/8/14 15:30, sdliy...@gmail.com 写道:
From: Yong Li
Signed-off-by: Yong Li
---
drivers/mmc/card/block.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 452782b..d9e3c45 100644
--- a/drivers/mmc/card/block.c
10 matches
Mail list logo