• Oded Gabbay's avatar
    habanalabs: re-init completion object upon retry · d5546d78
    Oded Gabbay authored
    In case user interrupt arrived but the completion value is less than
    the target value, we want to retry the wait.
    
    However, before the retry we must reinitialize the completion object,
    under spin-lock, so the wait function won't exit immediately because
    the completion object is already completed (from the previous
    interrupt).
    Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
    d5546d78
command_submission.c 55.7 KB