Re: Use of __pa() with CONFIG_NONLINEAR

Martin J. Bligh
2004-07-28T20:16:57Z

> On Wed, 2004-07-28 at 12:47, Martin J. Bligh wrote:
>> Can someone explain the necessity to create the new address space? We don't
>> need it with the current holes between nodes, and from my discssions with
>> Andy, I'm now unconvinced it's necessary.
>
> Actually, the new address space is quite separated from what I'm
> proposing here. I'd prefer to discuss that part when we have an
> implementation surrounding it. I can explain it now if you'd like, but
> it's going to be a bit harder with no code.
>
> The reason we need boot-time __{p,v}a() macros is really quite separate
> from the new (logical) address space. These new macros are just so we
> can assume flat addressing during boot or compile-time, before any
> nonlinear structures are set up.

Ah, OK ... makes more sense - thanks.

However ... what happens to functions calling __pa that are called from
boot time and run time code?

M.