page size change on MIPS

Kevin D. Kissell kevink at paralogos.com
Mon Jan 24 14:13:14 EST 2011


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.




More information about the Kernelnewbies mailing list