]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbad29d18e88e94c0d592583b2da7aed3b478c77c
tree40c5dae7af8fcff41163f21ae12a6202845a5cf3
parent30db1312b1dcc6d0da2e4f7d1f42b58d13bbe45d
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