From patchwork Fri Apr 5 12:40:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 10887323 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5FABA1390 for ; Fri, 5 Apr 2019 12:41:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48CCE28B78 for ; Fri, 5 Apr 2019 12:41:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A96828B72; Fri, 5 Apr 2019 12:41:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D755C28B74 for ; Fri, 5 Apr 2019 12:41:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726202AbfDEMlo (ORCPT ); Fri, 5 Apr 2019 08:41:44 -0400 Received: from mga06.intel.com ([134.134.136.31]:50738 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbfDEMln (ORCPT ); Fri, 5 Apr 2019 08:41:43 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2019 05:41:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,312,1549958400"; d="scan'208";a="131733500" Received: from ahunter-desktop.fi.intel.com ([10.237.72.198]) by orsmga008.jf.intel.com with ESMTP; 05 Apr 2019 05:41:40 -0700 From: Adrian Hunter To: Ulf Hansson Cc: Faiz Abbas , kishon@ti.com, zhang.chunyan@linaro.org, linux-mmc Subject: [PATCH 0/5] mmc: sdhci: Remove finish_tasklet Date: Fri, 5 Apr 2019 15:40:15 +0300 Message-Id: <20190405124020.27230-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.17.1 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Here are patches to remove finish_tasklet from sdhci. The first 3 patches are preparation. The next patch alleviates the performance loss, and the final patch removes the tasklet. Adrian Hunter (5): mmc: sdhci: Reorganize sdhci_finish_mrq() and __sdhci_finish_mrq() mmc: sdhci: Move timer and has_requests functions mmc: sdhci: Move some processing to __sdhci_finish_mrq() mmc: sdhci: Call mmc_request_done() from IRQ handler if possible mmc: sdhci: Remove finish_tasklet drivers/mmc/host/sdhci.c | 159 +++++++++++++++++++++++++++++------------------ drivers/mmc/host/sdhci.h | 3 +- 2 files changed, 101 insertions(+), 61 deletions(-) Regards Adrian Reviewed-by: Faiz Abbas