• Koby Elbaz's avatar
    habanalabs/gaudi: read GIC sts after FW is loaded · e591a49c
    Koby Elbaz authored
    Reading of GIC privileged status will be done after F/W is loaded,
    because privileged GIC capability is only available with the correct
    ARMCP version, and after it's loaded.
    Such versions necessarily support COMMS, so GIC alternatives (SP regs)
    will be read directly from dynamic regs.
    
    As well, initiation of DMA QMANs will occur after F/W is loaded
    since it depends on GIC configuration.
    
    In case F/W isn't loaded there's no problem since either way
    there won't be any GIC IRQ handling.
    Signed-off-by: default avatarKoby Elbaz <kelbaz@habana.ai>
    Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
    Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
    e591a49c
firmware_if.c 62.6 KB