Thread (3 messages) 3 messages, 2 authors, 2023-11-27

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

From: Nathan Lynch <hidden>
Date: 2023-11-27 13:50:54

Haren Myneni [off-list ref] 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, your patch 2/2 isn't an appropriate use
case: VAS makes hcalls and does not interact with RTAS.

Create a separate helper function in the vas code or in the generic
hcall support code please. I think it's OK if it somewhat duplicates
logic from rtas_busy_delay().
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help