[PATCH] uio: Support 36-bit physical addresses on 32-bit systems
Tabi Timur-B04825
B04825 at freescale.com
Fri Oct 14 01:10:59 EST 2011
On Wed, Oct 12, 2011 at 11:15 AM, Geert Uytterhoeven
<geert at linux-m68k.org> wrote:
>
>> Do we believe phys_addr_t is always greater than or equal to size need for logical & virtual addresses?
>
> Yes:
>
> #ifdef CONFIG_PHYS_ADDR_T_64BIT
> typedef u64 phys_addr_t;
> #else
> typedef u32 phys_addr_t;
> #endif
This isn't really an answer to the question. This just says that
phys_addr_t can be 64-bit. I don't see anywhere in the kernel that we
*enforce* or *require* that sizeof(phys_addr_t) >= sizeof(void *).
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list