On Mon, 2017-08-28 at 19:37 +0200, Frederic Barrat wrote:
> Good point, I had missed the change. It looks like I now need to call
> radix__flush_all_mm(), which I would have to export outside of
> tlb-radix.c first.
>
> Any problem with having a flush_all_mm() to complement a flush_tlb_mm()?
>
Le 28/08/2017 à 14:03, Benjamin Herrenschmidt a écrit :
On Mon, 2017-08-28 at 10:47 +0200, Frederic Barrat wrote:
Signed-off-by: Frederic Barrat
diff --git a/arch/powerpc/include/asm/mmu_context.h
b/arch/powerpc/include/asm/mmu_context.h
index 309592589e30..6447c0df7ec4 100644
--- a/
On Mon, 2017-08-28 at 10:47 +0200, Frederic Barrat wrote:
>
>
> Signed-off-by: Frederic Barrat
> diff --git a/arch/powerpc/include/asm/mmu_context.h
> b/arch/powerpc/include/asm/mmu_context.h
> index 309592589e30..6447c0df7ec4 100644
> --- a/arch/powerpc/include/asm/mmu_context.h
> +++ b/ar
The PSL and nMMU need to see all TLB invalidations for the memory
contexts used on the adapter. For the hash memory model, it is done by
making all TLBIs global as soon as the cxl driver is in use. For
radix, we need something similar, but we can refine and only convert
to global the invalidations