From patchwork Wed Feb 1 12:47:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 93010 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp2301061obz; Wed, 1 Feb 2017 04:48:34 -0800 (PST) X-Received: by 10.84.254.74 with SMTP id a10mr4186143pln.57.1485953314715; Wed, 01 Feb 2017 04:48:34 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si19095150pli.181.2017.02.01.04.48.34; Wed, 01 Feb 2017 04:48:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750939AbdBAMsd (ORCPT + 5 others); Wed, 1 Feb 2017 07:48:33 -0500 Received: from mail-lf0-f45.google.com ([209.85.215.45]:35713 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbdBAMsc (ORCPT ); Wed, 1 Feb 2017 07:48:32 -0500 Received: by mail-lf0-f45.google.com with SMTP id n124so227400162lfd.2 for ; Wed, 01 Feb 2017 04:48:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Ayr4j/PBy+2m3bSLtuGCD5HsVv7MUeXxyHxTnBXuIZs=; b=KEpUH+5iGH4wwhEyLeLvl/8S5pnAi2j+3pk/dLSZS1Cun+Job2PGbJQ3d//lwhNMfB mIftOgIfeJzEDuBd8W4TxD0jvmCp9m99fADe3MXdHNsGtvHkEX3PLve5LS7XcM9KPx4D O5xeTW1cQ3ISR2kHGpjZYzwOk0cvDi8CUDv5o= 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=Ayr4j/PBy+2m3bSLtuGCD5HsVv7MUeXxyHxTnBXuIZs=; b=nwP09+q/nk7Wu3v4gqGroTOPRxsPPMS9mUYrUNckGOxc5PgpnZEyqFcGl4lhijBJWf Fvr7QBoHWvwwORN0nSFFUfOd446+CXBUqs03enxb8xu+mWe/bdyUZFXQFE4/DhCJmvfA dqApQM5QqF1U93xBHWJiw92YyfXjRbrUd5PE3Igy7m+YStahaB5/+cKlmU1WB+EftgTP AQhKRuvzieLRQyjvK9VwYiPl92fsZVgUvbX8qX2jopnH0lJhQ4SbjUvowJU/jJ33Tz9I /JJOWxkk1CHPpEowiMTF9UNmFnz/vVN6L29CESqKtvV3oHz2UAKr8GEUB/Kv6MEAfYjr /6/g== X-Gm-Message-State: AIkVDXIWP+TyFNw1XHkFgh6TZZnhfKcDUWg0h6PvPCWumvPpb1iE6AfW6QFPJlFws/R725ha X-Received: by 10.25.89.148 with SMTP id n142mr875779lfb.64.1485953310868; Wed, 01 Feb 2017 04:48:30 -0800 (PST) Received: from gnarp.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id t126sm5707754lff.31.2017.02.01.04.48.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Feb 2017 04:48:05 -0800 (PST) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Chunyan Zhang , Baolin Wang , Linus Walleij Subject: [PATCH 00/10] Further MMC core/block cleanups Date: Wed, 1 Feb 2017 13:47:50 +0100 Message-Id: <20170201124800.13865-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This is a continuation of the series merged to start cleaning up the very big mmc_blk_issue_rw_rq() and friends. Again the goal is to get the code in a shape such that I can get rid of flusing the pipeline with NULLs and report the requests as finished directly to the block layer, without having to wait for an iteration of mmc_blk_issue_req() to happen before they get postprocessed and finished. Feel free to apply this partially, or defer it all to after v4.11-rc1 *NO*RUSH*. It is just my idead of a cleanup road toward blk MQ compliance. I think most patches stand on their own but can be perceived as over-pedantic without that context. Linus Walleij (10): mmc: block: inline the command abort and start new goto:s mmc: block: rename rqc and req mmc: core: rename mmc_start_req() to *areq() mmc: block: refactor mmc_blk_rw_try_restart() mmc: block: rename mmc_active to areq mmc: queue: turn queue flags into bools mmc: block: return errorcode from mmc_sd_num_wr_blocks() mmc: block: respect bool returned from blk_end_request() mmc: block: return 0 where evident mmc: core: start to break apart mmc_start_areq() drivers/mmc/core/block.c | 179 ++++++++++++++++++++++++-------------------- drivers/mmc/core/core.c | 79 ++++++++++++------- drivers/mmc/core/mmc_test.c | 8 +- drivers/mmc/core/queue.c | 12 +-- drivers/mmc/core/queue.h | 7 +- include/linux/mmc/core.h | 2 +- 6 files changed, 163 insertions(+), 124 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html