PS3 early lock-up

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Aug 5 07:52:57 EST 2008


> > ps3_hpte_insert() seems to be called during system initialization with the
> > following values of rflags:
> >   - first call: 0x190
> >   - initial memory: 0x194 (455 times)
> >   - hotplug memory:
> >       o crash: 0x115
> >       o OK: 0x117
> > 
> > Do you have an idea of what's really going on?
> 
> Weird... Both look incorrect. In fact, it's a bit scary...
> 
> The one with the 7 at the end means that user space as RO access to
> the segment (oops !) and supervisor too. The one with the 5 means
> RO for user and RW for supervisor.
> 
> That is unless your HV is munging them in strange ways... I don't
> know why LV1 is refusing a combination though.
> 
> As for the flags, it depends what htab_bolt_mapping() is called
> with.
> 
> Do you have a backtrace ? I'm a bit lots in the mem hotswap code
> trying to figure out where the mapping comes from..

Ah, found it... It should be ok... both the mapping of the RAM itself
and vmemmap_populate() should be passing 

  _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_COHERENT | PP_RWXX;

Which should be 0x194.

Can you find out where that stupid value comes from ?

Ben.





More information about the Linuxppc-dev mailing list