Received: by 10.223.185.116 with SMTP id b49csp1158479wrg; Wed, 14 Feb 2018 12:32:43 -0800 (PST) X-Google-Smtp-Source: AH8x225Iu3KaCmAKY6RMlXPtt6MWgwSqCE4Awxn4GF9OC9H9otPZ9IQCMjlokh6cYmz99T0EFWBF X-Received: by 2002:a17:902:42a3:: with SMTP id h32-v6mr227908pld.231.1518640363166; Wed, 14 Feb 2018 12:32:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518640363; cv=none; d=google.com; s=arc-20160816; b=bzB2tiWpi+n3XsRMFApVT1ia7qMBttK4i8ZbEGE2YfGK4xu1Tu4H3cVKZ3Zbu4xS6l cJMKoio2t0rKW3MROkYZKCVXrAilH41qdOlR9t+8PqSTViQdcvmpeRkGOYyWxQ5V4UBT fx+xZiK2fsAlDNf2x3IBdQW0G55DSKYSA0qdxQHg/x3LdG39G4GigcY5Bdpo+pnnjLz0 iZTe2w4EHMKnb/49BZhqKmlli6hpqTCnP8Z93uXNiNqgaSZSvaA+nT7Hrlfq+ZkKyBar kP5i0Cg3OwynIq1q4inuzzhH4xAOJXeWZBpS5Vh71pd1KEvHUluJDXaCv3sN4XG1jpRu pZ8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:arc-authentication-results; bh=5npv1y1zuoHwlVwl8jMhTJVySNaE/99Y4YLaoWseFLQ=; b=xQUw36utvJ3co/+dc3DUV34F7ptOrD/hXhLpXsru5bazYNnTfprVaSzXQ9Jc5Krm5l iYdBhaTECK8dVOcDstX5kTWWdBXS2B08iStffOncgCugbMlhTvQ09uzyrSx/KCWwwQh4 UiFBjqWpVjzbNBEacRI3YV7Xy9AgM6W6r5a5Kayzbg2Or2vqxEtNCBEl+vYc1TJ7nfWM +0+i9oHhoB+xhvJPBkwSIZBVqiMfkbwOvxn4RxF0Yr3FC9ZYefRPK2SbUC46EQZaT++z SCumVDpOexnrKRoekxDpOzUXYqLucAXvvnmsSsR72Gmrs71dZWcYgYVGvCYFGKDZaxEm 5m7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b34-v6si101735pld.389.2018.02.14.12.32.25; Wed, 14 Feb 2018 12:32:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935393AbeBNUbJ convert rfc822-to-8bit (ORCPT + 99 others); Wed, 14 Feb 2018 15:31:09 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:44821 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935361AbeBNUbF (ORCPT ); Wed, 14 Feb 2018 15:31:05 -0500 Received: from null ([172.19.249.149]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MOlGA-1eptAz0T6k-0068Zg; Wed, 14 Feb 2018 21:30:19 +0100 Date: Wed, 14 Feb 2018 21:30:16 +0100 (CET) From: Stefan Wahren To: =?UTF-8?Q?Michal_Such=C3=A1nek?= Cc: Eric Anholt , bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, Ray Jui , Scott Branden , Florian Fainelli , linux-rpi-kernel@lists.infradead.org, Phil Elwell , Gerd Hoffmann , linux-mmc@vger.kernel.org, Ulf Hansson , Julia Lawall , "Gustavo A. R. Silva" , linux-arm-kernel@lists.infradead.org Message-ID: <431948292.48734.1518640216077@email.1und1.de> In-Reply-To: <20180214202454.6e7ebeaf@naga.suse.cz> References: <97593d6e1a41af1baff61f7d9e6e68a450fc9da6.1518619058.git.msuchanek@suse.de> <1fbf0d77-cb53-f0fa-b810-e9954138d907@i2se.com> <20180214163649.3a0c9476@kitsune.suse.cz> <20180214165827.386b9bb1@kitsune.suse.cz> <20180214202454.6e7ebeaf@naga.suse.cz> Subject: Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev21 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:oERPDb+/X5W65hsruIYLZlfyN1blF0rZ9N3xmnJynPp4fDslquT V3nmjodvaiP+IcCqO0w/OofEJ8bYS+wyqVA8Y4uf5AWsVVRnP3VGG7XI5n1K2miRz7cO6LI XOR2+c8EBcPx6xSLUqdF1JKa7xmpyDqbvuMcksnqy79TVn/n+rEBHZDy7p23ydZw4S9B4u/ wX19K4MJkfpAGouTqaCHQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:8GvB+xatAaM=:SdMAT02yGPB3pccnE1I9ug 9jtPNL5c+PHDi7SZFEP89Jk6tuBYcTncakqPm5SD+O1Ob2Z8liUOypaJCazXB43WivqeuM3gf w/7uOKSVSdOEcimuTVw5fhoZf96TKEKMMbzcuBNeZIaHu6cUHhCWfa3WG20zBoZXdnX9o8ieU dZUdSWR3WNZZJrsvGGn6CDOPJlL/VOheKEeia5Z50+Um40166eP1fSBaVpbxbpc2PQQ2jhmWd 4zQraeZiuY1X89sD5vbA8mPSDNh6VVDV1CnYCA9V3w8aY/qgBHYyPBmmGYcROjEthXIanL3zY k2mogAcR9ByTaFvgcJJVU1lDHEwX4qU8iF+IV5WFvgMdEQDRkB9InqZo9qDM9/G41UZvqldzG V4vxkJgufiQ7bP4lvr7QzExlzs0zgoCX/gaMLcGGZO4SGprWhORRt1b4GBWI2O8myUMIUdRAo AKC5nhXQzyfcTRtJ3lL95q4HMkQ843lZNpD7+M/29nd2eazuQ9ohWcnuyMrNjpbVs3IvN3zLr BZPfPtxJ4BT7yJA8i2qprLwZ+fFPN39+hal2Z3tdOKUyHiHscnUcjeWsTtrnxmAi43li12RUt L3Y2g0RVOKNZjmb9uL6YD+OVbuAFGWpbdhJCxUJeMcoNSclfjZ7ArKi2PrkKf2Y6/UVCfqoTo 6njlqxnvbqFDW6nt24LlVT0lLZ77RM6VyOSC9vfcL4OWYbxVju/alMRzAly+ixPrat++Dc5oY Rs62gVCeAU1nI9QnbeSeFpe5pOZm7Tcl5thTHiQfQplvHMktMME/HPs2qZE= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 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. > > >>> could you please provide more information about this issue > > >>> (affected hardware, kernel config, version, dmesg, reproducible > > >>> scenario)? > > > It tends to reproduce when upgrading a few packages with zypper and > > > otherwise at random during system operation. It seems that for my > > > card it worsens with age to some degree so perhaps it depends on the > > > fragmentation of the internal card flash. > > > > > > Attaching dmesg and kernel config. > > > > do you noticed this issue before 4.15-rc4? > > I initially noticed it with 4.4 kernel with some backports to make it > bootable on RPi. this confuses me. Gerd and i ported this driver from downstream and finally it's got merged in 4.12. So do you mean that you backported the mainline version to 4.4 or the downstream version of 4.4? On a quick look they seems identical, but they aren't. > > > > Could you please test with 4.15 final again? > > Right, I can apply the patches on something more recent. > > > > > What kind of SD card (name) triggers the issue? > > Samsung EVO MB-MP16D Thanks > > Also see https://elinux.org/RPi_SD_cards#Which_SD_card.3F I'm very sceptical about this list. The card above is listed as OK and NOK. The experienced issues doesn't need to be direct related to the card (unproperly umounted, bad driver, ...). Stefan > > Thanks > > Michal > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel