[Top] [All Lists]

Re: [PATCH 0/3] Globally defining phys_addr_t

To: Jeremy Fitzhardinge <>
Subject: Re: [PATCH 0/3] Globally defining phys_addr_t
From: Geert Uytterhoeven <>
Date: Thu, 11 Sep 2008 12:03:36 +0200 (CEST)
Cc: Ingo Molnar <>, Alex Nixon <>, Andrew Morton <>, Linux Kernel Mailing List <>, Linux/MIPS Development <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
On Thu, 11 Sep 2008, Jeremy Fitzhardinge wrote:
> This is a repost of a little 3-patch series which Andrew has been
> carrying in -mm.  It cleans up the definition of phys_addr_t to make it
> kernel-wide rather than x86-specific, and fixes up PFN_PHYS() to use it
> to avoid address truncation.
> We currently have a few workarounds for this problem in the tree, but
> Alex found another bug caused by PFN_PHYS(), so it's probably better if
> you bring these patches into tip.git for now.
> PowerPC also defines a phys_addr_t with the same meaning as x86; the
> powerpc arch maintainers are happy with these patches.

If I'm not mistaking, this is also true for some MIPS machines.



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>