Re: [PATCH v2] arm, da8xx, mmc: set second MMC controllers default queue

2012-01-11 Thread Heiko Schocher
Hello, Heiko Schocher wrote: The MMC driver allocates channels with EVENTQ_DEFAULT, they get put into EVENTQ_1, which the second EDMA controller does not have and hence transfers stall. This is fixed in commit f23fe857bbea393b4b94fe2218c98d934bd3d4cf ARM: davinci: Explicitly set channel

RE: [PATCH] mmc: fix a deadlock between system suspend and MMC block IO

2012-01-11 Thread Nath, Arindam
Hi Chris, -Original Message- From: Chris Ball [mailto:c...@laptop.org] Sent: Wednesday, January 04, 2012 8:34 PM To: Nath, Arindam Cc: Guennadi Liakhovetski; linux-mmc@vger.kernel.org; Andrei Warkentin Subject: Re: [PATCH] mmc: fix a deadlock between system suspend and MMC block IO

RE: [PATCH][v2] mmc:sdhci: restore the enabled dma when do reset all

2012-01-11 Thread Xie Shaohui-B21989
Hello, Chris, May I have your attention to this patch, please? Best Regards, Shaohui Xie -Original Message- From: Xie Shaohui-B21989 Sent: Friday, January 06, 2012 3:58 PM To: 'c...@laptop.org'; linux-mmc@vger.kernel.org Cc: linuxppc-...@lists.ozlabs.org; Xie Shaohui-B21989 Subject:

Re: mmc: dw_mmc: miscaculated the fifo-depth with wrong bit operation

2012-01-11 Thread James Hogan
On 09/01/12 09:41, James Hogan wrote: On 01/09/2012 01:06 AM, Jaehoon Chung wrote: In FIFOTH register, can find bit[27:16] = FIFO_DEPTH - 1. Finally, FIFO_DEPTH = bit[27:16] + 1. Now, Used the 0x7ff. but 0xfff is right. Nice catch. The patch itself looks okay, but I don't think the commit

Re: [PATCH v5 1/1] mmc:Support of PCI mode for the dw_mmc driver

2012-01-11 Thread Shashidhar Hiremath
Hi James, Since Jae hoon's patch on dev_pm_ops patch is now present in mmc-next branch. Can I submit PCI patch again with all the changes suggested by you and bug found by me while testing ? Also note that the latest PCI patch has been tested on XLINX XC2V3000 FF1152AMT0221 D1215994A VIRTEX

Re: [PATCH v5 1/1] mmc:Support of PCI mode for the dw_mmc driver

2012-01-11 Thread James Hogan
Hi Shashidhar, Yeh, go for it! Cheers James On 11/01/12 09:33, Shashidhar Hiremath wrote: Hi James, Since Jae hoon's patch on dev_pm_ops patch is now present in mmc-next branch. Can I submit PCI patch again with all the changes suggested by you and bug found by me while testing ?

Re: mmc: dw_mmc: miscaculated the fifo-depth with wrong bit operation

2012-01-11 Thread Jaehoon Chung
Hi James, Thank you..:) Best Regards, Jaehoon Chung On 01/11/2012 06:28 PM, James Hogan wrote: On 09/01/12 09:41, James Hogan wrote: On 01/09/2012 01:06 AM, Jaehoon Chung wrote: In FIFOTH register, can find bit[27:16] = FIFO_DEPTH - 1. Finally, FIFO_DEPTH = bit[27:16] + 1. Now, Used the

Re: [PATCH 1/1] [PATCH v4 1/1] mmc: Support of DUAL BUFFER DESC[ring] mode for dw_mmc

2012-01-11 Thread Shashidhar Hiremath
Hi James,   Sorry for delay in getting the performance numbers since there was some issue with the Hardware. Even though the Dual Buffer Patch does not improve the performance considerably for Read operations, but for the write operations, I found the improvement in speed of upto 200 KiB/s. Please

Re: [PATCH v5] mmc: support BKOPS feature for eMMC

2012-01-11 Thread S, Venkatraman
On Thu, Jan 5, 2012 at 6:25 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Enable eMMC background operations (BKOPS) feature. If URGENT_BKOPS is set after a response, note that BKOPS are required. After all I/O requests are finished, run BKOPS if required. Should read/write operations be

[PATCH] mmc: core: claim host during mmc_power_off on suspend

2012-01-11 Thread Arik Nemtsov
Make sure the host is claimed in all calls of mmc_power_off() during suspend. In addition make sure mmc_power_off() isn't called twice in some suspend flows. Signed-off-by: Arik Nemtsov a...@wizery.com Signed-off-by: Ido Yariv i...@wizery.com --- drivers/mmc/core/core.c |7 ++- 1 files

Re: [PATCH V4] mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME is used

2012-01-11 Thread Dmitry Shmidt
On Tue, Jan 10, 2012 at 6:44 PM, Barry Song 21cn...@gmail.com wrote: 2012/1/10 Dmitry Shmidt dimitr...@google.com: Signed-off-by: Dmitry Shmidt dimitr...@google.com Hi Dmitry, after you move mmc_bus_suspend, mmc_bus_resume to dev_pm_ops, while doing hiberantion by swsusp, suspend/resume will

Re: mmc: dw_mmc: miscaculated the fifo-depth with wrong bit operation

2012-01-11 Thread Chris Ball
Hi, On Wed, Jan 11 2012, Jaehoon Chung wrote: Hi James, Thank you..:) Best Regards, Jaehoon Chung On 01/11/2012 06:28 PM, James Hogan wrote: On 09/01/12 09:41, James Hogan wrote: On 01/09/2012 01:06 AM, Jaehoon Chung wrote: In FIFOTH register, can find bit[27:16] = FIFO_DEPTH - 1.

Re: Erasing MMC partition from kernel module, what's best way to do that?

2012-01-11 Thread Chris Ball
Hi, On Mon, Jan 09 2012, JONGMAN HEO wrote: Hi all, Please excuse me, I have some noob question regarding MMC. I'd like to erase(discard) certain MMC partition from kernel space (i.e. kernel module). I know this is quite ugly design, but I have no choice but to implement the feature

Re: [PATCH][v2] mmc:sdhci: restore the enabled dma when do reset all

2012-01-11 Thread Chris Ball
Hi Shaohui, On Thu, Dec 29 2011, Shaohui Xie wrote: If dma is enabled, it'll be cleared when reset all is performed, this can be observed on some platforms, such as P2041 which has a version 2.3 controller, but platform like P4080 which has a version 2.2 controller, does not suffer this, so

Re: [PATCH] mmc: fix a deadlock between system suspend and MMC block IO

2012-01-11 Thread Chris Ball
Hi, On Wed, Jan 11 2012, Nath, Arindam wrote: I think we can push this patch now. If someone has any objections, we can discuss later. Acked-by: Arindam Nath arindam.n...@amd.com Thanks, I agree. Guennadi, I've merged it for 3.3 with the following change: diff --git

Re: [PATCH v5] mmc: support BKOPS feature for eMMC

2012-01-11 Thread Chris Ball
Hi, On Wed, Jan 11 2012, S, Venkatraman wrote: On Thu, Jan 5, 2012 at 6:25 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Enable eMMC background operations (BKOPS) feature. If URGENT_BKOPS is set after a response, note that BKOPS are required. After all I/O requests are finished, run

Re: [PATCH v3 2/2] mmc: sdhci: Deal with failure case in sdhci_suspend_host

2012-01-11 Thread Chris Ball
Hi, On Mon, Jan 09 2012, Adrian Hunter wrote: On 04/01/12 04:07, Aaron Lu wrote: V3: Rework on top of Adrian's vmmc patch V2: Error processing code in sdhci_pci_suspend should not be deleted, it is used to resume hosts which are already successfully suspended for a multi slot pci device as

Re: [PATCH v5] mmc: support BKOPS feature for eMMC

2012-01-11 Thread Jaehoon Chung
Hi Chris Venkat, Thanks for testing...i will modify insufficiency part about venkat's testing results. I will resend the patch-v6 at next week. Best Regards, Jaehoon Chung On 01/12/2012 04:32 AM, Chris Ball wrote: Hi, On Wed, Jan 11 2012, S, Venkatraman wrote: On Thu, Jan 5, 2012 at

RE: [PATCH 5/5 v3] ESDHC: Fix DMA errors in kernel booting on P1010

2012-01-11 Thread Zang Roy-R61911
Hi, Jerry I think this patch is the same as I post here: http://patchwork.ozlabs.org/patch/103184/ We need to consider the comment from Anton http://lists.ozlabs.org/pipermail/linuxppc-dev/2011-August/092402.html Thanks. Roy -Original Message- From: linux-mmc-ow...@vger.kernel.org