On Sun, 27 Feb 2022 23:46:01 -0800, Haren Myneni wrote: > Virtual Accelerator Switchboard (VAS) is an engine stays on the > chip. So all windows opened on a specific engine belongs to VAS > the chip. The hypervisor expects the partition to close all > active windows on the sources system and reopen them after > migration on the destination machine. > > This patch series adds VAS support with the partition migration. > When the migration initiates, the VAS migration handler will be > invoked before pseries_suspend() to close all active windows and > mark them in-active with VAS_WIN_MIGRATE_CLOSE status. Whereas > this migration handler is called after migration to reopen all > windows which has VAS_WIN_MIGRATE_CLOSE status and make them > active again. The user space gets paste instruction failure > when it sends requests on these in-active windows. > > [...]
Applied to powerpc/next. [1/3] powerpc/pseries/vas: Define global hv_cop_caps struct https://git.kernel.org/powerpc/c/278fe1cc2205a05bfd92c794be3d207372b17289 [2/3] powerpc/pseries/vas: Modify reconfig open/close functions for migration https://git.kernel.org/powerpc/c/716d7a2e3764cb79061371767bff1a691adb4e7f [3/3] powerpc/pseries/vas: Add VAS migration handler https://git.kernel.org/powerpc/c/37e6764895ef7431f45ff603a548549d409993d2 cheers