Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299815

Re: [PATCH v3 00/77] More fixes, cleanup and modernization for NCR5380 drivers

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Michael Schmitz <schmitzmic@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 00/77] More fixes, cleanup and modernization for NCR5380 drivers
Date Fri, 01 Jan 2016 02:30:02 +0100
Message-ID <qLWHw-3yo-1@gated-at.bofh.it> (permalink)
References <qIl1L-6kS-3@gated-at.bofh.it>
X-Original-To Finn Thain <fthain@telegraphics.com.au>, "James E.J. Bottomley" <JBottomley@odin.com>, linux-m68k@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=QBaKLAdxFkEHyck8j2zrForV55sGZn+eBNLxvAzY6ZQ=; b=f9Ar7bv+1jp/Z1D5+cBk0Up3y/FXJPM6s6+R0mMP3hsXfPgI9CdvfnMrVoKzHRgHOi SNQm3iHYND6+P5G9inKCMTkzX7Lg8xePWaWSFb2rwZoo4vlc/dNr0b3oijwQEgN77E3T aLF18MID9sV5VpeMePqBf7f+pLe9nqIB/35+nBKyqRE6edpUr3NktB6D7xvZHCC+G+/r oWESf+sbdAPLyqVCVyZSf0InLvMq22lzeRBBS13M/nzxUGQWXwVfFcydvCkAnE4IsSgg 9viUtjwUwgwZkULakbeunazU4rDySEhmJ+SN8H9597JBc3yCcgCQB1ueeuxkfR953jOY lfPg==
X-Received by 10.98.7.4 with SMTP id b4mr56769282pfd.152.1451611708093; Thu, 31 Dec 2015 17:28:28 -0800 (PST)
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-15
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 84
Organization linux.* mail to news gateway
X-Original-Date Fri, 1 Jan 2016 14:28:22 +1300
X-Original-Message-ID <5685D636.6010805@gmail.com>
X-Original-References <20151222011737.980475848@telegraphics.com.au>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1299815

Show key headers only | View raw


Hi Finn,

I've tested this series thoroughly on my Atari Falcon - no regressions,
runs stable and is quite responsive. No SCSI lock-ups that had plagued
the old driver (before your rewrites).

Please add my

Tested-by: Michael Schmitz <schmitzmic@gmail.com>

Cheers,

    Michael


Am 22.12.15 um 14:17 schrieb Finn Thain:
> Like my previous work on the NCR5380 drivers, this patch series has bug
> fixes, code cleanup and modernization. These drivers suffer from mistakes,
> poor style and neglect and this long series addresses the worst of it,
> covering all ten wrapper drivers and both of the core driver forks. The
> combined size of the drivers is reduced by over 700 LoC.
>
> This series continues to reduce divergence between the two core driver
> forks, often by copying a bug fix from one to the other. Most patches are
> larger for having to keep the two forks in sync. Making the same change to
> both is churn if one of them is to be removed but neither can be as yet.
> By the end of this series the diff between the two forks is minimal, so it
> becomes clear what caused the fork and what can be done about it.
>
> This patch series did benefit from scripts/checkpatch.pl but not too much.
> Decades ago, these drivers started out with 4-space tabs and if the 80
> column limit were to be strictly enforced now, it would require adding new
> functions and shortening identifiers. I would defer this sort of activity
> until after the fork has been resolved.
>
> All patches to all NCR5380 drivers (x86, ARM, m68k) have been compile-
> tested. The mac_scsi, dmx3191d, g_NCR5380 and atari_scsi modules were
> regression tested on suitable hardware.
>
> Changes since v1:
> - Patch 8 omits a pointless assignment.
> - Patch 10 gets a better error message.
> - Patch 20 drops the WQ_CPU_INTENSIVE flag.
> - Patch 21 adds timing calibration for the register polling loop.
> - Patch 49 is replaced by a new one that removes FLAG_DTC3181E.
> - Patch 72 by Ondrej Zary was added to fix pseudo DMA on 53C400.
>
> Changes since v2:
> - Patch 21 has better calibration with low HZ values.
> - Patch 57 no longer attempts to dereference a NULL pointer on Atari.
> - Patch 66 initializes max_sectors in the host templates.
> - Patches 73 thru 77 by Ondrej Zary were added with additional fixes for
>   53C400-compatible cards.
>
> ---
>  drivers/scsi/Kconfig         |   17 
>  drivers/scsi/NCR5380.c       | 2868 +++++++++++++++++++------------------------
>  drivers/scsi/NCR5380.h       |   87 -
>  drivers/scsi/arm/cumana_1.c  |   31 
>  drivers/scsi/arm/oak.c       |   27 
>  drivers/scsi/atari_NCR5380.c | 2292 +++++++++++++++-------------------
>  drivers/scsi/atari_scsi.c    |  102 -
>  drivers/scsi/dmx3191d.c      |   33 
>  drivers/scsi/dtc.c           |  115 -
>  drivers/scsi/dtc.h           |   45 
>  drivers/scsi/g_NCR5380.c     |  408 +++---
>  drivers/scsi/g_NCR5380.h     |   66 
>  drivers/scsi/mac_scsi.c      |  117 -
>  drivers/scsi/pas16.c         |  116 -
>  drivers/scsi/pas16.h         |   40 
>  drivers/scsi/sun3_scsi.c     |  141 --
>  drivers/scsi/t128.c          |  102 -
>  drivers/scsi/t128.h          |   39 
>  18 files changed, 2957 insertions(+), 3689 deletions(-)
>
>
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v3 00/77] More fixes, cleanup and modernization for NCR5380 drivers Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 08/77] ncr5380: Move NCR53C400-specific code Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 11/77] ncr5380: Simplify bus reset handlers Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 12/77] ncr5380: Remove unused hostdata->aborted flag Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 14/77] ncr5380: Use return instead of goto in NCR5380_select() Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 09/77] atari_NCR5380: Reset bus on driver initialization if required Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 15/77] ncr5380: Always escalate bad target time-out in NCR5380_select() Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 05/77] ncr5380: Remove NCR5380_local_declare and NCR5380_setup macros Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 10/77] atari_NCR5380: Remove RESET_BOOT, CONFIG_ATARI_SCSI_TOSHIBA_DELAY and CONFIG_ATARI_SCSI_RESET_BOOT Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  [PATCH v3 07/77] ncr5380: Split NCR5380_init() into two functions Finn Thain <fthain@telegraphics.com.au> - 2015-12-22 04:00 +0100
  Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp Joe Perches <joe@perches.com> - 2015-12-22 15:50 +0100
    Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp Finn Thain <fthain@telegraphics.com.au> - 2015-12-23 02:00 +0100
      Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp Joe Perches <joe@perches.com> - 2015-12-23 02:20 +0100
        Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp Finn Thain <fthain@telegraphics.com.au> - 2015-12-23 03:10 +0100
          Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp Joe Perches <joe@perches.com> - 2015-12-23 03:20 +0100
            Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp Finn Thain <fthain@telegraphics.com.au> - 2015-12-23 05:20 +0100
      Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-12-23 02:30 +0100
        Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp Finn Thain <fthain@telegraphics.com.au> - 2015-12-23 03:40 +0100
  Re: [PATCH v3 00/77] More fixes, cleanup and modernization for NCR5380 drivers Ondrej Zary <linux@rainbow-software.org> - 2015-12-22 21:20 +0100
  Re: [PATCH v3 00/77] More fixes, cleanup and modernization for  NCR5380 drivers Michael Schmitz <schmitzmic@gmail.com> - 2016-01-01 02:30 +0100

csiph-web