Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4241399ybf; Tue, 3 Mar 2020 23:42:49 -0800 (PST) X-Google-Smtp-Source: ADFU+vtS2LEm7YvffhmWCfJ6uau6a66KbGpeFmdxHjW3CJl5tyODsBonYLvzJBvtWShZGuQiIn2R X-Received: by 2002:a9d:6:: with SMTP id 6mr1358883ota.191.1583307769108; Tue, 03 Mar 2020 23:42:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583307769; cv=none; d=google.com; s=arc-20160816; b=Gv2Es02xNf2ju96oWXLI2bgS/fjl2jV7vTyV/g7EjYjql9f911GVWh7AmV+cERmEFE ThZazhv998Eq1bcCNtek/ZC0OtFS1tykSJ3OQF+BwW2RxWmT1evhZJC3FRkcYEHmcBt5 fHeTu80prEGWdDsjg+mg880/XACRJyYzGBLFujBxRkra2Ee8P58/1FhuSH2HdGbzdbO7 CecG+T3iedPKm8l6+vkeb7PDwBmCCcCybdmBG3Ha7rdacTVma6vWmB/Rcd5nqniaqIPS lpTPF0quDACyVeszvGGkwVu1aT7dCSkZ0SizxDD37zeyMRpGBiCnCObnaR4gT6bMMc+W U4aA== 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=CCrrlatLGe2pch85eka5KdA5M3nlY74sUhCA0YXJUZE=; b=LbrYg7I/9t485b1/E8NnWYL9S0NkqX3EKaofplhmPPWqoB+GYlGuZRjPGXpFoxd17s lrK/g/5BlCBaynuRlT1Zl2T6I5GfrDjzmzATleWP83TLcuhD8Gi5dLIPNCcsdVKZ7NwP FywE5EPWftnHJyuA6/8Y+tfko4hkEomE+Ph7habzstu0mI780PYDCHIQGMJUYqce50Re TuHI1hH0ku693T+HPkxGu9MSES6u4BR42tZzienItUCWkvwfonO2kQh7lh/T8UvuPWOY mB5L+ths7q3Lb0T2adEREHvlD0G/vyOz3/zRd28JfPw4BM5O/WKQbbE/DKBrXpHZW/if NeFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GJEz6AJb; 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 t6si696098otp.133.2020.03.03.23.42.36; Tue, 03 Mar 2020 23:42:49 -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=GJEz6AJb; 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 S1728629AbgCDHmX (ORCPT + 99 others); Wed, 4 Mar 2020 02:42:23 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38043 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728486AbgCDHmW (ORCPT ); Wed, 4 Mar 2020 02:42:22 -0500 Received: by mail-pg1-f196.google.com with SMTP id x7so585825pgh.5; Tue, 03 Mar 2020 23:42:20 -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=CCrrlatLGe2pch85eka5KdA5M3nlY74sUhCA0YXJUZE=; b=GJEz6AJb/KHRv9csq+7DgHrOWlhG5OHcKer3cBUjJEe/j5EBdcEFxbfthHuzJQtyg0 qBnsLuR8W/oV84NVivKrsGNTW1dP/CcjGyfCb2a2pTUIdK8nkGVmD3176rf01oQVW+wB U9rJTMwK0sFfdtXe9nYOOozN5o9S+i/47xfYRWm1XXdvNYi/tB1yPRUNBr9vgLJDSxi0 JTqTz7rfmIvhlvYE4hfsaEbDoSkd4zVvbeYrszWGOb2SLr3PB1CYJCJwLrwfSmrMqiGu CucAWKSOc40584s5BEW6c2XrbaY4E/Z9eFVbrheqTvo+l+n1EghGyFMA89MHooD63sM1 0wWQ== 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=CCrrlatLGe2pch85eka5KdA5M3nlY74sUhCA0YXJUZE=; b=YU1ZS61Hx99uMJcxYSeOe7C8tBGlIAb2QrcFbS76Jn7TwDAeDDIsYm7FE5VMmGKDhe ziufDb71dTucpAocOZ8L9gps4ex1eTTcH4nLZ5ZTDuFvb5NRoMwdIshzIxYzwGzLTFM7 WR5jd6atLYt3zJcXrzVbz+mWaZnSM8NmJVtE2Tojw1J/IMsJ1wgzIzrMmM3D40eixEBd /ncNgvX4WdkdOtLmEUvWsnIfWBW7vkgPyhVCUVBRlXO+puA7RfY7V6FbaxogzFA6IHtY IVcmWEIrqcfV4Ga6KureNSM21W6hL+NmdOoce0UxIxeZ8wGRXb9oviF7pSFqJuX54Ur8 Ib0A== X-Gm-Message-State: ANhLgQ0zSPpCqeCIWZHj4/S3oL9Vr1wqybIyKz1vh7ShHZSCjGK9N/jR oJj3fC3dq7LGiRVFbIzge6s= X-Received: by 2002:a62:e217:: with SMTP id a23mr1908057pfi.50.1583307740276; Tue, 03 Mar 2020 23:42:20 -0800 (PST) Received: from sh03840pcu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id k24sm24097374pgm.61.2020.03.03.23.42.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Mar 2020 23:42:19 -0800 (PST) From: Baolin Wang To: adrian.hunter@intel.com, ulf.hansson@linaro.org Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, baolin.wang7@gmail.com, arnd@arndb.de, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH 0/3] Introduce the request_atomic() for the host Date: Wed, 4 Mar 2020 15:41:59 +0800 Message-Id: X-Mailer: git-send-email 1.9.1 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. 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.9.1