Tags: jeffv03/librtas
Tags
Prep for librtas-2.0.1 Signed-off-by: Nathan Fontenot <[email protected]>
Prep for librtas-2.0.0 Signed-off-by: Adam Conrad <[email protected]> Signed-off-by: Nathan Fontenot <[email protected]>
Prep for librtas-1.3.12 release. Signed-off-by: Nathan Fontenot <[email protected]>
librtas allocates buffer space (required for RTAS call) in the RTAS p… …rivate memory area through sc_get_rmo_buffer() which internally allocates memory and protects it by acquiring lock on the allocated memory area. Locking function : At present acquire_file_lock() tries to lock the particular memory area. If the memory area is already locked then it returns error without retrying. So when two process executes rtas call simultaneously one fails with "Unknown librtas I/O" error. This patch introduces "Wait for lock to be available" instead of returning with IO error. Signed-off-by: Vasant Hegde <[email protected]>