android_kernel_samsung_sm8650/arch/powerpc
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
..
boot powerpc/boot: Add otheros-too-big.bld to .gitignore 2022-02-15 22:29:52 +11:00
configs RTC for 5.17 2022-01-21 13:13:35 +02:00
crypto powerpc updates for 5.17 2022-01-14 15:17:26 +01:00
include powerpc/pseries/vas: Modify reconfig open/close functions for migration 2022-03-08 00:04:56 +11:00
kernel Merge branch 'topic/func-desc-lkdtm' into next 2022-03-07 23:34:32 +11:00
kexec powerpc: Set crashkernel offset to mid of RMA region 2022-02-07 15:26:12 +11:00
kvm KVM: PPC: Book3S HV: remove unnecessary casts 2022-03-04 12:58:46 +11:00
lib powerpc/lib/sstep: Fix build errors with newer binutils 2022-03-01 23:51:09 +11:00
math-emu powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
mm powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties() 2022-03-01 23:41:01 +11:00
net powerpc/bpf: Always reallocate BPF_REG_5, BPF_REG_AX and TMP_REG when possible 2022-02-12 22:47:42 +11:00
perf powerpc/64s/hash: Make hash faults work in NMI context 2022-02-24 12:46:54 +11:00
platforms powerpc/pseries/vas: Add VAS migration handler 2022-03-08 00:04:56 +11:00
purgatory powerpc/kexec: Don't use .machine ppc64 in trampoline_64.S 2021-04-08 21:17:43 +10:00
sysdev powerpc/corenet: Change criteria to set MPIC_ENABLE_COREINT 2022-02-07 21:03:10 +11:00
tools powerpc/head_check: Fix shellcheck errors 2021-08-17 22:52:02 +10:00
xmon powerpc/xmon: Dump XIVE information for online-only processors. 2022-01-06 21:47:00 +11:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig Merge branch 'topic/func-desc-lkdtm' into next 2022-03-07 23:34:32 +11:00
Kconfig.debug powerpc/ptdump: Convert powerpc to GENERIC_PTDUMP 2021-08-25 13:35:48 +10:00
Makefile Merge branch 'topic/func-desc-lkdtm' into next 2022-03-07 23:34:32 +11:00
Makefile.postlink powerpc: unrel_branch_check.sh: use nm to find symbol value 2020-09-02 11:00:22 +10:00