Skip to content
  • Cédric Le Goater's avatar
    747ffe28
    pnv/xive2: Add support XIVE2 P9-compat mode (or Gen1) · 747ffe28
    Cédric Le Goater authored
    
    
    The thread interrupt management area (TIMA) is a set of pages mapped
    in the Hypervisor and in the guest OS address space giving access to
    the interrupt thread context registers for interrupt management, ACK,
    EOI, CPPR, etc.
    
    XIVE2 changes slightly the TIMA layout with extra bits for the new
    features, larger CAM lines and the controller provides configuration
    switches for backward compatibility. This is called the XIVE2
    P9-compat mode, of Gen1 TIMA. It impacts the layout of the TIMA and
    the availability of the internal features associated with it,
    Automatic Save & Restore for instance. Using a P9 layout also means
    setting the controller in such a mode at init time.
    
    As the OPAL driver initializes the XIVE2 controller with a XIVE2/P10
    TIMA directly, the XIVE2 model only has a simple support for the
    compat mode in the OS TIMA.
    
    Reviewed-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
    Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
    747ffe28
    pnv/xive2: Add support XIVE2 P9-compat mode (or Gen1)
    Cédric Le Goater authored
    
    
    The thread interrupt management area (TIMA) is a set of pages mapped
    in the Hypervisor and in the guest OS address space giving access to
    the interrupt thread context registers for interrupt management, ACK,
    EOI, CPPR, etc.
    
    XIVE2 changes slightly the TIMA layout with extra bits for the new
    features, larger CAM lines and the controller provides configuration
    switches for backward compatibility. This is called the XIVE2
    P9-compat mode, of Gen1 TIMA. It impacts the layout of the TIMA and
    the availability of the internal features associated with it,
    Automatic Save & Restore for instance. Using a P9 layout also means
    setting the controller in such a mode at init time.
    
    As the OPAL driver initializes the XIVE2 controller with a XIVE2/P10
    TIMA directly, the XIVE2 model only has a simple support for the
    compat mode in the OS TIMA.
    
    Reviewed-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
    Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Loading