Thread (4 messages) flat view 4 messages, 3 authors, 2021-02-10

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help