lkml.org 
[lkml]   [2011]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] uio: Support 36-bit physical addresses on 32-bit systems
Date
On Wed, Oct 12, 2011 at 11:15 AM, Geert Uytterhoeven
<geert@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


\
 
 \ /
  Last update: 2011-10-13 16:13    [W:0.052 / U:1.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site