Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9678324ybl; Thu, 26 Dec 2019 03:31:30 -0800 (PST) X-Google-Smtp-Source: APXvYqyG1+k2OFy3fn75+uId13iqQ/aYiyOfUaiirwf5ejkLnjmcO/e2O67siAtcCbdAExga5Fkq X-Received: by 2002:a9d:6859:: with SMTP id c25mr30246606oto.205.1577359889957; Thu, 26 Dec 2019 03:31:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577359889; cv=none; d=google.com; s=arc-20160816; b=sgguNUu+F52ydJSHRTgaFQdhPLf/ciUwCry3eviuaFOYsp8u+kaRZvzAyi6UOV/oYb nCsbj+aQ38nrZkaaukYiDtbKt44fgeVS7Cvr/SlIZncmYMq0fDh6FLpif4TU64N8il18 Pmvqznu9z8UFNfLML8asf5MeABN4e4KBk2ls9JCKCReAlvIrp0OHdkUeRtB/0pFFHbFa qK+xRdCJtSh+rooIPbv1E4BABh4sSgEmZVEgNp7ACfO3RutVvA4ZHWNaiXRzKP0+63jC mY4FOlVpKsGsx3ZoiVOZ1acqoXZQM7NeQIaGR6gacuYCZGdFDXvDEo3K7lW3/mR6gp+F ykVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=xVqi8Ezys5+ClGRWeNPQQAyLRAEWdLu+8HS/B+Hm9+Q=; b=s/hskvDP2kXuPzMCu41lsTZCTbGzwogG5biF6tcr6XROs1ivYoPCEFPliy5HwqMBKW 2UmZxVjnXj5xKz9pz4vKY9W/tbvEXIo/E3P343/uN2T6o8efSbWZJ32sZ/RILL0yAet1 +z5aXgqycSmplP6sKQ01NhU8r56juV46mij4TggceppgTY5hqw37upncga7JUVY41Gzz zUON99gKFZIwOROStUCZE9jmsAKNnpie9FhB+BYYwQvd0TFRnkrI1HyuAwpsu+2ozd3W GEjqHhpA6UdVktXspj8CDSRjc6SoO6JDL1RYmhxikGVf6VN5Wpp4I5jRni/mGZgvQsOs ZenA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LflpGWB5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2si12558528oig.255.2019.12.26.03.31.17; Thu, 26 Dec 2019 03:31:29 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LflpGWB5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726425AbfLZLak (ORCPT + 99 others); Thu, 26 Dec 2019 06:30:40 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39457 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725954AbfLZLaj (ORCPT ); Thu, 26 Dec 2019 06:30:39 -0500 Received: by mail-pg1-f195.google.com with SMTP id b137so12735052pga.6; Thu, 26 Dec 2019 03:30:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xVqi8Ezys5+ClGRWeNPQQAyLRAEWdLu+8HS/B+Hm9+Q=; b=LflpGWB5vc4u6FB1Bd9G1fD/SLmfp5kINLHFXcCNYRFo92iQka3mrY2hY11WkZHfUx rBd2fpB/kcdqwSYlLsCY3AEJ+nHuycIAlveIkJYZ5g8SRxQ4BKcYZKjbYKuC6lY5+gEt 4Bt80MyDbMLKn7X9tm3TsbwGuTKwIYIcvq9z5gmS7klL0Y+vVVFXGc2qXykXJ56Vd4vG nB7ROeG6CunoT7u5apypiJbTNeZMrvla+ESpxr3YjLUVjN4Ra4YkTlMXFesu+tJ9zeCd 8ojW4n51RmCf4IlnPOMnSGP+n8nGEl2v2bprxpDgQR73T3yFRLLWM4pH2bQMHLGkXoBQ htFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xVqi8Ezys5+ClGRWeNPQQAyLRAEWdLu+8HS/B+Hm9+Q=; b=mwv9i/dZu71MECX0XX9w7Lw+0t8+SEb3Cxi63C0+7QuLI9Sqboxfoz5Kz//ZZ19QaS 8bLq+7689k1/PPRym7vk7TCq0iFNtyhWuJDzXdSg+x0qSTJzz2ViIbDnvr3QUPgLTB9e 4F7ENhRTeyusbPm8QpZ9y8hdiFQ+luNJrB/MdzmqLiO8Yc1fgrM2R0ZBnMs+ZMXthk9m yNQvI+xSwbpCSURMi2XRbv3meUiV6uawamcxsVgxQkwMm7KBdClInzduZA9ncfniC5vQ pIvpcSc+kJBdA+Qs+LN6n0/y/2VUoyo0B0bF8ZnusVpimxhhkkZd09v77i+tSKpM2Ggd ALHQ== X-Gm-Message-State: APjAAAWuvOpqFQdUiTpF9zocsp7102T70LlKaPNUnEWLDvtZTlCgbEBd uR7RIpjlGfuFwlr/a26UMZjVSor9wKg= X-Received: by 2002:a63:dd58:: with SMTP id g24mr9393482pgj.102.1577359839245; Thu, 26 Dec 2019 03:30:39 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id y6sm33743287pgc.10.2019.12.26.03.30.36 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Dec 2019 03:30:38 -0800 (PST) From: Baolin Wang To: adrian.hunter@intel.com, ulf.hansson@linaro.org Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, arnd@arndb.de, linus.walleij@linaro.org, baolin.wang@linaro.org, baolin.wang7@gmail.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Introduce the request_atomic() for the host Date: Thu, 26 Dec 2019 19:29:18 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set introduces a new request_atomic() interface for the MMC host controller, which is used to submit a request to host in the atomic context, such as in the irq hard handler, to reduce the request latency. This patch set is based on mmc/next_host_sq branch: https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git/log/?h=next_host_sq Any comments are welcome. Thanks. Baolin Wang (3): mmc: host: Introduce the request_atomic() for the host mmc: host: sdhci-sprd: Implement the request_atomic() API mmc: host: hsq: Support request_atomic() API drivers/mmc/host/mmc_hsq.c | 5 ++++- drivers/mmc/host/sdhci-sprd.c | 28 ++++++++++++++++++++++++++-- drivers/mmc/host/sdhci.c | 27 +++++++++++++++++++-------- drivers/mmc/host/sdhci.h | 1 + include/linux/mmc/host.h | 3 +++ 5 files changed, 53 insertions(+), 11 deletions(-) -- 1.7.9.5