linux-mips
[Top] [All Lists]

Re: page size change on MIPS

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: page size change on MIPS
From: "Kevin D. Kissell" <kevink@paralogos.com>
Date: Mon, 24 Jan 2011 11:13:14 -0800
Cc: naveen yadav <yad.naveen@gmail.com>, linux-mips@linux-mips.org, kernelnewbies@nl.linux.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=paralogos.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Source:X-Source-Args:X-Source-Dir; b=N2xBtX43R+/+Pk7Ahj7aCPL1jw8DgliBxrYVAGKnvcc7RCTITauwTwsLAYCDiG/p6XMpHAUdqlBIjl5a1MyAroVxAf1NuYI3TOulWLQfEM3ecWi1D7cTh4x+ASS0tUFY;
In-reply-to: <4D3DCB5A.6060107@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AANLkTik+vpiWR4Xk4Pu+uCHq3XO=BZMGVka8-B9vuQew@mail.gmail.com> <4D3DCB5A.6060107@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
On 01/24/11 10:56, David Daney wrote:
On 01/24/2011 07:02 AM, naveen yadav wrote:
Hi All,


we are using mips32r2 so I want to know which all pages size it can support?
When I modify arch/mips/Kconfig.  it boot sucessfully on 16KB page
size. but hang/not boot crash when change page size to 8KB,32KB and 64
KB.

I don't think 8KB and 32KB work on most mips32r2 processors. You would have to check the processor manual to be sure.

In principle, one should be able to detect this at run-time, by writing a sequence of values into the PageMask register and seeing which masks 'stick'.

/K.


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