ERESTARTSYS is intended for internal kernel purposes and should not leak to userspace. The driver should return error codes that are standard in userspace. This is EAGAIN (Try Again) for current implementation of Event Device and ETIMEDOUT for DMA read/write