RE: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-24 Thread Bean Huo (beanhuo)
Hi, Uffe >>>On 19 March 2017 at 01:45, Bean Huo (beanhuo) >wrote: This patch fixes the issue that mmc_blk_issue_rq still flushes cache when eMMC cache has already been off through user space tool, such as mmc-utils. The reason is that

RE: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-24 Thread Bean Huo (beanhuo)
Hi, Uffe >>>On 19 March 2017 at 01:45, Bean Huo (beanhuo) >wrote: This patch fixes the issue that mmc_blk_issue_rq still flushes cache when eMMC cache has already been off through user space tool, such as mmc-utils. The reason is that card->ext_csd.cache_ctrl isn't reset. >>>

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-23 Thread Ulf Hansson
On 23 March 2017 at 11:45, Bean Huo (beanhuo) wrote: > Hi, > >>On 19 March 2017 at 01:45, Bean Huo (beanhuo) wrote: >>> This patch fixes the issue that mmc_blk_issue_rq still flushes cache >>> when eMMC cache has already been off through user space tool,

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-23 Thread Ulf Hansson
On 23 March 2017 at 11:45, Bean Huo (beanhuo) wrote: > Hi, > >>On 19 March 2017 at 01:45, Bean Huo (beanhuo) wrote: >>> This patch fixes the issue that mmc_blk_issue_rq still flushes cache >>> when eMMC cache has already been off through user space tool, such as >>> mmc-utils. >>> The reason is

RE: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-23 Thread Bean Huo (beanhuo)
Hi, >On 19 March 2017 at 01:45, Bean Huo (beanhuo) wrote: >> This patch fixes the issue that mmc_blk_issue_rq still flushes cache >> when eMMC cache has already been off through user space tool, such as >> mmc-utils. >> The reason is that card->ext_csd.cache_ctrl isn't

RE: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-23 Thread Bean Huo (beanhuo)
Hi, >On 19 March 2017 at 01:45, Bean Huo (beanhuo) wrote: >> This patch fixes the issue that mmc_blk_issue_rq still flushes cache >> when eMMC cache has already been off through user space tool, such as >> mmc-utils. >> The reason is that card->ext_csd.cache_ctrl isn't reset. > >First, why do

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-23 Thread Ulf Hansson
On 19 March 2017 at 01:45, Bean Huo (beanhuo) wrote: > This patch fixes the issue that mmc_blk_issue_rq still > flushes cache when eMMC cache has already been off > through user space tool, such as mmc-utils. > The reason is that card->ext_csd.cache_ctrl isn't reset. First,

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-23 Thread Ulf Hansson
On 19 March 2017 at 01:45, Bean Huo (beanhuo) wrote: > This patch fixes the issue that mmc_blk_issue_rq still > flushes cache when eMMC cache has already been off > through user space tool, such as mmc-utils. > The reason is that card->ext_csd.cache_ctrl isn't reset. First, why do you want to

RE: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-22 Thread Bean Huo (beanhuo)
Ping Linux-mmc maintainer... Tested-by: Shawn Lin Reviewed-by: Bartlomiej Zolnierkiewicz Reviewed-by: Shawn Lin >On Sunday, March 19, 2017 12:45:40 AM Bean Huo wrote: >> This patch fixes the issue that

RE: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-22 Thread Bean Huo (beanhuo)
Ping Linux-mmc maintainer... Tested-by: Shawn Lin Reviewed-by: Bartlomiej Zolnierkiewicz Reviewed-by: Shawn Lin >On Sunday, March 19, 2017 12:45:40 AM Bean Huo wrote: >> This patch fixes the issue that mmc_blk_issue_rq still flushes cache >> when eMMC cache has already been off through user

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-20 Thread Bartlomiej Zolnierkiewicz
On Sunday, March 19, 2017 12:45:40 AM Bean Huo wrote: > This patch fixes the issue that mmc_blk_issue_rq still > flushes cache when eMMC cache has already been off > through user space tool, such as mmc-utils. > The reason is that card->ext_csd.cache_ctrl isn't reset. > > Signed-off-by: beanhuo

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-20 Thread Bartlomiej Zolnierkiewicz
On Sunday, March 19, 2017 12:45:40 AM Bean Huo wrote: > This patch fixes the issue that mmc_blk_issue_rq still > flushes cache when eMMC cache has already been off > through user space tool, such as mmc-utils. > The reason is that card->ext_csd.cache_ctrl isn't reset. > > Signed-off-by: beanhuo

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-20 Thread Shawn Lin
Hi On 2017/3/19 8:45, Bean Huo (beanhuo) wrote: This patch fixes the issue that mmc_blk_issue_rq still flushes cache when eMMC cache has already been off through user space tool, such as mmc-utils. I did a quick test and see the case you refer to, so Tested-by: Shawn Lin

Re: [PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-20 Thread Shawn Lin
Hi On 2017/3/19 8:45, Bean Huo (beanhuo) wrote: This patch fixes the issue that mmc_blk_issue_rq still flushes cache when eMMC cache has already been off through user space tool, such as mmc-utils. I did a quick test and see the case you refer to, so Tested-by: Shawn Lin Reviewed-by: Shawn