[Top] [All Lists]

Re: [PATCH] cleanup hardcoding __pa/__va macros etc. (take-2)

Subject: Re: [PATCH] cleanup hardcoding __pa/__va macros etc. (take-2)
From: Atsushi Nemoto <>
Date: Tue, 26 Sep 2006 18:02:40 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
On Tue, 26 Sep 2006 11:22:26 +0900, girish <> wrote:
> The idea is to differentiate the Kseg0/Kseg1 segments in the physical area.
> Beyond these areas lies the mapped area (or the HIGHMEM). What complicates
> this matter further is their overlapping nature. The __pa()/__va() treated
> all addresses mapped into PAGE_OFFSET (8000_0000) area. The effort is to
> correctly differentiate these areas.

Yes, __va() and __pa() are used to convert an physical address from/to
an kernel logical address (i.e. low unmapped virtual address).

I think passing another sort of addresses to them is simply wrong.

Please do not reply to
Atsushi Nemoto

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