powerpc/pseries/dlpar: use RTAS work area API
authorNathan Lynch <nathanl@linux.ibm.com>
Fri, 10 Feb 2023 18:42:01 +0000 (12:42 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 13 Feb 2023 11:35:02 +0000 (22:35 +1100)
commite27e14231eb541899efc11c33d6eeddcb74767c3
tree4f32db02e2250003e39f4c6b7757616cfa89dd3d
parent43033bc62d349d8d852855a336c91d046de819bd
powerpc/pseries/dlpar: use RTAS work area API

Hold a work area object for the duration of the RTAS
ibm,configure-connector sequence, eliminating locking and copying
around each RTAS call.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230125-b4-powerpc-rtas-queue-v3-13-26929c8cce78@linux.ibm.com
arch/powerpc/platforms/pseries/dlpar.c