linux-stable/arch/powerpc/platforms
Haren Myneni 37e6764895 powerpc/pseries/vas: Add VAS migration handler
Since the VAS windows belong to the VAS hardware resource, the
hypervisor expects the partition to close them on source partition
and reopen them after the partition migrated on the destination
machine.

This handler is called before pseries_suspend() to close these
windows and again invoked after migration. All active windows
for both default and QoS types will be closed and mark them
inactive and reopened after migration with this handler.
During the migration, the user space receives paste instruction
failure if it issues copy/paste on these inactive windows.

The current migration implementation does not freeze the user
space and applications can continue to open VAS windows while
migration is in progress. So when the migration_in_progress flag
is set, VAS open window API returns -EBUSY.

Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/05e45ff4f8babd2490ccb7ae923884f4aa21a7e5.camel@linux.ibm.com
2022-03-08 00:04:56 +11:00
..
4xx powerpc updates for 5.17 2022-01-14 15:17:26 +01:00
8xx powerpc: bad_page_fault get registers from regs 2021-02-09 00:02:09 +11:00
40x powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
44x powerpc updates for 5.17 2022-01-14 15:17:26 +01:00
52xx powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
82xx powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:41 +01:00
83xx powerpc/83xx: Add __init attribute to eligible functions 2021-12-23 22:33:18 +11:00
85xx powerpc/corenet: Change criteria to set MPIC_ENABLE_COREINT 2022-02-07 21:03:10 +11:00
86xx powerpc/mpc86xx_hpcn: Remove obsolete statement 2022-02-07 21:03:09 +11:00
512x powerpc/512x: Add __init attribute to eligible functions 2021-12-23 22:33:19 +11:00
amigaone powerpc/amigaone: Make amigaone_discover_phbs() static 2021-02-11 23:28:51 +11:00
book3s powerpc/vas: Map paste address only if window is active 2022-03-08 00:04:55 +11:00
cell powerpc/spufs: adjust list element pointer type 2022-02-03 21:40:32 +11:00
chrp powerpc/chrp: Add __init attribute to eligible functions 2021-12-23 22:33:13 +11:00
embedded6xx powerpc/embedded6xx: Add __init attribute to eligible functions 2021-12-23 22:33:17 +11:00
maple powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
microwatt powerpc/microwatt: add POWER9_CPU, clear PPC_64S_HASH_MMU 2021-12-09 22:41:16 +11:00
pasemi bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
powermac powerpc/machdep: Move sys_ctrler_t definition into pmac_feature.h 2022-02-07 21:02:20 +11:00
powernv powerpc: Fix build errors with newer binutils 2022-03-01 23:51:08 +11:00
ps3 powerpc/ps3: Add __init attribute to eligible functions 2021-12-23 22:33:16 +11:00
pseries powerpc/pseries/vas: Add VAS migration handler 2022-03-08 00:04:56 +11:00
fsl_uli1575.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
Kconfig.cputype powerpc: Remove CONFIG_PPC_HAVE_KUAP and CONFIG_PPC_HAVE_KUEP 2021-12-09 22:41:20 +11:00
Makefile powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00