Re: [PATCH 1/2] powerpc/rtas: Create rtas_busy_sleep function

2023-11-27 Thread Nathan Lynch
Haren Myneni writes: > Move the RTAS delay sleep code to new rtas_busy_sleep(). It can > be called from HCALL delay code that needs to support both usleep() > or msleep() depends on delay value. While there may be some future utility in factoring out the code that handles extended delay statuses,

[PATCH 1/2] powerpc/rtas: Create rtas_busy_sleep function

2023-11-27 Thread Haren Myneni
Move the RTAS delay sleep code to new rtas_busy_sleep(). It can be called from HCALL delay code that needs to support both usleep() or msleep() depends on delay value. Signed-off-by: Haren Myneni --- arch/powerpc/include/asm/rtas.h | 1 + arch/powerpc/kernel/rtas.c | 56 ++-