From patchwork Thu Oct 11 19:20:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 10637217 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 8E41E112B for ; Thu, 11 Oct 2018 19:21:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B6EE2BFFF for ; Thu, 11 Oct 2018 19:21:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7995B2C01E; Thu, 11 Oct 2018 19:21:00 +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,DKIM_SIGNED, DKIM_VALID,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 093E82BFFF for ; Thu, 11 Oct 2018 19:20:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729582AbeJLCtd (ORCPT ); Thu, 11 Oct 2018 22:49:33 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43971 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbeJLCtd (ORCPT ); Thu, 11 Oct 2018 22:49:33 -0400 Received: by mail-pf1-f193.google.com with SMTP id p24-v6so4887163pff.10 for ; Thu, 11 Oct 2018 12:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WfuC6gLTrAvhwCvhU0lWXD9a2QZ90BAAfOSJFKbZ/aM=; b=GgEy1BPG6jkRo9pvj/KNvp5X3c+Ok61JSFFQlc7AtaDY1yaZVcnKrnTT9zCAEyOMY1 bI2J6j15l1x9DM24ZVWpYlGmY7UdciA2SHA9kgQ3Kb/r4CMiBNl9vrHaCQBY7c4OlkF6 76r5z6Z7eDGG+1NKMstGrpRo4bFvTw8t6pu7o29IgetUkn86OCIfkTSqVD83ARHyr3oe 6wNy1QGeUoXSpb/cDLCwLLvIW21Q8SGBaJKjzxE4ezbRftmFJN4/9+AmJ/5Z29tfTBBM k6xISuGk6D7oLLR41qHRbIbGEh+eUMsthrjdqTgS8ERNVXOd8U87Yia8R2FX1BLRhINS gXcA== 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:mime-version :content-transfer-encoding; bh=WfuC6gLTrAvhwCvhU0lWXD9a2QZ90BAAfOSJFKbZ/aM=; b=lAOlCEQXCw8gsicnEnyB7AVlaADcUY74RYiOPK3r/ugLcwfINTlU6N4IKw3yFDdE4N uso5sbXq0NZnGNBA8mvRbNSTDH/0AjkLcASKlf664U5QS+7g8KiqRnqYRP3Fv9ervzOu +iGaBBfI4OBjgFEUTwyCyDXZndCKNzIdvaRK/IHqAV9ie2EdqQrVqHDKhJmNvqtx3aqP 3vNVEdxKhPkyvM5/YKkUf3S6lc06oBK9Xc2NqP+Bl99BvOJCMFg/+pSS1Ldj7d/iNDfL JcroXUaV6GYds8Dd9adP5Tvrbw2pdsJuZa79jU75704VHh7CtkTHJIzSmgFUgPpk9v+n rzbQ== X-Gm-Message-State: ABuFfojHMXDaArv8AcKuCUaNT8Uv/H2YDygX0a7SZDYV3Rn7QK0unkWr wue9QqhIpWjoY/GJ3gYtvjEFJuzQr6c= X-Google-Smtp-Source: ACcGV6009lyQf6Mm0KQx7axgbcE87wBAzllyNjwx5xrsLfNJNrsqF7K3Cfa2FfxTrrRHaJS+pAE8bA== X-Received: by 2002:a62:db46:: with SMTP id f67-v6mr2784143pfg.1.1539285657278; Thu, 11 Oct 2018 12:20:57 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:200::5:2383]) by smtp.gmail.com with ESMTPSA id y24-v6sm44378838pfi.24.2018.10.11.12.20.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 12:20:56 -0700 (PDT) From: Omar Sandoval To: linux-block@vger.kernel.org Cc: Jens Axboe , kernel-team@fb.com, Benjamin Herrenschmidt , Finn Thain , Laurent Vivier Subject: [PATCH v2 00/11] Convert floppy drivers to blk-mq Date: Thu, 11 Oct 2018 12:20:40 -0700 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Omar Sandoval Hi, This series converts the various floppy drivers to blk-mq. Save for the last one (floppy), they're compile-tested only. If I've Cc'd you, it's because I think you might be able to test the changes. Please test if you can, or let me know if there's a way to use QEMU/some other emulator to test. The full series is available at [1]. Thanks! Changes from v1: - Drop "swim3: end whole request on error" and "floppy: end whole request on error". - Handle errors on individual bios correctly in the other drivers. Cc: Benjamin Herrenschmidt Cc: Finn Thain Cc: Laurent Vivier 1: https://github.com/osandov/linux/tree/mq-conversions. Omar Sandoval (11): swim: fix cleanup on setup error swim: convert to blk-mq swim3: add real error handling in setup swim3: convert to blk-mq amiflop: fold headers into C file amiflop: clean up on errors during setup amiflop: convert to blk-mq ataflop: fold headers into C file ataflop: fix error handling during setup ataflop: convert to blk-mq floppy: convert to blk-mq arch/m68k/include/asm/atafd.h | 13 -- arch/m68k/include/asm/atafdreg.h | 80 -------- drivers/block/amiflop.c | 328 +++++++++++++++++++------------ drivers/block/ataflop.c | 283 +++++++++++++++----------- drivers/block/floppy.c | 74 ++++--- drivers/block/swim.c | 114 ++++++----- drivers/block/swim3.c | 219 ++++++++++----------- include/linux/amifd.h | 63 ------ include/linux/amifdreg.h | 82 -------- 9 files changed, 590 insertions(+), 666 deletions(-) delete mode 100644 arch/m68k/include/asm/atafd.h delete mode 100644 arch/m68k/include/asm/atafdreg.h delete mode 100644 include/linux/amifd.h delete mode 100644 include/linux/amifdreg.h