Re: can't flush tlb on e500

2009-05-24 Thread Benjamin Herrenschmidt
On Mon, 2009-05-25 at 10:33 +0900, Hideo Saito wrote: > > This report came from LKML, although I should post it here first, > the report said that there is a regression in linux-2.6.29 as to > flushing a TLB entry that was going to be re-used when a context > overflowed from the TLB. > > On Fri,

Re: can't flush tlb on e500

2009-05-22 Thread Benjamin Herrenschmidt
On Fri, 2009-05-22 at 19:27 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2009-05-20 at 19:12 +0900, Saito Hideo wrote: > > > I think that the tlb should be cleared before mm->context.id is set > > MMU_NO_CONTEXT. > > You are right, this definitely looks like a bug on platforms that have > HW su

Re: can't flush tlb on e500

2009-05-22 Thread Benjamin Herrenschmidt
On Wed, 2009-05-20 at 19:12 +0900, Saito Hideo wrote: > I think that the tlb should be cleared before mm->context.id is set > MMU_NO_CONTEXT. You are right, this definitely looks like a bug on platforms that have HW support for the tlbil instruction (and thus care about the PID for flushing) whic