From patchwork Sun Oct 14 06:12:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Finn Thain X-Patchwork-Id: 10640547 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 77C46933 for ; Sun, 14 Oct 2018 06:34:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67E762A345 for ; Sun, 14 Oct 2018 06:34:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AFFA2A52C; Sun, 14 Oct 2018 06:34:41 +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 BFBD72A345 for ; Sun, 14 Oct 2018 06:34:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbeJNOOP (ORCPT ); Sun, 14 Oct 2018 10:14:15 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:42564 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbeJNOOO (ORCPT ); Sun, 14 Oct 2018 10:14:14 -0400 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id E7B6B2A1C9; Sun, 14 Oct 2018 02:34:17 -0400 (EDT) To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: Michael Schmitz , Hannes Reinecke , linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Message-Id: From: Finn Thain Subject: [PATCH v2 0/6] mac_esp, zorro_esp, esp_scsi: Various improvements Date: Sun, 14 Oct 2018 17:12:00 +1100 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series has fixes and cleanup for mac_esp, zorro_esp and the core esp_scsi driver. These improvements include elimination of duplicated code temporarily introduced for zorro_esp. Finn Thain (6): zorro_esp: Limit DMA transfers to 65535 bytes esp_scsi: Track residual for PIO transfers esp_scsi: Grant disconnect privilege for untagged commands esp_scsi: Eliminate ESP_FLAG_DOING_SLOWCMD esp_scsi: De-duplicate PIO routines esp_scsi: Optimize PIO loops drivers/scsi/Kconfig | 6 + drivers/scsi/esp_scsi.c | 194 ++++++++++++++++++++++++------- drivers/scsi/esp_scsi.h | 10 +- drivers/scsi/mac_esp.c | 171 +--------------------------- drivers/scsi/zorro_esp.c | 240 ++++++--------------------------------- 5 files changed, 209 insertions(+), 412 deletions(-)