Re: [PATCH] uio: Support 36-bit physical addresses on 32-bit systems

From: Tabi Timur-B04825
Date: Thu Oct 13 2011 - 10:11:47 EST


On Wed, Oct 12, 2011 at 11:15 AM, Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/