Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-06 Thread Michal Suchánek
Hello, On Sat, 3 Mar 2018 14:58:45 +0100 (CET) Stefan Wahren wrote: > Hi Michal, > > yesterday i finished my stress tests with Raspberry Pi 3. > > Scenario: > - copy Tumbleweed on SD card > (openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2018.02.02-Build1.2.raw, > Linux 4.14.15) > - setup

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Michal Suchánek
On Sun, 4 Mar 2018 19:11:49 +0100 (CET) Stefan Wahren wrote: > Hi Michal, > > > Michal Suchánek hat am 4. März 2018 um 16:57 > > geschrieben: > > > > > > On Wed, 14 Feb 2018 21:30:16 +0100 (CET) > > Stefan Wahren wrote: > > > > > Hi Michal, > > > > > > > Michal Suchánek hat am 14. Feb

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Stefan Wahren
Hi Michal, > Michal Suchánek hat am 4. März 2018 um 17:36 geschrieben: > > > On Sat, 3 Mar 2018 14:58:45 +0100 (CET) > Stefan Wahren wrote: > > > In a github issue, i've read that badblocks could reproduce the issue > > more likely. > > How many iterations of badblocks? It doe snot reproduce

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Stefan Wahren
Hi Michal, > Michal Suchánek hat am 4. März 2018 um 16:57 geschrieben: > > > On Wed, 14 Feb 2018 21:30:16 +0100 (CET) > Stefan Wahren wrote: > > > Hi Michal, > > > > > Michal Suchánek hat am 14. Februar 2018 um > > > 20:24 geschrieben: > > > > > > > > > On Wed, 14 Feb 2018 17:49:31 +0100

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Michal Suchánek
On Sat, 3 Mar 2018 14:58:45 +0100 (CET) Stefan Wahren wrote: > In a github issue, i've read that badblocks could reproduce the issue > more likely. How many iterations of badblocks? It doe snot reproduce the issue for me. Thanks Michal

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Michal Suchánek
Hello, On Sat, 3 Mar 2018 14:58:45 +0100 (CET) Stefan Wahren wrote: > Hi Michal, > yesterday i finished my stress tests with Raspberry Pi 3. > > Scenario: > - copy Tumbleweed on SD card > (openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2018.02.02-Build1.2.raw, > Linux 4.14.15) > - setup loc

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Michal Suchánek
On Wed, 14 Feb 2018 21:30:16 +0100 (CET) Stefan Wahren wrote: > Hi Michal, > > > Michal Suchánek hat am 14. Februar 2018 um > > 20:24 geschrieben: > > > > > > On Wed, 14 Feb 2018 17:49:31 +0100 > > Stefan Wahren wrote: > > > > > Hi Michal, > > > > > > [add Phil] > > > > > > Am 14.02.201

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-03 Thread Stefan Wahren
Hi Michal, [add Stefan to CC] > Michal Suchánek hat am 14. Februar 2018 um 20:24 > geschrieben: > > > On Wed, 14 Feb 2018 17:49:31 +0100 > Stefan Wahren wrote: > > > Hi Michal, > > > > [add Phil] > > > > Am 14.02.2018 um 17:13 schrieb Michal Suchánek: > > > On Wed, 14 Feb 2018 16:36:49 +0

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-02-14 Thread Stefan Wahren
Hi Michal, > Michal Suchánek hat am 14. Februar 2018 um 20:24 > geschrieben: > > > On Wed, 14 Feb 2018 17:49:31 +0100 > Stefan Wahren wrote: > > > Hi Michal, > > > > [add Phil] > > > > Am 14.02.2018 um 17:13 schrieb Michal Suchánek: > > > On Wed, 14 Feb 2018 16:36:49 +0100 > > > Michal Suc

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-02-14 Thread Michal Suchánek
On Wed, 14 Feb 2018 17:49:31 +0100 Stefan Wahren wrote: > Hi Michal, > > [add Phil] > > Am 14.02.2018 um 17:13 schrieb Michal Suchánek: > > On Wed, 14 Feb 2018 16:36:49 +0100 > > Michal Suchánek wrote: > > > >> On Wed, 14 Feb 2018 15:58:31 +0100 > >> Stefan Wahren wrote: > >> > >>> Hi Mic

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-02-14 Thread Stefan Wahren
Hi Michal, [add Phil] Am 14.02.2018 um 17:13 schrieb Michal Suchánek: > On Wed, 14 Feb 2018 16:36:49 +0100 > Michal Suchánek wrote: > >> On Wed, 14 Feb 2018 15:58:31 +0100 >> Stefan Wahren wrote: >> >>> Hi Michal, >>> >>> Am 14.02.2018 um 15:38 schrieb Michal Suchanek: The bcm2835 mmc ho

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-02-14 Thread Michal Suchánek
On Wed, 14 Feb 2018 16:36:49 +0100 Michal Suchánek wrote: > On Wed, 14 Feb 2018 15:58:31 +0100 > Stefan Wahren wrote: > > > Hi Michal, > > > > Am 14.02.2018 um 15:38 schrieb Michal Suchanek: > > > The bcm2835 mmc host tends to lock up for unknown reason so reset > > > it on timeout. The uppe

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-02-14 Thread Michal Suchánek
On Wed, 14 Feb 2018 15:58:31 +0100 Stefan Wahren wrote: > Hi Michal, > > Am 14.02.2018 um 15:38 schrieb Michal Suchanek: > > The bcm2835 mmc host tends to lock up for unknown reason so reset > > it on timeout. The upper mmc block layer tries retransimitting with > > single blocks which tends to

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-02-14 Thread Stefan Wahren
Hi Michal, Am 14.02.2018 um 15:38 schrieb Michal Suchanek: > The bcm2835 mmc host tends to lock up for unknown reason so reset it on > timeout. The upper mmc block layer tries retransimitting with single > blocks which tends to work out after a long wait. > > This is better than giving up and leav

[PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-02-14 Thread Michal Suchanek
The bcm2835 mmc host tends to lock up for unknown reason so reset it on timeout. The upper mmc block layer tries retransimitting with single blocks which tends to work out after a long wait. This is better than giving up and leaving the machine broken for no obvious reason. Signed-off-by: Michal