Thread (24 messages) 24 messages, 3 authors, 2014-10-08

Re: [v3,12/16] cxl: Add base builtin support

From: Michael Neuling <hidden>
Date: 2014-10-08 00:45:32
Also in: lkml

On Wed, 2014-10-08 at 10:04 +1100, Michael Ellerman wrote:
On Tue, 2014-07-10 at 10:48:18 UTC, Michael Neuling wrote:
quoted
From: Ian Munsie <redacted>
=20
This adds the base cxl support that needs to be build into the kernel t=
o use
quoted
cxl as a module. This is needed so that the cxl call backs from the cor=
e
quoted
powerpc mm code always exist irrespective of if the cxl module is loade=
d or
quoted
not. This is similar to how cell works with CONFIG_SPU_BASE.
=20
This adds a cxl_slbia() call (similar to spu_flush_all_slbs()) which ch=
ecks for
quoted
the cxl module being loaded. If the modules is not loaded we return, ot=
herwise
quoted
we call into the cxl SLB invalidation code.
=20
This also adds the cxl_ctx_in_use() function for use in the mm code to =
see if
quoted
any cxl contexts are currently in use. This is used by the tlbie() to
determine if it can do local TLB invalidations or not. This also adds g=
et/put
quoted
calls for the cxl driver module to refcount the active cxl contexts.
=20
This last paragraph is no longer true.
Yep, thanks.  I'll move it to patch 7 where it does apply.

Mikey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help