linux-stable/arch/s390/kvm
Matthew Rosato 189e7d876e KVM: s390: pci: register pci hooks without interpretation
The kvm registration hooks must be registered even if the facilities
necessary for zPCI interpretation are unavailable, as vfio-pci-zdev will
expect to use the hooks regardless.
This fixes an issue where vfio-pci-zdev will fail its open function
because of a missing kvm_register when running on hardware that does not
support zPCI interpretation.

Fixes: ca922fecda ("KVM: s390: pci: Hook to access KVM lowlevel from VFIO")
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Link: https://lore.kernel.org/r/20220920193025.135655-1-mjrosato@linux.ibm.com
Message-Id: <20220920193025.135655-1-mjrosato@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
2022-09-21 16:18:38 +02: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: pv: don't present the ecall interrupt twice 2022-07-19 15:48:14 +02:00
interrupt.c KVM: s390: pci: fix GAIT physical vs virtual pointers usage 2022-09-21 16:18:38 +02:00
irq.h KVM: s390: Remove redundant license text 2017-12-06 09:18:42 +01:00
Kconfig KVM: s390: pv: add mmu_notifier 2022-07-19 12:05:57 +00:00
kvm-s390.c KVM: s390: pci: register pci hooks without interpretation 2022-09-21 16:18:38 +02:00
kvm-s390.h KVM: s390: pv: Add kvm_s390_cpus_from_pv to kvm-s390.h and add documentation 2022-07-13 14:42:11 +00:00
Makefile KVM: s390: pci: add basic kvm_zdev structure 2022-07-11 09:54:27 +02:00
pci.c KVM: s390: pci: register pci hooks without interpretation 2022-09-21 16:18:38 +02: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: guest support for topology function 2022-07-20 10:57:36 +02:00
pv.c KVM: s390: pv: destroy the configuration before its memory 2022-07-19 12:06:56 +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 KVM: s390: guest support for topology function 2022-07-20 10:57:36 +02:00