android_kernel_xiaomi_sm8450/arch/s390/kvm
Janis Schoetterl-Glausch 6e1659b674 KVM: s390: gaccess: Cleanup access to guest pages
[ Upstream commit bad13799e0305deb258372b7298a86be4c78aaba ]

Introduce a helper function for guest frame access.

Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20211126164549.7046-4-scgl@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Stable-dep-of: e8061f06185b ("KVM: s390: gaccess: Check if guest address is in memslot")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 16:21:58 +01:00
..
diag.c KVM: s390: Change virtual to physical address access in diag 0x258 handler 2024-10-22 15:39:25 +02:00
gaccess.c KVM: s390: gaccess: Cleanup access to guest pages 2024-11-08 16:21:58 +01:00
gaccess.h KVM: s390: extend kvm_s390_shadow_fault to return entry pointer 2021-05-14 09:50:03 +02:00
guestdbg.c KVM: s390: introduce defines for control registers 2018-05-17 09:02:27 +02:00
intercept.c KVM: s390: fix sthyi error handling 2023-08-11 11:57:47 +02:00
interrupt.c KVM: s390: interrupt: use READ_ONCE() before cmpxchg() 2023-02-01 08:23:17 +01:00
irq.h KVM: s390: Remove redundant license text 2017-12-06 09:18:42 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
kvm-s390.c KVM: s390: fix setting of fpc register 2024-02-23 08:42:05 +01:00
kvm-s390.h KVM: s390: pv: don't allow userspace to set the clock under PV 2022-11-16 09:57:10 +01:00
Makefile KVM: s390: protvirt: Add initial vm and cpu lifecycle handling 2020-02-27 19:47:11 +01:00
priv.c KVM: s390x: fix SCK locking 2022-11-16 09:57:10 +01:00
pv.c KVM: s390: pv: leak the topmost page table when destroy fails 2022-08-21 15:15:58 +02:00
sigp.c KVM: s390: pv: don't present the ecall interrupt twice 2022-08-21 15:15:20 +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 KVM: s390: vsie: fix the length of APCB bitmap 2023-07-27 08:44:07 +02:00