WSL2-Linux-Kernel/arch/s390/kvm
Pierre Morel ca922fecda KVM: s390: pci: Hook to access KVM lowlevel from VFIO
We have a cross dependency between KVM and VFIO when using
s390 vfio_pci_zdev extensions for PCI passthrough
To be able to keep both subsystem modular we add a registering
hook inside the S390 core code.

This fixes a build problem when VFIO is built-in and KVM is built
as a module.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Fixes: 09340b2fca ("KVM: s390: pci: add routines to start/stop interpretive execution")
Cc: <stable@vger.kernel.org>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20220819122945.9309-1-pmorel@linux.ibm.com
Message-Id: <20220819122945.9309-1-pmorel@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
2022-08-29 13:29:28 +02:00
..
Kconfig KVM: s390: pv: add mmu_notifier 2022-07-19 12:05:57 +00:00
Makefile
diag.c
gaccess.c KVM: s390: Cleanup ipte lock access and SIIF facility checks 2022-07-20 10:57:36 +02:00
gaccess.h KVM: s390: Cleanup ipte lock access and SIIF facility checks 2022-07-20 10:57:36 +02:00
guestdbg.c
intercept.c KVM: s390: pv: don't present the ecall interrupt twice 2022-07-19 15:48:14 +02:00
interrupt.c KVM: s390: drop unexpected word 'and' in the comments 2022-07-11 11:29:51 +02:00
irq.h
kvm-s390.c KVM: s390: resetting the Topology-Change-Report 2022-07-20 10:57:37 +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
pci.c KVM: s390: pci: Hook to access KVM lowlevel from VFIO 2022-08-29 13:29:28 +02:00
pci.h KVM: s390/pci: fix include duplicates 2022-07-13 10:10:02 +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
trace.h
vsie.c KVM: s390: guest support for topology function 2022-07-20 10:57:36 +02:00