• Ian Munsie's avatar
    cxl: Add base builtin support · 10542ca0
    Ian Munsie authored
    This adds the base cxl support that cannot be built as a module. Specifically
    it adds the cxl callbacks that are called from the core powerpc mm code which
    must 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 if
    the cxl module is loaded and in use, returning immediately if it is not. If it
    is in use it calls into the cxl SLB invalidation code.
    Signed-off-by: default avatarIan Munsie <imunsie@au1.ibm.com>
    Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    10542ca0
base.c 1.74 KB