Skip to content
  • Cédric Le Goater's avatar
    09a67f3d
    ppc/xive2: Introduce a presenter matching routine · 09a67f3d
    Cédric Le Goater authored
    
    
    The VP space is larger in XIVE2 (P10), 24 bits instead of 19bits on
    XIVE (P9), and the CAM line can use a 7bits or 8bits thread id.
    
    For now, we only use 7bits thread ids, same as P9, but because of the
    change of the size of the VP space, the CAM matching routine is
    different between P9 and P10. It is easier to duplicate the whole
    routine than to add extra handlers in xive_presenter_tctx_match() used
    for P9.
    
    We might come with a better solution later on, after we have added
    some more support for the XIVE2 controller.
    
    Reviewed-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
    Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
    09a67f3d
    ppc/xive2: Introduce a presenter matching routine
    Cédric Le Goater authored
    
    
    The VP space is larger in XIVE2 (P10), 24 bits instead of 19bits on
    XIVE (P9), and the CAM line can use a 7bits or 8bits thread id.
    
    For now, we only use 7bits thread ids, same as P9, but because of the
    change of the size of the VP space, the CAM matching routine is
    different between P9 and P10. It is easier to duplicate the whole
    routine than to add extra handlers in xive_presenter_tctx_match() used
    for P9.
    
    We might come with a better solution later on, after we have added
    some more support for the XIVE2 controller.
    
    Reviewed-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
    Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Loading