Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1339984imm; Tue, 2 Oct 2018 06:47:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV61OHQs5amKKQEwtqgk8F+t5r4dcBQdegy7IFIpagVdYXynKdpyS4Gbl0kyXtHdnPoSn0T07 X-Received: by 2002:a65:5b07:: with SMTP id y7-v6mr14768239pgq.125.1538488036467; Tue, 02 Oct 2018 06:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538488036; cv=none; d=google.com; s=arc-20160816; b=axJdhmRp9g8EIU7gSfQYT20gVHKh6Q8Wj4UkeT+xzuGv+yF6aOScScy+wx/d7q7AWe 3zt8XmlWFX6nIxpTtX5ZTa0xIqvXBqUEon/mfMEb+096i2CLNuIkGt+NsqM+IE2MmKEz x5qZmRByMQ171RZ5L0uKy9tEt3KFkMxbTN45NVfnblfAhcVVv05tT2aaPEvRmhwmQurk owd9R0kFeTrp0txCATFJ8MXvNk1Hr/58KZiQYeOW4Be/ZRSX5vOLYlyyuHUYLm+TCqre RqDxqAjwC9tsr4t1jsCTwww8n/ZGiFcvJ5y9GaMzsh5tn7mdQdNl/o+7+bhzMGS3BtRp ubjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=xlkacVgT5ARLUmXXH3YEk10S5ZWRWZWtW+nEhumleBE=; b=j/IOla/HEx+5uj8oOpUMaaD/rGGzFR+pUKsFvmcO83btLrNyTycAyGY97Mjr0EooyN 5rVvWILK8k09/ZcyjfNR1rthjlHfqkhgPCW43LO/kceClCyoee1I/Hu1qlpiS+LRF5fW SCmUxuFv+y31Si6cD79CGHSoCbohGsmHz3/+Krzr1M4uLrn6MWlagKZteJxMqQHOUuCv 4aRsmoKxtX5jKA/kW8SjOlG46TZjmgjIy0xVWOuAfqCv/P2CA5FZSNE3asdZoO72rJZv YFL6ftDEiGsur3//vwUMobZQvk3aqbdJ4QbxBv7wZA1Brq9TRx+fE2B5P0A+mlIvfMJF khjg== 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 v23-v6si7455654pgh.581.2018.10.02.06.47.01; Tue, 02 Oct 2018 06:47:16 -0700 (PDT) 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 S1732579AbeJBUSg (ORCPT + 99 others); Tue, 2 Oct 2018 16:18:36 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35560 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730199AbeJBUSe (ORCPT ); Tue, 2 Oct 2018 16:18:34 -0400 Received: from localhost (24-104-73-23-ip-static.hfc.comcastbusiness.net [24.104.73.23]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B4B2C5AA; Tue, 2 Oct 2018 13:35:10 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marcel Partap , Merlijn Wajer , Michael Scott , NeKit , Pavel Machek , Sebastian Reichel , Tony Lindgren , Sasha Levin Subject: [PATCH 4.14 133/137] ARM: dts: omap4-droid4: Fix emmc errors seen on some devices Date: Tue, 2 Oct 2018 06:25:34 -0700 Message-Id: <20181002132507.807977068@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181002132458.446916963@linuxfoundation.org> References: <20181002132458.446916963@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tony Lindgren [ Upstream commit 2d59bb602314a4b2593fde267734266b5e872dd0 ] Otherwise we can get the following errors occasionally on some devices: mmc1: tried to HW reset card, got error -110 mmcblk1: error -110 requesting status mmcblk1: recovery failed! print_req_error: I/O error, dev mmcblk1, sector 14329 ... I have one device that hits this error almost on every boot, and another one that hits it only rarely with the other ones I've used behave without problems. I'm not sure if the issue is related to a particular eMMC card model, but in case it is, both of the machines with issues have: # cat /sys/class/mmc_host/mmc1/mmc1:0001/manfid \ /sys/class/mmc_host/mmc1/mmc1:0001/oemid \ /sys/class/mmc_host/mmc1/mmc1:0001/name 0x000045 0x0100 SEM16G and the working ones have: 0x000011 0x0100 016G92 Note that "ti,non-removable" is different as omap_hsmmc_reg_get() does not call omap_hsmmc_disable_boot_regulators() if no_regulator_off_init is set. And currently we set no_regulator_off_init only for "ti,non-removable" and not for "non-removable". It seems that we should have "non-removable" with some other mmc generic property behave in the same way instead of having to use a non-generic property. But let's fix the issue first. Fixes: 7e2f8c0ae670 ("ARM: dts: Add minimal support for motorola droid 4 xt894") Cc: Marcel Partap Cc: Merlijn Wajer Cc: Michael Scott Cc: NeKit Cc: Pavel Machek Cc: Sebastian Reichel Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/omap4-droid4-xt894.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts @@ -314,7 +314,7 @@ &mmc2 { vmmc-supply = <&vsdio>; bus-width = <8>; - non-removable; + ti,non-removable; }; &mmc3 {