All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Schmitz <schmitzmic@gmail.com>
To: Finn Thain <fthain@telegraphics.com.au>
Cc: Sam Creasey <sammy@sammy.net>,
	Christoph Hellwig <hch@infradead.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Linux/m68k <linux-m68k@vger.kernel.org>
Subject: Re: Sun3 SCSI DMA, was Re: converting the NCR5380 drivers away from scsi_register
Date: Fri, 15 Aug 2014 13:51:25 +1200	[thread overview]
Message-ID: <CAOmrzk+1JAKOrSjQGRdeyooKdP+LHxyTt8uSOKV_N7A5qLZfxQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1408151138260.28678@nippy.intranet>

Hi Finn,


On Fri, Aug 15, 2014 at 1:46 PM, Finn Thain <fthain@telegraphics.com.au> wrote:
>
> On Thu, 14 Aug 2014, Michael Schmitz wrote:
>
>> >
>> > > > When cmd->device->borken, I assume sun3_NCR5380 inhibits PIO
>> > > > because PIO was itself expected to be problematic?
>> > > >
>>
>> The sun3 driver does set the borken flag but never uses it later - can't
>> see where it will inhibit PIO.
>
> It inhibited PIO when it forked the atari code and commented out the test
> for cmd->device->borken, to ensure that PIO would never be used here.

I see. I just tool that to mean the Sun3 driver never had trouble with
devices failing at that section, so no need to switch from DMA to PIO
(because DMA never fails).

> Hence my suggestion that PIO itself was expected was problematic. OTOH,
> PIO is used up to 128 bytes, and beyond 128 bytes if !REQ_TYPE_FS...

Up to 128 for DMA limitations - the other bit I don't understand either.

Cheers,

  Michael

> --

  reply	other threads:[~2014-08-15  1:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-16 14:18 converting the NCR5380 drivers away from scsi_register Christoph Hellwig
2014-06-17  8:20 ` Finn Thain
2014-06-17  8:38   ` Geert Uytterhoeven
2014-07-30  8:32     ` Finn Thain
2014-07-31  5:31       ` Michael Schmitz
2014-08-01  3:13         ` Finn Thain
2014-08-01  8:15           ` Michael Schmitz
2014-08-02  1:27             ` Finn Thain
2014-08-02  8:51               ` Michael Schmitz
2014-08-03  3:43                 ` Finn Thain
2014-08-03  9:07                   ` Michael Schmitz
2014-08-04  3:28                     ` Finn Thain
2014-08-05  9:06                       ` Michael Schmitz
2014-08-06  1:25                         ` Sun3 SCSI DMA, was " Finn Thain
2014-08-06 14:42                           ` Sam Creasey
2014-08-08  8:46                             ` Michael Schmitz
2014-08-11 15:10                               ` Sam Creasey
2014-08-13  5:29                                 ` Finn Thain
2014-08-13  9:14                                   ` Michael Schmitz
2014-08-14  1:43                                     ` Finn Thain
2014-08-14  8:57                                       ` Michael Schmitz
2014-08-15  1:46                                         ` Finn Thain
2014-08-15  1:51                                           ` Michael Schmitz [this message]
2014-08-15  2:09                                         ` Finn Thain
2014-08-15  3:03                                           ` Michael Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOmrzk+1JAKOrSjQGRdeyooKdP+LHxyTt8uSOKV_N7A5qLZfxQ@mail.gmail.com \
    --to=schmitzmic@gmail.com \
    --cc=fthain@telegraphics.com.au \
    --cc=geert@linux-m68k.org \
    --cc=hch@infradead.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=sammy@sammy.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.