History

KVM: s390: Support for I/O interrupts.

Add support for handling I/O interrupts (standard, subchannel-related ones and rudimentary adapter interrupts). The subchannel-identifying parameters are encoded into the interrupt type. I/O interrupts are floating, so they can't be injected on a specific vcpu.

Cornelia Huck committed 13 years ago

Commit d8346b71 parent b1c571a4 files · +116 −2Browse files

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

Unified · Split

include/uapi/linux/kvm.h+9−0
@@ -401,6 +401,15 @@ struct kvm_s390_psw { · 400 unmodified lines
401401 #define KVM_S390_INT_SERVICE 0xffff2401u
402402 #define KVM_S390_INT_EMERGENCY 0xffff1201u
403403 #define KVM_S390_INT_EXTERNAL_CALL 0xffff1202u
404+/* Anything below 0xfffe0000u is taken by INT_IO */
405+#define KVM_S390_INT_IO(ai,cssid,ssid,schid) \
406+ (((schid)) | \
407+ ((ssid) << 16) | \
408+ ((cssid) << 18) | \
409+ ((ai) << 26))
410+#define KVM_S390_INT_IO_MIN 0x00000000u
411+#define KVM_S390_INT_IO_MAX 0xfffdffffu
412+
404413
405414 struct kvm_s390_interrupt {
406415 __u32 type;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t