Re: [PATCH 1/2] 476: Set CCR2[DSTI] to prevent isync from flushing shadow TLB

2010-09-27 Thread Dave Kleikamp
On Tue, 2010-09-28 at 07:10 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2010-09-27 at 10:26 -0500, Dave Kleikamp wrote: > > I think I made it a config option at Ben's request when I first started > > this work last year, before being sidetracked by other priorities. I > > could either remove th

Re: [PATCH 1/2] 476: Set CCR2[DSTI] to prevent isync from flushing shadow TLB

2010-09-27 Thread Benjamin Herrenschmidt
On Mon, 2010-09-27 at 10:26 -0500, Dave Kleikamp wrote: > I think I made it a config option at Ben's request when I first started > this work last year, before being sidetracked by other priorities. I > could either remove the option, or default it to 'n'. It might be best > to just hard-code the

Re: [PATCH 1/2] 476: Set CCR2[DSTI] to prevent isync from flushing shadow TLB

2010-09-27 Thread Dave Kleikamp
On Mon, 2010-09-27 at 11:04 -0400, Josh Boyer wrote: > On Fri, Sep 24, 2010 at 01:01:36PM -0500, Dave Kleikamp wrote: > >When the DSTI (Disable Shadow TLB Invalidate) bit is set in the CCR2 > >register, the isync command does not flush the shadow TLB (iTLB & dTLB). > > > >However, since the shadow

Re: [PATCH 1/2] 476: Set CCR2[DSTI] to prevent isync from flushing shadow TLB

2010-09-27 Thread Josh Boyer
On Fri, Sep 24, 2010 at 01:01:36PM -0500, Dave Kleikamp wrote: >When the DSTI (Disable Shadow TLB Invalidate) bit is set in the CCR2 >register, the isync command does not flush the shadow TLB (iTLB & dTLB). > >However, since the shadow TLB does not contain context information, we >want the shadow T

[PATCH 1/2] 476: Set CCR2[DSTI] to prevent isync from flushing shadow TLB

2010-09-24 Thread Dave Kleikamp
When the DSTI (Disable Shadow TLB Invalidate) bit is set in the CCR2 register, the isync command does not flush the shadow TLB (iTLB & dTLB). However, since the shadow TLB does not contain context information, we want the shadow TLB flushed in situations where we are switching context. In those si