Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753963AbbKWR3i (ORCPT ); Mon, 23 Nov 2015 12:29:38 -0500 Received: from mail-vk0-f44.google.com ([209.85.213.44]:34385 "EHLO mail-vk0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753428AbbKWR3f (ORCPT ); Mon, 23 Nov 2015 12:29:35 -0500 Subject: Re: dw_mmc: HLE errors To: Doug Anderson References: <56531E3B.6060601@linaro.org> Cc: Jaehoon Chung , Ulf Hansson , Alim Akhtar , Sonny Rao , Andrew Bresticker , =?UTF-8?Q?Heiko_St=c3=bcbner?= , "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" From: Jorge Ramirez-Ortiz X-Enigmail-Draft-Status: N1110 Message-ID: <56534CFA.7070403@linaro.org> Date: Mon, 23 Nov 2015 12:29:30 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1966 Lines: 57 On 11/23/2015 11:57 AM, Doug Anderson wrote: > Jorge, > > On Mon, Nov 23, 2015 at 6:10 AM, Jorge Ramirez-Ortiz > wrote: >> Doug/Jaehoon, >> >> Were there any follow ups to this thread [1] from March 30, 2015? >> We are seeing HLE errors on 3.18 and we are trying to determine if a solution >> was ever delivered. >> On inspection, I can't find anything specific in recent kernels that address >> this particular issue (was the actual root cause identified?) >> >> I put together a possible work-around that avoids the HLE storm from occurring >> for this specific SoC [2]. >> However we'd rather not merge this -or any other similar fix- if there is a >> generic solution already that we can pick up from mainline. > Nothing landed that I'm aware of. Are you on SDIO, SD or eMMC? > Trying to do UHS? SD even without UHS (yet, that is coming now) > > I know that this patch mattered for me for UHS: > > 7c5209c315ea mmc: core: Increase delay for voltage to stabilize from > 3.3V to 1.8V > > > Also important for UHS (for at least some folks) were patches like: > > 9c85f37a2984 mmc: core: Add mmc_regulator_set_vqmmc() > > ...that attempted to get voltages more proper... ack > > > In the ChromeOS tree we did just land treating HLE errors as data and > cmd errors . It's not > wonderful but it's better than letting an interrupt go off forever... Yes I did try this patch on 3.18 but it didn't seem to be enough for us. Even though it would prevent the interrupt storm from flooding the kernel, once the event triggered and the interrupt was handled no more card insertions/ejections would be detected. ok, thanks for the info! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/