Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1404876imm; Fri, 12 Oct 2018 18:15:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV62VKmEWFJJTkBGvkUsmdqo60z360ErtL3LP9osAi7aGhvdtagmNH5O/GoW0ky441mr7E/fM X-Received: by 2002:a65:6458:: with SMTP id s24-v6mr7594056pgv.29.1539393302042; Fri, 12 Oct 2018 18:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539393302; cv=none; d=google.com; s=arc-20160816; b=fV35cfjVgCmKRBIFC9g3cjPHZcDjBV+dZWxvV6X1kMTpRPMGgfvDnItRIMLDU3z3Oe cwRB2u1PZsmpQUok1BP/QIohvqtdjqJkCqRABiF5dg3ZxYHVopNK05d6oXCqCgwTwy2+ r2aJY8KhkbxDVa1C8BtFCh1DSaI8z8oUjD+LST8o+jNlYip2nBi+CByRsws5/WtUpP60 K77QWvn/lAMuqiREZVTRkYac6+r4VTeeW/6COzDs+atNdsAxWagGsgK3ZDFwGjLjECB/ kyD0RiptLjfLSHkrLWdhLqCT1d+d6duWFIlgiVU/JQa4BcDLJCxMa12SViDT/ed/bhRh NB7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:from:message-id:cc:to; bh=77sUKXMyXLnT67LNzRGzekMyfgFoDPIH2i6Ox4wDFfU=; b=L8SB0Ht016FwxCltnp80fd5TFO9UysQx6WFuHwk5T9eBEKGl/vsyYf6WxDFviDvpS4 QjDSHLypVHd5zo2OAUC/GBzMlmE5WKCETg6xJoEBTHcI9ZPsyBaa2bhhLvAi06Fnnrfq 7tyis/Tt0Ep1ry6Lhx5Q6g2diXqm1jfEmcFs7r8yjxDGKesDH7Gz16nis0zGDilcv3Gi HlqMAafB9b76wb6mBJB1LLQLLbS0r/SAeIcByT4CbdhVjN193wkKSCNPxPzRyreOwOUK xtInHj4P8VaXttjVbwpivpku+9hkAbld2io9XguXzhffBeZlGq0ISwLqM+NBDCorBCkt 7HJQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y28-v6si2925736pfk.230.2018.10.12.18.14.47; Fri, 12 Oct 2018 18:15:02 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726954AbeJMIqx (ORCPT + 99 others); Sat, 13 Oct 2018 04:46:53 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:47168 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726420AbeJMIqw (ORCPT ); Sat, 13 Oct 2018 04:46:52 -0400 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id 938F029FC4; Fri, 12 Oct 2018 21:11:48 -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 0/6] mac_esp, zorro_esp, esp_scsi: Various improvements Date: Sat, 13 Oct 2018 11:51:16 +1100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series has fixes and cleanup for mac_esp, zorro_esp and the core esp_scsi driver. The improvements include elimination of duplicated code temporarily introduced for zorro_esp. Michael, would you please regression test this series on elgar, if convenient? So far, only mac_esp has been tested with this code. 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/esp_scsi.c | 192 +++++++++++++++++++++++++++++-------- drivers/scsi/esp_scsi.h | 10 +- drivers/scsi/mac_esp.c | 171 ++------------------------------- drivers/scsi/zorro_esp.c | 240 +++++++---------------------------------------- 4 files changed, 201 insertions(+), 412 deletions(-) -- 2.16.4