[PATCH 5.10 55/63] habanalabs: add validity check for event ID received from F/W