• Jeenu Viswambharan's avatar
    GICv2: Add driver API to set PE target mask · fa9db423
    Jeenu Viswambharan authored
    
    
    The PE target mask is used to translate linear PE index (returned by
    platform core position) to a bit mask used when targeting interrupts to
    a PE, viz. when raising SGIs and routing SPIs.
    
    The platform shall:
    
      - Populate the driver data with a pointer to array that's to contain
        per-PE target masks.
    
      - Invoke the new driver API 'gicv2_set_pe_target_mask()' during
        per-CPU initialization so that the driver populates the target mask
        for that CPU.
    
    Platforms that don't intend to target interrupts or raise SGIs need not
    populate this.
    
    Change-Id: Ic0db54da86915e9dccd82fff51479bc3c1fdc968
    Signed-off-by: default avatarJeenu Viswambharan <jeenu.viswambharan@arm.com>
    fa9db423
gicv2_main.c 9.85 KB