mirror-linux/arch/s390/kvm
Claudio Imbrenda 5f9df945d4 KVM: s390: Fix FOLL_*/FAULT_FLAG_* confusion
Pass the right type of flag to vcpu_dat_fault_handler(); it expects a
FOLL_* flag (in particular FOLL_WRITE), but FAULT_FLAG_WRITE is passed
instead.

This still works because they happen to have the same integer value,
but it's a mistake, thus the fix.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Fixes: 05066cafa9 ("s390/mm/fault: Handle guest-related program interrupts in KVM")
Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
2025-09-09 08:17:39 +00:00
..
Kconfig treewide: remove CONFIG_HAVE_KVM 2024-02-08 08:45:36 -05:00
Makefile KVM: s390: Simplify and move pv code 2025-05-28 17:48:04 +02:00
diag.c KVM: s390: Refactor and split some gmap helpers 2025-05-28 17:48:04 +02:00
gaccess.c KVM: s390: rename PROT_NONE to PROT_TYPE_DUMMY 2025-06-05 22:02:22 -07:00
gaccess.h KVM: s390: gaccess: Check if guest address is in memslot 2024-10-10 15:31:55 +02:00
gmap-vsie.c KVM: s390: Simplify and move pv code 2025-05-28 17:48:04 +02:00
guestdbg.c KVM: s390: Harden copying of userspace-array against overflow 2023-12-01 08:00:42 -08:00
intercept.c KVM: s390: Simplify and move pv code 2025-05-28 17:48:04 +02:00
interrupt.c KVM: s390: Fix access to unavailable adapter indicator pages during postcopy 2025-09-09 08:17:09 +00:00
kvm-s390.c KVM: s390: Fix FOLL_*/FAULT_FLAG_* confusion 2025-09-09 08:17:39 +00:00
kvm-s390.h KVM: s390: Simplify and move pv code 2025-05-28 17:48:04 +02:00
pci.c iommu/s390: handle IOAT registration based on domain 2025-02-21 12:01:58 +01:00
pci.h KVM: s390: Mark __kvm_s390_init() and its descendants as __init 2022-12-29 15:41:22 -05:00
priv.c KVM: s390: Remove unneeded srcu lock 2025-05-28 17:48:04 +02:00
pv.c KVM: s390: Fix incorrect usage of mmu_notifier_register() 2025-09-09 08:17:29 +00:00
sigp.c KVM: s390: Refactor kvm_is_error_gpa() into kvm_is_gpa_in_memslot() 2024-02-20 07:37:45 -08:00
trace-s390.h KVM: s390: Don't use %pK through tracepoints 2025-03-17 08:55:46 +00:00
trace.h
vsie.c KVM: s390: Rework guest entry logic 2025-07-21 13:01:03 +00:00