linux-mips
[Top] [All Lists]

Re: [PATCH] sparsemem fix

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] sparsemem fix
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Mon, 10 Jul 2006 09:52:03 +0200
Cc: Franck Bui-Huu <vagabon.xyz@gmail.com>, Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=aaahY14kVIG/EC77uQ/Zv8QC8kqZK+t5CtaPi+nPtgrFg1c9TR0jpN8ldY+190P8wggtATymo+H9GksY7Y3RrdXsAf7zBmgfsAVP6GWSZ1koKrNQ6z3KMZq9aTtPn0rI7lG/uWOVvzF89MXqq3pJf/Aijk9rjUOLsdePGufKYRs=
In-reply-to: <20060709224653.GA20598@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060705.012244.96686002.anemo@mba.ocn.ne.jp> <44AB79D0.90002@innova-card.com> <20060705.192054.128618288.nemoto@toshiba-tops.co.jp> <20060706173235.GA4739@linux-mips.org> <cda58cb80607080747g66ac4357ya1f2cef89b4d868@mail.gmail.com> <20060709224653.GA20598@linux-mips.org>
Reply-to: Franck <vagabon.xyz@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.2 (X11/20060501)
Ralf Baechle wrote:
> On Sat, Jul 08, 2006 at 04:47:39PM +0200, Franck Bui-Huu wrote:
> 
>> but the code seems to be in arch/mips/sgi-ip27, no ?
>>
>> BTW, Ralf, are there any needs for MIPS to support platforms whose
>> memory start is not 0 ? I have made a patch for that, and wondering if
>> it's worth to post it on the list...
> 
> Yes, while it's relativly rare such platforms do exist and they currently
> pay the price of wasting some memory for the allocation of unused entries
> in mem_map[].
> 

Ok I'll send that this week. I remember to have to replace CPHYSADDR()
macro with __pa() in boot init code still I don't if it's correct.

Can you tell me why we can't always use __pa() ?

Thanks

                Franck

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