Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librtas: return CALL_AGAIN on RC_BUSY status in handle_delay()
There is no need to delay before retrying on RC_BUSY return status. The kernel used to get this wrong too. torvalds/linux@38f7b70 Excerpt referenced from above commit: RTAS_BUSY (-2): RTAS has suspended a potentially long-running operation in order to meet its latency obligation and give the OS the opportunity to perform other work. RTAS can resume making progress as soon as the OS reattempts the call. To avoid uselessly sleeping update handle_delay() to return CALL_AGAIN immediately when it is passed RC_BUSY. Suggested-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
- Loading branch information