From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724AbdJNHbY (ORCPT ); Sat, 14 Oct 2017 03:31:24 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:57167 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbdJNHbW (ORCPT ); Sat, 14 Oct 2017 03:31:22 -0400 X-Google-Smtp-Source: AOwi7QBqgn6v9ClSYC75YJXoNuD001TZHbDqrMhF4E42B3I1dtClrQqw4A6JYqFdl7m0WSHv8/9utA== Date: Sat, 14 Oct 2017 00:31:18 -0700 From: Bjorn Andersson To: Vijay Viswanath Cc: adrian.hunter@intel.com, ulf.hansson@linaro.org, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, asutoshd@codeaurora.org, stummala@codeaurora.org, riteshh@codeaurora.org, subhashj@codeaurora.org Subject: Re: [PATCH v2 4/4] mmc: sdhci-msm: Add sdhci msm register write APIs which wait for pwr irq Message-ID: <20171014073118.GD1575@tuxbook> References: <1506490483-46871-1-git-send-email-vviswana@codeaurora.org> <1506490483-46871-5-git-send-email-vviswana@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1506490483-46871-5-git-send-email-vviswana@codeaurora.org> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 26 Sep 22:34 PDT 2017, Vijay Viswanath wrote: > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c [..] > + if (!done) { > + if (!wait_event_timeout(msm_host->pwr_irq_wait, > + msm_host->pwr_irq_flag, > + msecs_to_jiffies(MSM_PWR_IRQ_TIMEOUT_MS))) > + __WARN_printf("%s: pwr_irq for req: (%d) timed out\n", > + mmc_hostname(host->mmc), req_type); Bumped my MSM8974AB device to latest linux-next and found this patch; I see this print every five seconds during boot and the eMMC never comes up. Regards, Bjorn