Re: [PATCH V3 rebase] mmc: sdhci: fix the timeout check window for clock and reset

2018-12-06 Thread Du, Alek
On Thu, 6 Dec 2018 08:55:04 +0100 Ulf Hansson wrote: > Could you check at your side and see what can be wrong? If there is > too much hazzle I can manually fixup the patch next week, as one time > thing. Sorry for the confusion, I just resent with git send-email to avoid any thing unexpected. Pl

[PATCH V3 rebase] mmc: sdhci: fix the timeout check window for clock and reset

2018-12-05 Thread Du, Alek
>From a081e783383adf1179c71bc37b4e199d087af643 Mon Sep 17 00:00:00 2001 From: Alek Du Date: Fri, 30 Nov 2018 14:02:28 +0800 Subject: [PATCH] mmc: sdhci: fix the timeout check window for clock and reset We observed some premature timeouts on a virtualization platform, the log is like this: case 1

[PATCH V3] sdhci: fix the timeout check window for clock and reset

2018-12-04 Thread Du, Alek
>From bcb38577961823b4f8f2cc0aec7dd450a81b6ddc Mon Sep 17 00:00:00 2001 From: Alek Du Date: Fri, 30 Nov 2018 14:02:28 +0800 Subject: [PATCH] sdhci: fix the timeout check window for clock and reset We observed some premature timeouts on a virtualization platform, the log is like this: case 1: [15

[PATCH V2] sdhci: fix the timeout check window for clock and reset

2018-12-03 Thread Du, Alek
>From 87692fc090978bde8fe872f02d0023a57af6b492 Mon Sep 17 00:00:00 2001 From: Alek Du Date: Fri, 30 Nov 2018 14:02:28 +0800 Subject: [PATCH] sdhci: fix the timeout check window for clock and reset We observed some fake timeouts on some devices, the log is like this: case 1: [159525.255629] mmc1:

Re: [PATCH] sdhci: fix the fake timeout bug

2018-11-30 Thread Du, Alek
On Fri, 30 Nov 2018 16:40:04 +0200 Adrian Hunter wrote: > So you are saying this only happens under virtualization? > Yes, I saw the issue under ACRN virtualization Service OS (4.19 kernel). But theoretically it can happen in other case when scheduling is not that good. (due to bad driver or ot

Re: [PATCH] sdhci: fix the fake timeout bug

2018-11-30 Thread Du, Alek
On Fri, 30 Nov 2018 11:19:03 +0200 Adrian Hunter wrote: > Commands and resets are under spin lock, so no possibility for > preemption, and certainly a few microseconds isn't going to make any > difference to these timeouts, so I don't see how this patch could > help. Thanks for your review. I b

[PATCH] sdhci: fix the fake timeout bug

2018-11-29 Thread Du, Alek
>From b893df3a1a937bd5fe22d39ceae93454a2e5e0e4 Mon Sep 17 00:00:00 2001 From: Alek Du Date: Fri, 30 Nov 2018 14:02:28 +0800 Subject: [PATCH] sdhci: fix the fake timeout bug We observed some fake timeouts on some devices, the log is like this: [ 7586.290201] mmc1: Timeout waiting for hardware cmd