powerpc/pseries/vas: Save PID in pseries_vas_window struct
authorHaren Myneni <haren@linux.ibm.com>
Tue, 1 Mar 2022 01:12:04 +0000 (17:12 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2022 13:04:55 +0000 (00:04 +1100)
commit976410cd2cb4c6ed53bd12c192fc46bbcc0fbce7
tree40c5dae7af8fcff41163f21ae12a6202845a5cf3
parent40562fe4fa3d94c7462ec909ab89b075e26c59ac
powerpc/pseries/vas: Save PID in pseries_vas_window struct

The kernel sets the VAS window with PID when it is opened in
the hypervisor. During DLPAR operation, windows can be closed and
reopened in the hypervisor when the credit is available. So saves
this PID in pseries_vas_window struct when the window is opened
initially and reuse it later during DLPAR operation.

Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a57cbe6d292fe49ad55a0b49c5679d6a24d8fe73.camel@linux.ibm.com
arch/powerpc/platforms/pseries/vas.c
arch/powerpc/platforms/pseries/vas.h