lkml.org 
[lkml]   [2014]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [v3,12/16] cxl: Add base builtin support
From
Date
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:
> > From: Ian Munsie <imunsie@au1.ibm.com>
> >
> > This adds the base cxl support that needs to be build into the kernel to use
> > cxl as a module. This is needed so that the cxl call backs from the core
> > powerpc mm code always exist irrespective of if the cxl module is loaded or
> > not. This is similar to how cell works with CONFIG_SPU_BASE.
> >
> > This adds a cxl_slbia() call (similar to spu_flush_all_slbs()) which checks for
> > the cxl module being loaded. If the modules is not loaded we return, otherwise
> > we call into the cxl SLB invalidation code.
> >
> > This also adds the cxl_ctx_in_use() function for use in the mm code to see if
> > 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 get/put
> > calls for the cxl driver module to refcount the active cxl contexts.
>
> This last paragraph is no longer true.

Yep, thanks. I'll move it to patch 7 where it does apply.

Mikey



\
 
 \ /
  Last update: 2014-10-08 03:22    [W:0.062 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site