All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Bradetich <rbradetich@uswest.net>
To: Erik Paulson <epaulson@upl.cs.wisc.edu>,
	grundler@cup.hp.com, parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] C100 and ccio-dma
Date: Sun, 24 Sep 2000 20:40:48 -0600	[thread overview]
Message-ID: <39CEBB30.74EA4C81@uswest.net> (raw)
In-Reply-To: 39CC4001.50E72330@uswest.net

Erik & Grant,

I isolated the problem, and have checked in an updated ccio-dma driver
that should take care of this problem for you Erik.  The problem was with
the way the ccio-dma handled the scatter/gather lists.

The sym53c8xx driver asked the ccio-dma driver to map 2 maps of
64 - 1024k dma entries.  The ccio-dma driver would map an entire
block (8 pages) for each of the 128 1024k dma entries.  I have checked
in a new ccio-dma driver that handles the scatter/gather lists much
more intelligently.  With these changes I map the entire 128 - 1024k
dma entries into 3 blocks (32 pages).

Erik:  When you get a chance, would you try out the new ccio-dma
driver and see if that fixed your problem.  (I'm betting it will).

Grant: Would you mind reviewing the changes I made to make sure
I didn't do anything stupid :)  I also made several bug fixes that
should/could be ported to the sba driver as well.

There are still some problems with this driver I'm working on tracking
down...  If the pdir is really small (32 MB main memory) ... I get a
HPMC.  But it seems to work when memory is larger (ie 128 MB main
memory).

Thanks and good luck!

- Ryan


Ryan Bradetich wrote:

> Erik & Grant,
>
> I think I have finally tracked this problem down... I don't think it is a bug
> in either the ccio-dma or the sym53c8xx driver.... I believe it is a sizing
> issue with the IO PDIR in the ccio-dma.  I spent some time last week
> increasing the density of the IO PDIR by 4x ... it looks like I still have some
> work to do :)
>
> I increased the the IO PDIR ratio to main memory by 4x and I can
> successfully format a 4G partition in my C200+.  (When I bumped
> the IO PDIR ratio by 2x, is still had problems...)
>
> Erik ... I've attached a small patch for you to try and see if it works for
> you.
>
> Thanks,
>
> - Ryan

      reply	other threads:[~2000-09-25  8:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-22  1:12 [parisc-linux] C100 and ccio-dma Erik Paulson
2000-09-22  2:44 ` Ryan Bradetich
2000-09-22 21:31   ` Grant Grundler
2000-09-22 22:49     ` Grant Grundler
2000-09-23  5:30 ` Ryan Bradetich
2000-09-25  2:40   ` Ryan Bradetich [this message]

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=39CEBB30.74EA4C81@uswest.net \
    --to=rbradetich@uswest.net \
    --cc=epaulson@upl.cs.wisc.edu \
    --cc=grundler@cup.hp.com \
    --cc=parisc-linux@thepuffingroup.com \
    /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.