public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* UIO support for >32-bit physical addresses on 32-bit platforms
@ 2010-02-23 14:54 Kumar Gala
  2010-02-23 15:01 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2010-02-23 14:54 UTC (permalink / raw)
  To: hjk, Greg Kroah-Hartman; +Cc: linux-kernel@vger.kernel.org List

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.

- k


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-24 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox