From: Greg KH <gregkh@suse.de>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: hjk@linutronix.de,
"linux-kernel@vger.kernel.org List"
<linux-kernel@vger.kernel.org>
Subject: Re: UIO support for >32-bit physical addresses on 32-bit platforms
Date: Tue, 23 Feb 2010 07:01:41 -0800 [thread overview]
Message-ID: <20100223150140.GA3781@suse.de> (raw)
In-Reply-To: <A596AEB5-BAF0-4BF9-A9C0-44C50B9BCA34@kernel.crashing.org>
On Tue, Feb 23, 2010 at 08:54:16AM -0600, Kumar Gala wrote:
> Hans, Greg,
>
> We are looking at using UIO for some driver work and noticed it
> assumes the address for MMIO regions is an 'unsigned long'. This is a
> problem for the platforms we have in which we support a 36-bit
> physical address in a 32-bit machine.
>
> Should we just change addr/size in struct uio_mem to u64 always? At
> first I was thinking phys_addr_t but realized the addr could be PHYS,
> LOGICAL, or VIRTUAL.
I think that would work out fine, Hans, any ideas if this would cause
any problems with existing code or not?
thanks,
greg k-h
next prev parent reply other threads:[~2010-02-23 15:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 14:54 UIO support for >32-bit physical addresses on 32-bit platforms Kumar Gala
2010-02-23 15:01 ` Greg KH [this message]
2010-02-23 19:49 ` Hans J. Koch
2010-02-23 22:52 ` Kumar Gala
2010-02-23 23:39 ` Hans J. Koch
2010-02-24 3:24 ` Kumar Gala
2010-02-24 13:47 ` Hans J. Koch
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=20100223150140.GA3781@suse.de \
--to=gregkh@suse.de \
--cc=galak@kernel.crashing.org \
--cc=hjk@linutronix.de \
--cc=linux-kernel@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 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.