Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2581579imm; Sat, 13 Oct 2018 23:35:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV62g4ZzqmO+jQSnPQIKzKQ5rJ2f/396obikYbOC+fFV/7OEUTlg8RSaH7xmbYaj++Ni++o8P X-Received: by 2002:a17:902:6bc2:: with SMTP id m2-v6mr12462899plt.106.1539498928635; Sat, 13 Oct 2018 23:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539498928; cv=none; d=google.com; s=arc-20160816; b=fTe0IHcw1t7LuJ+T1f2+omXZMyNIjRtzGpLKOBJQdbyCxTR6wbCZzq3dA0Sjphjf7d 8puO81MoR/BNfHPLBbBxLfAsc8tQdfSxg1W/UKomEY50pu8QB9vRBcJZbr3WNgy6PfqY o2970JYcgFyxy7qM+q2WXA3g3qCytbhzersGbgaf7jclClIDySquXDbyRaLMaX6ah53l 0c3115o3Mmk+2gygEPTzNpXsB8QwDHKbGEk8ZX8l8zKHqe+R2zDOXaGJ/04RC3dqiXVT YnzFcy6KY0wO549xjUcWvahS+gmwsxmBednOV2wl2QZiV8ZFYLNf08IMH5IVEI2mKWpz 3dcg== 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=gmyJ7IpQd9vRsnoGOHreCX+QtuLG/T6gDpnnSMcMwF4=; b=gzT65Ku2MvzVARvQ3Y2YdZz9V3cixI6TTU1WPugTRucP+7gZfAOMyCp6DaEDJnpNIi EWKmMLO0UfUh/fWtIiAUb3PurZN1iWEqp9CkJCfTAmwMA/pSfNLg0o5H7qGJgQq2VSsw viWqHwyXEim0t6WSQgw74yF1lQssy3nNXXxuxYUxkQkXZn8RLjXbanhAaKyJAdQaZtYV uFyUdGdhJ80cXZa2yIZS8NEkhozC3DR5RM6pI0dOIKdogfJm4PN9b1WpxWmBjtHSpN7o VwOBFDcHqB2XMsgIB5to9D4UEh4fltJj/ABCSXD3lkbMfSrcW7BJ1qYY0pUInZbdCxOw 9yKQ== 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 l185-v6si6787313pgl.270.2018.10.13.23.34.57; Sat, 13 Oct 2018 23:35:28 -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 S1726794AbeJNOOP (ORCPT + 99 others); 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-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. 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(-) -- 2.18.1