Re: [PATCH] powerpc/pseries/dlpar: handle ibm,configure-connector delay status

From
Tyrel Datwyler <tyreld@linux.ibm.com>
Date
2021-02-05 19:49:00
Reply to
Nathan Lynch, 2021-01-07
On 1/6/21 6:59 PM, Nathan Lynch wrote:
dlpar_configure_connector() has two problems in its handling of
ibm,configure-connector's return status:

1. When the status is -2 (busy, call again), we call
   ibm,configure-connector again immediately without checking whether
   to schedule, which can result in monopolizing the CPU.
2. Extended delay status (9900..9905) goes completely unhandled,
   causing the configuration to unnecessarily terminate.

Fix both of these issues by using rtas_busy_delay().

Fixes: ab519a011caa ("powerpc/pseries: Kernel DLPAR Infrastructure")
Signed-off-by: Nathan Lynch <redacted>
Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Thread (4 messages) 4 messages, 3 authors, last reply 2021-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help