Skip to contentSkip to conversation

Large physical address support on e500 platform

DISCUSSION Alex Dubov 2 participants 3 messages Jan 19, 2010 – Jan 20, 2010

lore
Share & tools
lore

Alex Dubov

author
#0 lore raw

I'm working on an mpc8548 based board and recently I've encountered a=0Apro= blem, whereupon kernel crashed each time module loading is attempted. I=0At= raced the problem to the fact, that vmalloc_exec was setting incorrect=0Apa= ge attributes on allocated pages. This, in turn, happened because I=0Aspeci= fied "Large physical address support" in the Kconfig, leading to=0ACONFIG_P= HYS_64BIT and friends being set.=0A=0AIt appears that having this option se= t on e500 pulls in incorrect headers=0Aand otherwise not working. CPU, howe= ver, has support for 36b physical=0Aaddressing, which qualifies as "Large p= hysical address".=0A=0ASo, the obvious question is, what is the current sta= tus of large physical=0Aaddress support on e500? Is it a problem in current=
git version or is it=0Anot ready yet?=0A=0AThanks.=0A=0A=0A=0A=0A=0A=0A=0A=

      _____________________________________________________________________=

_____________=0ASee what's on at the movies in your area. Find out now: htt= p://au.movies.yahoo.com/session-times/

#1 lore raw
Quoted 2 lines · Alex Dubov

I'm working on an mpc8548 based board and recently I've encountered a problem, whereupon kernel crashed each time module loading is =

attempted. I

Quoted 1 line

traced the problem to the fact, that vmalloc_exec was setting =

incorrect

Quoted 5 lines

page attributes on allocated pages. This, in turn, happened because I specified "Large physical address support" in the Kconfig, leading to CONFIG_PHYS_64BIT and friends being set.
=20
It appears that having this option set on e500 pulls in incorrect =

headers

Quoted 4 lines

and otherwise not working. CPU, however, has support for 36b physical addressing, which qualifies as "Large physical address". =20
So, the obvious question is, what is the current status of large =

physical

Quoted 1 line

address support on e500? Is it a problem in current git version or is =

it

Quoted 3 lines

not ready yet?
=20
Thanks.

Its possible that we've broken module/vmalloc support with "Large = physical addressing". Its not something I've tried in a while. What = kernel/git SHA are you using.

- k=

author
#2 lore raw
Quoted 1 line

=0A> > So, the obvious question is, what is the current=0A> status of lar=

ge physical=0A> > address support on e500? Is it a problem in current=0A> g= it version or is it=0A> > not ready yet?=0A> > =0A> > Thanks.=0A> =0A> Its = possible that we've broken module/vmalloc support with=0A> "Large physical = addressing".=A0 Its not something I've=0A> tried in a while.=A0 What kernel= /git SHA are you using.=0A> =0A=0AI'm just pulling in from the main kernel = tree git.=0AMy current version is 2.6.33-rc4-00193-gd1e4922-dirty,=0Abut it=
had not changed since 2.6.33-rc2=0A=0AI started from 2.6.32, but I don't r=
emember if I had a large PA=0Asupport enabled there.=0A=0A=0A=0A=0A __=
___________________________________________________________________________=
_____=0ASee what's on at the movies in your area. Find out now: http://au.m=
ovies.yahoo.com/session-times/