[RFC 1/2] powerpc/mm: Add marker for contexts requiring global TLB invalidations

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Thu May 4 16:41:17 AEST 2017


Frederic Barrat <fbarrat at linux.vnet.ibm.com> writes:

> Introduce a new 'flags' attribute per context and define its first bit
> to be a marker requiring all TLBIs for that context to be broadcasted
> globally. Once that marker is set on a context, it cannot be removed.
>
> Such a marker is useful for memory contexts used by devices behind the
> NPU and CAPP/PSL. The NPU and the PSL keep their own
> translation cache so they need to see all the TLBIs for those
> contexts.

Can we also switch existing cxl_ctx_in_use() to this ?

-aneesh



More information about the Linuxppc-dev mailing list