Re: [PATCH 10/15] powerpc/mm: Add hooks for cxl

2014-09-29 Thread Aneesh Kumar K.V
Michael Neuling writes: > From: Ian Munsie > > This add a hook into tlbie() so that we use global invalidations when there > are > cxl contexts active. > > Normally cxl snoops broadcast tlbie. cxl can have TLB entries invalidated via > MMIO, but we aren't doing that yet. So for now we are jus

Re: [PATCH 10/15] powerpc/mm: Add hooks for cxl

2014-09-26 Thread Anton Blanchard
Hi Mikey, > We only map what a user processes maps and we tear it down when the > process is teared down (on the file descriptor release). So I think > we are ok. > > Unless there's some lazy teardown you're alluding to that I'm missing? I was trying to make sure things like the TLB batching

Re: [PATCH 10/15] powerpc/mm: Add hooks for cxl

2014-09-26 Thread Michael Neuling
On Fri, 2014-09-26 at 14:33 +1000, Anton Blanchard wrote: > > From: Ian Munsie > > > > This add a hook into tlbie() so that we use global invalidations when > > there are cxl contexts active. > > > > Normally cxl snoops broadcast tlbie. cxl can have TLB entries > > invalidated via MMIO, but we

Re: [PATCH 10/15] powerpc/mm: Add hooks for cxl

2014-09-25 Thread Anton Blanchard
> From: Ian Munsie > > This add a hook into tlbie() so that we use global invalidations when > there are cxl contexts active. > > Normally cxl snoops broadcast tlbie. cxl can have TLB entries > invalidated via MMIO, but we aren't doing that yet. So for now we > are just disabling local tlbies

[PATCH 10/15] powerpc/mm: Add hooks for cxl

2014-09-18 Thread Michael Neuling
From: Ian Munsie This add a hook into tlbie() so that we use global invalidations when there are cxl contexts active. Normally cxl snoops broadcast tlbie. cxl can have TLB entries invalidated via MMIO, but we aren't doing that yet. So for now we are just disabling local tlbies when cxl context