From patchwork Mon Mar 24 04:23:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuvaraj CD X-Patchwork-Id: 3881241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 386979F334 for ; Mon, 24 Mar 2014 04:24:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5296F2026C for ; Mon, 24 Mar 2014 04:24:51 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 55EE3201BF for ; Mon, 24 Mar 2014 04:24:50 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WRwRD-0003n0-FA; Mon, 24 Mar 2014 04:24:39 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WRwRB-0003bq-3D; Mon, 24 Mar 2014 04:24:37 +0000 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WRwR7-0003av-I1 for linux-arm-kernel@lists.infradead.org; Mon, 24 Mar 2014 04:24:34 +0000 Received: by mail-pa0-f52.google.com with SMTP id rd3so4895371pab.39 for ; Sun, 23 Mar 2014 21:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jPsJRMtlOxR4571m8xVNIH/Wxhfn8h7cWFcbvJ6ecc4=; b=NG4wO3ar33qFfFp1Nw/LSHTD8XTFeIe1tJyoFAUjH7Gm3WGGZNFAAPJ565MOWdaQfp yCQZdJzdXy70qqkzrZ69sbZpfL4OppMX4a0Lo1lRjABbQv/RgQ35j99rlkOF6NFdE1qI jr1PTEkptfprSA0xzUAgrN1/bVKvEcz0bQYIeF4ZETZIeQpS0R/isgvcejQwA4+U3hgN cZVM9v0y7uzAdci42wHhRvP4bnT8Um2SMHFVvhVgnavwzgLua8xXQiCTUsaWPCBEYJZ8 j8ehZKnJ2REPXfkffJYqIP6Bgb+y/7Bg5DUY9dAbXfl4NplTluUNcVjXz5hyQMGsdqQs euGQ== X-Received: by 10.66.49.74 with SMTP id s10mr69535052pan.0.1395635052135; Sun, 23 Mar 2014 21:24:12 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id xk3sm30400314pbb.65.2014.03.23.21.24.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Mar 2014 21:24:11 -0700 (PDT) From: Yuvaraj Kumar C D To: grundler@chromium.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jh80.chung@samsung.com, cjb@laptop.org, tgih.jun@samsung.com, linux-mmc@vger.kernel.org, sonnyrao@chromium.org, kgene.kim@samsung.com, joshi@samsung.com Subject: [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on Date: Mon, 24 Mar 2014 09:53:57 +0530 Message-Id: <1395635037-24081-1-git-send-email-yuvaraj.cd@samsung.com> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140324_002433_674065_143041B8 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Yuvaraj Kumar C D , t.figa@samsung.com, Doug Anderson X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The mmc part in exynos supports SDIO interrupts and they work fine, so turn the capability on. With this I see download speeds increase about 10x. This V1 of this patch is posted to LKML at https://patchwork.kernel.org/patch/2429661/) by Doug Anderson. Signed-off-by: Doug Anderson Signed-off-by: Yuvaraj Kumar C D --- drivers/mmc/host/dw_mmc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 0c56faa..240949d 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2417,6 +2417,9 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) if (of_get_property(np, "cd-inverted", NULL)) pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; + if (of_find_property(np, "cap-sdio-irq", NULL)) + pdata->caps |= MMC_CAP_SDIO_IRQ; + return pdata; }