linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* 4-Kb page-size for kernel in ARM-Cortex
@ 2010-06-03 14:43 Uma shankar
  2010-06-04 12:32 ` Minchan Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Uma shankar @ 2010-06-03 14:43 UTC (permalink / raw)
  To: linux-mm

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 ?

              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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 4-Kb page-size for kernel in ARM-Cortex
  2010-06-03 14:43 4-Kb page-size for kernel in ARM-Cortex Uma shankar
@ 2010-06-04 12:32 ` Minchan Kim
  2010-06-04 12:35   ` Minchan Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Minchan Kim @ 2010-06-04 12:32 UTC (permalink / raw)
  To: Uma shankar; +Cc: linux-mm, arm-kernel

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 4-Kb page-size for kernel in ARM-Cortex
  2010-06-04 12:32 ` Minchan Kim
@ 2010-06-04 12:35   ` Minchan Kim
  0 siblings, 0 replies; 3+ messages in thread
From: Minchan Kim @ 2010-06-04 12:35 UTC (permalink / raw)
  To: Uma shankar; +Cc: linux-mm, linux-arm-kernel

My bad. wrong address. correct it. 

On Fri, Jun 04, 2010 at 09:32:34PM +0900, Minchan Kim wrote:
> 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

-- 
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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-04 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 14:43 4-Kb page-size for kernel in ARM-Cortex Uma shankar
2010-06-04 12:32 ` Minchan Kim
2010-06-04 12:35   ` Minchan Kim

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).