History

KVM: s390: forward most SIGP orders to user space

Most SIGP orders are handled partially in kernel and partially in user space. In order to: - Get a correct SIGP SET PREFIX handler that informs user space - Avoid race conditions between concurrently executed SIGP orders - Serialize SIGP orders per VCPU We need to handle all "slow" SIGP orders in user space. The remaining ones to be handled completely in kernel are: - SENSE - SENSE RUNNING - EXTERNAL CALL - EMERGENCY SIGNAL - CONDITIONAL EMERGENCY SIGNAL According to the PoP, they have to be fast. They can be executed without conflicting to the actions of other pending/concurrently executing orders (e.g. STOP vs. START). This patch introduces a new capability that will - when enabled - forward all but the mentioned SIGP orders to user space. The instruction counters in the kernel are still updated.

David Hildenbrand committed 12 years ago

Commit 2444b351 parent 9fbd8085 files · +76 −0Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -759,6 +759,7 @@ struct kvm_ppc_smmu_info { · 758 unmodified lines
759759 #define KVM_CAP_PPC_FIXUP_HCALL 103
760760 #define KVM_CAP_PPC_ENABLE_HCALL 104
761761 #define KVM_CAP_CHECK_EXTENSION_VM 105
762+#define KVM_CAP_S390_USER_SIGP 106
762763
763764 #ifdef KVM_CAP_IRQ_ROUTING
764765