public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Problem using more than 2 GB with my driver
Date: Tue, 30 Sep 2003 17:49:38 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106494437309740@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106494885715850@msgid-missing>

On Tue, Sep 30, 2003 at 04:13:30PM +0200, Patrice Martinez wrote:
> I wrote a driver using the physical addresses of a buffer computed by
> the "ia64_tpa" function (but no using DMA) that works only on machines
> with 2Gb of RAM at most. With more RAM, the machine crashes very badly
> after a while, and even KDB is not usable...
> If anybody has an a idea ;-)

Which machine is this on?
rx2600/rx5670 has a memory hole from 2-4GB because of IO "stuff".
ie memory > 2G ends up getting placed above 4GB physical.

Sounds like your code is using one or more of:
1) unsigned int
2) signed int -> signed long (automatic conversion for math).
3) linear addressing (not aware of memory holes)

And I'm curious as well what your driver does with physical addresses...
It's obviously not DMA since that wouldn't work on most of the ia64 machines
out there today.

grant

  parent reply	other threads:[~2003-09-30 17:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 14:13 Problem using more than 2 GB with my driver Patrice Martinez
2003-09-30 15:45 ` Luck, Tony
2003-09-30 17:49 ` Grant Grundler [this message]
2003-09-30 18:06 ` Alex Williamson
2003-10-01 11:05 ` Patrice Martinez

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=marc-linux-ia64-106494437309740@msgid-missing \
    --to=iod00d@hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox