linux/arch/s390/kvm
Janis Schoetterl-Glausch a41f505e9f KVM: s390: Move common code of mem_op functions into function
The vcpu and vm mem_op ioctl implementations share some functionality.
Move argument checking into a function and call it from both
implementations. This allows code reuse in case of additional future
mem_op operations.

Suggested-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20230206164602.138068-9-scgl@linux.ibm.com
Message-Id: <20230206164602.138068-9-scgl@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
2023-02-07 18:05:59 +01:00
..
diag.c KVM: s390: restore old debugfs names 2021-07-27 16:59:00 -04:00
gaccess.c KVM: s390: Pass initialized arg even if unused 2022-09-21 16:18:35 +02:00
gaccess.h KVM: s390: Cleanup ipte lock access and SIIF facility checks 2022-07-20 10:57:36 +02:00
guestdbg.c KVM: s390: Add memcg accounting to KVM allocations 2020-12-10 13:36:05 +01:00
intercept.c KVM: s390: sida: sort out physical vs virtual pointers usage 2022-10-26 14:27:41 +02:00
interrupt.c KVM: s390: remove unused gisa_clear_ipm_gisc() function 2022-11-23 09:06:50 +00:00
Kconfig KVM: s390: pv: add mmu_notifier 2022-07-19 12:05:57 +00:00
kvm-s390.c KVM: s390: Move common code of mem_op functions into function 2023-02-07 18:05:59 +01:00
kvm-s390.h - Second batch of the lazy destroy patches 2022-11-28 13:34:47 -05:00
Makefile KVM: s390: pci: add basic kvm_zdev structure 2022-07-11 09:54:27 +02:00
pci.c Merge branches 'arm/allwinner', 'arm/exynos', 'arm/mediatek', 'arm/rockchip', 'arm/smmu', 'ppc/pamu', 's390', 'x86/vt-d', 'x86/amd' and 'core' into next 2022-12-12 12:50:53 +01:00
pci.h KVM: s390: pci: fix plain integer as NULL pointer warnings 2022-09-21 16:18:30 +02:00
priv.c KVM: s390: sida: sort out physical vs virtual pointers usage 2022-10-26 14:27:41 +02:00
pv.c KVM: s390: pv: support for Destroy fast UVC 2022-11-23 09:06:50 +00:00
sigp.c KVM: s390: pv: don't present the ecall interrupt twice 2022-07-19 15:48:14 +02:00
trace-s390.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vsie.c ARM64: 2022-12-15 11:12:21 -08:00