linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Minchan Kim <minchan.kim@gmail.com>
To: Uma shankar <shankar.vk@gmail.com>
Cc: linux-mm@kvack.org, arm-kernel@lists.arm.linux.org.uk
Subject: Re: 4-Kb page-size for kernel in ARM-Cortex
Date: Fri, 4 Jun 2010 21:32:34 +0900	[thread overview]
Message-ID: <20100604123234.GA1879@barrios-desktop> (raw)
In-Reply-To: <AANLkTimHrbAq1Q3Iu3wYGLDdeidYGgy2txaYkYhg5a_x@mail.gmail.com>

On Thu, Jun 03, 2010 at 08:13:35PM +0530, Uma shankar wrote:
> Hi,
> 
>           It is my understanding that  in ARM, the MMU setting for
> kernel VA  range ( 0xc0000000 onwards )
> is set up using the section-sized mapping ( 1 Mb in size ) ,  as this
> range maps to a  contiguous physical address range.
> 
> I am trying out a memory-checking tool on Cortex.    This tool has the
> requirement that it  needs to be able to set up  PTE for each 4 Kb
> range of  kernel address.
> 
> So,  paging_init ( arch/arm/mm/mmu.c ) is modified for this.
> 
> But , with this MMU setting,   the kernel hangs somewhere  after
> freeing init memory. ( "freeing init mem"  is the last print I see on
> console. )
> 
> For  3-level page-table setting of kernel VA,  do I have to change
> something else also ?

It's related to arm architecture. 
Please, Cced linux-arm-kernel mailing list. 
Maybe they can solve your problem. 

P.S) 
Please send your patch with question, symptom more detail and oops 
if you can get it. 


> 
>               thanks
> 
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

-- 
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2010-06-04 12:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03 14:43 4-Kb page-size for kernel in ARM-Cortex Uma shankar
2010-06-04 12:32 ` Minchan Kim [this message]
2010-06-04 12:35   ` Minchan Kim

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=20100604123234.GA1879@barrios-desktop \
    --to=minchan.kim@gmail.com \
    --cc=arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-mm@kvack.org \
    --cc=shankar.vk@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).