Frederic Barrat <fbar...@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