Re: [RFC 01/10] powerpc/rtas: new APIs for busy and extended delay statuses

2021-05-13 Thread Alexey Kardashevskiy
On 04/05/2021 13:03, Nathan Lynch wrote: Add new APIs for handling busy (-2) and extended delay hint (9900...9905) statuses from RTAS. These are intended to be drop-in replacements for existing uses of rtas_busy_delay(). A problem with rtas_busy_delay() and rtas_busy_delay_time() is that

[RFC 01/10] powerpc/rtas: new APIs for busy and extended delay statuses

2021-05-03 Thread Nathan Lynch
Add new APIs for handling busy (-2) and extended delay hint (9900...9905) statuses from RTAS. These are intended to be drop-in replacements for existing uses of rtas_busy_delay(). A problem with rtas_busy_delay() and rtas_busy_delay_time() is that they consider -2/busy to be equivalent to 9900