Re: Re: [PATCH V2] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-22 Thread majianpeng
>On Wednesday 21 August 2013 12:22 AM, Hein Tibosch wrote: >> Hi, >> >> [ added some people from TI ] >> >> On 8/7/2013 6:05 PM, majianpeng wrote: >>> V2: >>> clean up code. >>> V1: >>> www.mail-archive.com/linux-omap@vg

[PATCH V2] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-07 Thread majianpeng
V2: clean up code. V1: www.mail-archive.com/linux-omap@vger.../msg93239.html‎ We found a problem when we removed a working sd card that the irqaction of omap_hsmmc can sleep to 3.6s. This cause our watchdog to work. In func omap_hsmmc_reset_controller_fsm, it should watch a 0->1

Re: Re: [PATCH] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-01 Thread majianpeng
>Hi Jianpeng Ma, > >On 8/1/2013 10:18 AM, majianpeng wrote: >> We found a problem when we removed a working sd card that the irqaction >> of omap_hsmmc can sleep to 3.6s. This cause our watchdog to work. >> In func omap_hsmmc_reset_controller_fsm, it should watch a

[PATCH] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-07-31 Thread majianpeng
We found a problem when we removed a working sd card that the irqaction of omap_hsmmc can sleep to 3.6s. This cause our watchdog to work. In func omap_hsmmc_reset_controller_fsm, it should watch a 0->1 transition.It used loops_per_jiffy as the timer. The code is: > while ((!(OMAP_HSMMC_READ(host->b

About omap2 mmc host close too long irq in irqaction.

2013-07-17 Thread majianpeng
Hi all, Now i worked on omp2 and met a probelm which someplace close_irq for 3.6second. The kernel version is 2.6.37. I used trace to find in irq_action:omap_hsmmc_irq. This problem occured by removed the sdcard when there are io operations. I found the read problem is in omap_hsmmc_rese