linux/arch/s390/kvm
Wei Wang 63912245c1 KVM: move KVM_CAP_DEVICE_CTRL to the generic check
KVM_CAP_DEVICE_CTRL allows userspace to check if the kvm_device
framework (e.g. KVM_CREATE_DEVICE) is supported by KVM. Move
KVM_CAP_DEVICE_CTRL to the generic check for the two reasons:
1) it already supports arch agnostic usages (i.e. KVM_DEV_TYPE_VFIO).
For example, userspace VFIO implementation may needs to create
KVM_DEV_TYPE_VFIO on x86, riscv, or arm etc. It is simpler to have it
checked at the generic code than at each arch's code.
2) KVM_CREATE_DEVICE has been added to the generic code.

Link: https://lore.kernel.org/all/20221215115207.14784-1-wei.w.wang@intel.com
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Acked-by: Anup Patel <anup@brainfault.org> (riscv)
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Link: https://lore.kernel.org/r/20230315101606.10636-1-wei.w.wang@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2023-11-30 13:09:43 -08:00
..
diag.c KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler 2023-06-16 11:08:09 +02:00
gaccess.c s390 updates for the 6.7 merge window 2023-11-03 10:17:22 -10:00
gaccess.h KVM: s390: Extend MEM_OP ioctl by storage key checked cmpxchg 2023-02-07 18:06:00 +01:00
guestdbg.c KVM: s390: Add memcg accounting to KVM allocations 2020-12-10 13:36:05 +01:00
intercept.c - PV crypto passthrough enablement (Tony, Steffen, Viktor, Janosch) 2023-08-31 13:21:27 -04:00
interrupt.c KVM: s390: fix gisa destroy operation might lead to cpu stalls 2023-09-25 08:31:47 +02:00
Kconfig kvm: Remove "select SRCU" 2023-04-05 13:47:42 +00:00
kvm-s390.c KVM: move KVM_CAP_DEVICE_CTRL to the generic check 2023-11-30 13:09:43 -08:00
kvm-s390.h KVM: s390: export kvm_s390_pv*_is_protected functions 2023-08-18 15:24:35 +02:00
Makefile KVM: s390: pci: add basic kvm_zdev structure 2022-07-11 09:54:27 +02:00
pci.c s390: fix various typos 2023-07-03 11:19:42 +02:00
pci.h KVM: s390: Mark __kvm_s390_init() and its descendants as __init 2022-12-29 15:41:22 -05:00
priv.c s390: use control register bit defines 2023-09-19 13:26:57 +02:00
pv.c - PV crypto passthrough enablement (Tony, Steffen, Viktor, Janosch) 2023-08-31 13:21:27 -04:00
sigp.c s390: fix various typos 2023-07-03 11:19:42 +02:00
trace-s390.h KVM: s390: add tracepoint in gmap notifier 2023-10-16 14:54:29 +02:00
trace.h
vsie.c KVM: s390: add stat counter for shadow gmap events 2023-10-16 14:54:29 +02:00