Skip to content

RFC powerpc/pseries/vas: VAS/NXGZIP support with LPM

Haren Myneni linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/pseries/vas: Modify reconfig open/close functions for migrationarch/powerpc/include/asm/vas.h arch/powerpc/platforms/pseries/vas.c+73 -170 replies
2/3powerpc/pseries/vas: Add VAS suspend/resume notifierarch/powerpc/platforms/pseries/vas.c+96 -10 replies
3/3powerpc/pseries/vas: Disable window open during migrationarch/powerpc/platforms/pseries/vas.c+12 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] powerpc/pseries/vas: VAS/NXGZIP support with LPM

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 code gets suspend notifier which closes all active windows and sets VAS_WIN_MIGRATE_CLOSE as window status. Whereas receives resume notifier after migration to reopen all windows which has VAS_WIN_MIGRATE_CLOSE status.

These patches depend on VAS/DLPAR support patch series
(https://lists.ozlabs.org/pipermail/linuxppc-dev/2021-December/238331.html)
Also the suspend/resume notifier code is added in a separate patch and will be posted later with the actual patches.

Haren Myneni (3):
powerpc/pseries/vas: Modify reconfig open/close functions for migration powerpc/pseries/vas: Add VAS suspend/resume notifier powerpc/pseries/vas: Disable window open during migration

 arch/powerpc/include/asm/vas.h       |   2 +
 arch/powerpc/platforms/pseries/vas.c | 199 ++++++++++++++++++++++++---
 2 files changed, 181 insertions(+), 20 deletions(-)
Signature · 1 line
2.27.0