All of lore.kernel.org
 help / color / mirror / Atom feed
From: kevink@paralogos.com (Kevin D. Kissell)
To: kernelnewbies@lists.kernelnewbies.org
Subject: page size change on MIPS
Date: Mon, 24 Jan 2011 11:13:14 -0800	[thread overview]
Message-ID: <4D3DCF4A.1020509@paralogos.com> (raw)
In-Reply-To: <4D3DCB5A.6060107@caviumnetworks.com>

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.

WARNING: multiple messages have this Message-ID (diff)
From: "Kevin D. Kissell" <kevink@paralogos.com>
To: David Daney <ddaney@caviumnetworks.com>
Cc: naveen yadav <yad.naveen@gmail.com>,
	linux-mips@linux-mips.org, kernelnewbies@nl.linux.org
Subject: Re: page size change on MIPS
Date: Mon, 24 Jan 2011 11:13:14 -0800	[thread overview]
Message-ID: <4D3DCF4A.1020509@paralogos.com> (raw)
In-Reply-To: <4D3DCB5A.6060107@caviumnetworks.com>

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.

  reply	other threads:[~2011-01-24 19:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 15:02 page size change on MIPS naveen yadav
2011-01-24 15:02 ` naveen yadav
2011-01-24 18:56 ` David Daney
2011-01-24 18:56   ` David Daney
2011-01-24 19:13   ` Kevin D. Kissell [this message]
2011-01-24 19:13     ` Kevin D. Kissell
2011-01-27 14:55   ` naveen yadav
2011-01-27 14:55     ` naveen yadav
2011-01-27 15:18     ` adnan iqbal
2011-01-27 17:44       ` David Daney
2011-01-27 17:44         ` David Daney
2011-01-28  9:18         ` naveen yadav
2011-01-28  9:18           ` naveen yadav
2011-01-28 18:48           ` David Daney
2011-01-28 18:48             ` David Daney
2011-01-30 15:02   ` Himanshu Aggarwal
2011-01-30 15:02     ` Himanshu Aggarwal
2011-01-31 13:08     ` Ralf Baechle
2011-02-04  3:24       ` naveen yadav
2011-02-04  3:24         ` naveen yadav
2011-02-04  4:16         ` naveen yadav
2011-02-04  4:16           ` naveen yadav
2011-02-04 17:25           ` David Daney
2011-02-04 17:25             ` David Daney
2011-02-05 13:53             ` Mulyadi Santosa
     [not found]           ` <AANLkTinsRxKhw-r0LBzwSMpiYs8eK1G26Z=gWwPuRu=i@mail.gmail.com>
     [not found]             ` <mcr4o8j3gwf.fsf@google.com>
     [not found]               ` <4D4C39E5.6030403@caviumnetworks.com>
     [not found]                 ` <AANLkTinHaWCuyyeb_NA9PLpoH0aZC39-b1Z7FYmAUXp=@mail.gmail.com>
     [not found]                   ` <4D508397.6000809@caviumnetworks.com>
     [not found]                     ` <AANLkTiko4fUdKNvAP-PvxaJiT6MMJnVw+ZTCMLT1FkK9@mail.gmail.com>
2011-02-08  8:34                       ` Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D3DCF4A.1020509@paralogos.com \
    --to=kevink@paralogos.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.